diff options
author | Tim Rice <tim@multitalents.net> | 2003-01-19 20:20:24 -0800 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2003-01-19 20:20:24 -0800 |
commit | 89fe3f30a71dee3b5effbcbc3b142c86ab129fe2 (patch) | |
tree | 21cb32e149b3c30d077f5ebf8fb291e74dea61f0 | |
parent | 4ea542b41a5d677c3c91b883c935c1930a5bede4 (diff) |
[configure.ac] Add -belf to build ELF binaries on OpenServer 5 when
using cc. (gcc already did)
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | configure.ac | 5 |
2 files changed, 7 insertions, 2 deletions
@@ -1,6 +1,8 @@ 20030120 - (djm) Fix compilation for NetBSD from dtucker@zip.com.au - (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 - (djm) Revert fix for Bug #442 for now. @@ -1038,4 +1040,4 @@ save auth method before monitor_reset_key_state(); bugzilla bug #284; 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 $ diff --git a/configure.ac b/configure.ac index df416809..b85f1884 100644 --- a/configure.ac +++ b/configure.ac @@ -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_CONFIG_SRCDIR([ssh.c]) @@ -283,6 +283,9 @@ mips-sony-bsd|mips-sony-newsos4) do_sco3_extra_lib_check=yes ;; *-*-sco3.2v5*) + if test -z "$GCC"; then + CFLAGS="$CFLAGS -belf" + fi CPPFLAGS="$CPPFLAGS -I/usr/local/include" LDFLAGS="$LDFLAGS -L/usr/local/lib" LIBS="$LIBS -lprot -lx -ltinfo -lm" |