2010-08-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+ 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
# 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
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],
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],