From 89fe3f30a71dee3b5effbcbc3b142c86ab129fe2 Mon Sep 17 00:00:00 2001 From: Tim Rice Date: Sun, 19 Jan 2003 20:20:24 -0800 Subject: [configure.ac] Add -belf to build ELF binaries on OpenServer 5 when using cc. (gcc already did) --- ChangeLog | 4 +++- configure.ac | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 23230b5d..85fb7c17 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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" -- cgit v1.2.3