[configure.ac] Add -belf to build ELF binaries on OpenServer 5 when

using cc. (gcc already did)
This commit is contained in:
Tim Rice 2003-01-19 20:20:24 -08:00
parent 4ea542b41a
commit 89fe3f30a7
2 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,8 @@
20030120 20030120
- (djm) Fix compilation for NetBSD from dtucker@zip.com.au - (djm) Fix compilation for NetBSD from dtucker@zip.com.au
- (tim) [progressmeter.c] make compilers without long long happy. - (tim) [progressmeter.c] make compilers without long long happy.
- (tim) [configure.ac] Add -belf to build ELF binaries on OpenServer 5 when
using cc. (gcc already did)
20030118 20030118
- (djm) Revert fix for Bug #442 for now. - (djm) Revert fix for Bug #442 for now.
@ -1038,4 +1040,4 @@
save auth method before monitor_reset_key_state(); bugzilla bug #284; save auth method before monitor_reset_key_state(); bugzilla bug #284;
ok provos@ ok provos@
$Id: ChangeLog,v 1.2577 2003/01/20 04:15:13 tim Exp $ $Id: ChangeLog,v 1.2578 2003/01/20 04:20:24 tim Exp $

View File

@ -1,4 +1,4 @@
# $Id: configure.ac,v 1.101 2003/01/16 23:31:38 djm Exp $ # $Id: configure.ac,v 1.102 2003/01/20 04:20:25 tim Exp $
AC_INIT AC_INIT
AC_CONFIG_SRCDIR([ssh.c]) AC_CONFIG_SRCDIR([ssh.c])
@ -283,6 +283,9 @@ mips-sony-bsd|mips-sony-newsos4)
do_sco3_extra_lib_check=yes do_sco3_extra_lib_check=yes
;; ;;
*-*-sco3.2v5*) *-*-sco3.2v5*)
if test -z "$GCC"; then
CFLAGS="$CFLAGS -belf"
fi
CPPFLAGS="$CPPFLAGS -I/usr/local/include" CPPFLAGS="$CPPFLAGS -I/usr/local/include"
LDFLAGS="$LDFLAGS -L/usr/local/lib" LDFLAGS="$LDFLAGS -L/usr/local/lib"
LIBS="$LIBS -lprot -lx -ltinfo -lm" LIBS="$LIBS -lprot -lx -ltinfo -lm"