libtool-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Libtool branch, master, updated. v2.2.10-72-g2fc264a


From: Ralf Wildenhues
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-72-g2fc264a
Date: Fri, 06 Aug 2010 20:05:23 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  2fc264a8e2f7224627bb7c191a38a2dc9e7b5bcb (commit)
      from  3e68aa1ac68c0b1154aa1977b13e40fd6fc8e9e9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2fc264a8e2f7224627bb7c191a38a2dc9e7b5bcb
Author: Ralf Wildenhues <address@hidden>
Date:   Fri Aug 6 22:03:19 2010 +0200

    Fix AC_NO_EXECUTABLES test failure on AIX.
    
    * libltdl/m4/libtool.m4 (_LT_SYS_MODULE_PATH_AIX): Wrap link
    test in AC_CACHE_VAL, using cache variable $lt_cv_aix_libpath.
    * tests/no-executables.at (AC_NO_EXECUTABLES): Preset it, to
    avoid link test.
    Bug report by Rainer Tammer.
    
    Signed-off-by: Ralf Wildenhues <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog               |    7 +++++++
 libltdl/m4/libtool.m4   |   13 ++++++++-----
 tests/no-executables.at |    4 ++--
 3 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d2634e9..27e8a3d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2010-08-06  Ralf Wildenhues  <address@hidden>
 
+       Fix AC_NO_EXECUTABLES test failure on AIX.
+       * libltdl/m4/libtool.m4 (_LT_SYS_MODULE_PATH_AIX): Wrap link
+       test in AC_CACHE_VAL, using cache variable $lt_cv_aix_libpath.
+       * tests/no-executables.at (AC_NO_EXECUTABLES): Preset it, to
+       avoid link test.
+       Bug report by Rainer Tammer.
+
        Fix ltdl-libdir test for C++ compilers.
        * tests/ltdl-libdir.at (libdir of installed modules): Declare
        module function as extern "C".
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index f61be28..d8d6aeb 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -1081,7 +1081,8 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES],
 # to the aix ld manual.
 m4_defun([_LT_SYS_MODULE_PATH_AIX],
 [m4_require([_LT_DECL_SED])dnl
-AC_LINK_IFELSE(AC_LANG_PROGRAM,[
+AC_CACHE_VAL([lt_cv_aix_libpath],
+[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
 lt_aix_libpath_sed='
     /Import File Strings/,/^$/ {
        /^0/ {
@@ -1089,12 +1090,14 @@ lt_aix_libpath_sed='
            p
        }
     }'
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e 
"$lt_aix_libpath_sed"`
+lt_cv_aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e 
"$lt_aix_libpath_sed"`
 # Check for a 64-bit object if we didn't find anything.
-if test -z "$aix_libpath"; then
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e 
"$lt_aix_libpath_sed"`
+if test -z "$lt_cv_aix_libpath"; then
+  lt_cv_aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e 
"$lt_aix_libpath_sed"`
 fi],[])
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+if test -z "$lt_cv_aix_libpath"; then lt_cv_aix_libpath="/usr/lib:/lib"; fi
+])
+aix_libpath=$lt_cv_aix_libpath
 ])# _LT_SYS_MODULE_PATH_AIX
 
 
diff --git a/tests/no-executables.at b/tests/no-executables.at
index e9e229a..75b92ef 100644
--- a/tests/no-executables.at
+++ b/tests/no-executables.at
@@ -1,7 +1,6 @@
 # no-executables.at -- Libtool usage in GCC        -*- Autotest -*-
 
-#   Copyright (C) 2008 Free Software Foundation, Inc.
-#   Written by Ralf Wildenhues, 2008
+#   Copyright (C) 2008, 2010 Free Software Foundation, Inc.
 #
 #   This file is part of GNU Libtool.
 #
@@ -52,6 +51,7 @@ lt_cv_archive_cmds_need_lc=no
 lt_cv_cc_needs_belf=no
 lt_cv_ld_exported_symbols_list=no
 lt_cv_prog_compiler_static_works=no
+lt_cv_aix_libpath="/usr/lib:/lib"
 
 # Deal with AC_LIBTOOL_DLOPEN in one of two possible ways:
 # - do not execute it at all in the ac_no_link case


hooks/post-receive
-- 
GNU Libtool



reply via email to

[Prev in Thread] Current Thread [Next in Thread]