From: Peter Rosin Date: Tue, 31 Aug 2010 17:04:22 +0000 (+0200) Subject: Dump archiver output to the log when testing @file support. X-Git-Tag: v2.4~60 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=185a2f71d0d1b1727fcc45c3840a5d4f7ebfa7ef;p=thirdparty%2Flibtool.git 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. Signed-off-by: Peter Rosin --- diff --git a/ChangeLog b/ChangeLog index 1ee96b1b9..355b4854a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2010-08-31 Peter Rosin + 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. diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 530c971e7..666130d79 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -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.