[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 09/12] Run versioning checks on aix with 'aix-soname'.
From: |
Michael Haubenwallner |
Subject: |
[PATCH 09/12] Run versioning checks on aix with 'aix-soname'. |
Date: |
Tue, 2 Oct 2012 17:34:50 +0200 |
* tests/versioning.at: On AIX, when shared_archive_member_spec is
defined, we can run the versioning check.
---
tests/versioning.at | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/tests/versioning.at b/tests/versioning.at
index b66c816..226b329 100644
--- a/tests/versioning.at
+++ b/tests/versioning.at
@@ -24,7 +24,7 @@
AT_SETUP([versioning])
AT_KEYWORDS([libtool])
-eval "`$LIBTOOL --config | $EGREP '^(objdir|host_os)='`"
+eval "`$LIBTOOL --config | $EGREP
'^(objdir|host_os|shared_archive_member_spec)='`"
# Setup some library and program sources:
# a library (a1), a new revision (a2), a compatible update (a3),
@@ -228,9 +228,10 @@ AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o
liba.la liba4.lo ]dnl
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])
+# This test does work on AIX when the 'aix-soname' feature is enabled only,
+# which is reflected in shared_archive_member_spec set. Otherways, even with
+# runtimelinking, the linker always records the unversioned name as dependency.
+AT_CHECK([:; case $shared_archive_member_spec:$host_os in :aix*) exit 77;;
esac])
test_installed
--
1.7.3.4
- [PATCH 04/12] Specify shared member in soname_spec on AIX., (continued)
- [PATCH 04/12] Specify shared member in soname_spec on AIX., Michael Haubenwallner, 2012/10/02
- [PATCH 11/12] No cross-library undefined symbols test on AIX., Michael Haubenwallner, 2012/10/02
- [PATCH 06/12] Drop useless symlinks with AIX runtime linking., Michael Haubenwallner, 2012/10/02
- [PATCH 08/12] Implement enable/disable aix-soname options., Michael Haubenwallner, 2012/10/02
- [PATCH 05/12] AIX runtime linking allows undef syms by default., Michael Haubenwallner, 2012/10/02
- [PATCH 03/12] Do not remove shared archive member in mode clean., Michael Haubenwallner, 2012/10/02
- [PATCH 07/12] Declare enable/disable aix-soname options., Michael Haubenwallner, 2012/10/02
- [PATCH 10/12] Detect XFAIL based on hardcode configuration., Michael Haubenwallner, 2012/10/02
- [PATCH 02/12] Prepare -dlopen option for shared archive members., Michael Haubenwallner, 2012/10/02
- [PATCH 12/12] Set aix-soname=yes as default., Michael Haubenwallner, 2012/10/02
- [PATCH 09/12] Run versioning checks on aix with 'aix-soname'.,
Michael Haubenwallner <=
- Re: [PATCH 00/12] Improve AIX support: libltdl, filename-based versioning., Michael Haubenwallner, 2012/10/17