From ef97372e627d9b54d0f448354b5e395c35a34b2f Mon Sep 17 00:00:00 2001 From: "pkw%us.ibm.com" Date: Thu, 4 Mar 2004 22:48:25 +0000 Subject: [PATCH] Bug 232226 - AIX shared library build configuration should use -G. r=bryner@brianryner.com --- configure.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 6286939a6c8..a0f9f1fb65e 100644 --- a/configure.in +++ b/configure.in @@ -881,7 +881,7 @@ case "$target" in *-aix*) AC_DEFINE(AIX) if test ! "$GNU_CC"; then - DSO_LDOPTS='-qmkshrobj=1 -G -bnoentry' + DSO_LDOPTS='-qmkshrobj=1' DSO_CFLAGS='-qflag=w:w' DSO_PIC_CFLAGS= LDFLAGS="$LDFLAGS -Wl,-brtl -blibpath:/usr/lib:/lib" @@ -902,6 +902,8 @@ case "$target" in AC_MSG_RESULT([yes]) fi AC_LANG_RESTORE + CC_VERSION=`lslpp -Lcq vac.C 2>/dev/null | awk -F: '{ print $3 }'` + CXX_VERSION=`lslpp -Lcq vacpp.cmp.core 2>/dev/null | awk -F: '{ print $3 }'` fi case "${target_os}" in aix4.1*)