2010-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+ Skip part of versioning test on AIX.
+ * tests/versioning.at (versioning): The AIX linker always
+ records the unversioned library name, even with runtimelinking,
+ so skip the execution test for the incompatibly upgraded
+ library.
+ Report by Rainer Tammer.
+
Remove dead code from versioning test.
* tests/versioning.at (versioning): No need to build unused
prog3.
AT_SETUP([versioning])
AT_KEYWORDS([libtool])
-eval "`$LIBTOOL --config | $EGREP '^(objdir)='`"
+eval "`$LIBTOOL --config | $EGREP '^(objdir|host_os)='`"
# Setup some library and program sources:
# a library (a1), a new revision (a2), a compatible update (a3),
# available, so test_uninstalled will not necessarily work here any more.
AT_CHECK([$LIBTOOL --mode=install cp liba.la $libdir], [], [ignore], [ignore])
AT_CHECK([$LIBTOOL --mode=clean rm -f liba.la], [], [ignore], [ignore])
+
+# This test does not work on AIX, not even with runtimelinking, because
+# the linker always records the unversioned name as dependency.
+AT_CHECK([:; case $host_os in aix*) exit 77;; esac])
+
test_installed