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-123-g7f9878d


From: Ralf Wildenhues
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-123-g7f9878d
Date: Sat, 28 Aug 2010 10:23:56 +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  7f9878d026d0c251d57b3b8e0bf5891691ac3f96 (commit)
      from  2680f79c22e6bb1f8b9c7b5428da728b7e028b0c (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 7f9878d026d0c251d57b3b8e0bf5891691ac3f96
Author: Ralf Wildenhues <address@hidden>
Date:   Sat Aug 28 12:22:36 2010 +0200

    Fix response file test for unreliable exit status of IRIX ar.
    
    * libltdl/m4/libtool.m4 (_LT_PROG_AR): IRIX ar will not fail
    over a command-line argument specifying a nonexistent file (such
    as address@hidden'), so ensure failure with a reponse file containing
    a nonexistent file.  Also, use lt_* variable prefix for
    temporary variables.
    
    Signed-off-by: Ralf Wildenhues <address@hidden>

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

Summary of changes:
 ChangeLog             |    7 +++++++
 libltdl/m4/libtool.m4 |   11 ++++++++---
 2 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8e07775..4b77602 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2010-08-28  Ralf Wildenhues  <address@hidden>
 
+       Fix response file test for unreliable exit status of IRIX ar.
+       * libltdl/m4/libtool.m4 (_LT_PROG_AR): IRIX ar will not fail
+       over a command-line argument specifying a nonexistent file (such
+       as address@hidden'), so ensure failure with a reponse file containing
+       a nonexistent file.  Also, use lt_* variable prefix for
+       temporary variables.
+
        Fix AC_LANG_PROGRAM warnings from git Autoconf.
        * libltdl/m4/libtool.m4 (_LT_SYS_MODULE_PATH_AIX): Fix
        underquoted AC_LANG_PROGRAM call.
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index efb20de..305e2d8 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -1359,10 +1359,15 @@ AC_CACHE_CHECK([for archiver @FILE support], 
[lt_cv_ar_at_file],
   [lt_cv_ar_at_file=no
    AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
      [echo conftest.$ac_objext > conftest.lst
-      am_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst'
-      AC_TRY_EVAL([am_ar_try])
+      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst'
+      AC_TRY_EVAL([lt_ar_try])
       if test "$ac_status" -eq 0; then
-        lt_cv_ar_at_file=@
+       # Ensure the archiver fails upon bogus file names.
+       rm -f conftest.$ac_objext libconftest.a
+       AC_TRY_EVAL([lt_ar_try])
+       if test "$ac_status" -ne 0; then
+          lt_cv_ar_at_file=@
+        fi
       fi
       rm -f conftest.* libconftest.a
      ])


hooks/post-receive
-- 
GNU Libtool



reply via email to

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