From: Ralf Wildenhues Date: Sat, 7 Aug 2010 17:16:23 +0000 (+0200) Subject: Fix compilation of program sources on AIX. X-Git-Tag: v2.4~93 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=4246f026cb93c6f86271fbe717c27b443b07b389;p=thirdparty%2Flibtool.git Fix compilation of program sources on AIX. * tests/lt_dlopenext.at (lt_dlopenext error messages): Do not use $LIBTOOL when compiling plain object, AIX by default does not enable static archives. * tests/ltdl-libdir.at (libdir of installed modules): Likewise. Report by Rainer Tammer. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 0eecbab22..eb077af01 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2010-08-07 Ralf Wildenhues + Fix compilation of program sources on AIX. + * tests/lt_dlopenext.at (lt_dlopenext error messages): Do not + use $LIBTOOL when compiling plain object, AIX by default does + not enable static archives. + * tests/ltdl-libdir.at (libdir of installed modules): Likewise. + Report by Rainer Tammer. + Do not call toplevel configure in non-VPATH build. * tests/deplibs-mingw.at (deplibs without file command): Use LT_AT_CONFIGURE for consistency, update comment about why it diff --git a/tests/lt_dlopenext.at b/tests/lt_dlopenext.at index 26a2b241a..66311247c 100644 --- a/tests/lt_dlopenext.at +++ b/tests/lt_dlopenext.at @@ -1,6 +1,6 @@ # lt_dlopenext.at -- test libltdl functionality -*- Autotest -*- # -# Copyright (C) 2009 Free Software Foundation, Inc. +# Copyright (C) 2009, 2010 Free Software Foundation, Inc. # This file is part of GNU Libtool. # # GNU Libtool is free software; you can redistribute it and/or @@ -197,7 +197,7 @@ AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c simple-module.c], AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o simple-module.la ]dnl [simple-module.lo -rpath $libdir -module -avoid-version], [], [ignore], [ignore]) -AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c ltdl-loader.c], +AT_CHECK([$CC $CPPFLAGS $CFLAGS -c ltdl-loader.c], [], [ignore], [ignore]) AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o ltdl-loader$EXEEXT ]dnl [ltdl-loader.$OBJEXT -dlopen self $LIBLTDL], diff --git a/tests/ltdl-libdir.at b/tests/ltdl-libdir.at index f5dc33ce4..7065c5bcd 100644 --- a/tests/ltdl-libdir.at +++ b/tests/ltdl-libdir.at @@ -101,7 +101,7 @@ AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c a.c], AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o a.la ]dnl [a.lo -rpath $libdir -module -shared -avoid-version], [], [ignore], [ignore]) -AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c m.c], +AT_CHECK([$CC $CPPFLAGS $CFLAGS -c m.c], [], [ignore], [ignore]) AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m$EXEEXT ]dnl [m.$OBJEXT $LIBLTDL],