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.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
This commit is contained in:
Peter Rosin 2010-08-31 12:40:01 +02:00
parent d226dc44a3
commit 34f87a6b07
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2010-08-31 Peter Rosin <peda@lysator.liu.se>
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.
2010-08-31 Gary V. Vaughan <gary@gnu.org>
Remove double `Generated from foo.m4sh' lines.

View 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'
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >/dev/null 2>&1'
AC_TRY_EVAL([lt_ar_try])
if test "$ac_status" -eq 0; then
# Ensure the archiver fails upon bogus file names.