]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Dump archiver output to the log when testing @file support.
authorPeter Rosin <peda@lysator.liu.se>
Tue, 31 Aug 2010 17:04:22 +0000 (19:04 +0200)
committerPeter Rosin <peda@lysator.liu.se>
Tue, 31 Aug 2010 17:04:22 +0000 (19:04 +0200)
* libltdl/m4/libtool.m4 (_LT_PROG_AR): Redirect stdout to config.log
when testing for @file support.
Suggested by Ralf Wildenhues.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
ChangeLog
libltdl/m4/libtool.m4

index 1ee96b1b9d3928ea5a2bd40ef60e7197e0594e79..355b4854a10c44609bf371c62f90522fb0e8ecc3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2010-08-31  Peter Rosin  <peda@lysator.liu.se>
 
+       Dump archiver output to the log when testing @file support.
+       * libltdl/m4/libtool.m4 (_LT_PROG_AR): Redirect stdout to config.log
+       when testing for @file support.
+       Suggested by Ralf Wildenhues.
+
        Silence archiver output when testing @file support.
        * libltdl/m4/libtool.m4 (_LT_PROG_AR): Redirect stdout and stderr
        to the bit bucket when testing for @file support.
index 530c971e7a91c45f9286b3d1f11449d6cb6c041f..666130d79ed02a38222a086ed8e4711fbf084a3c 100644 (file)
@@ -1360,7 +1360,7 @@ 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
-      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >/dev/null 2>&1'
+      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
       AC_TRY_EVAL([lt_ar_try])
       if test "$ac_status" -eq 0; then
        # Ensure the archiver fails upon bogus file names.