mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
Redirect output of $AR check to /dev/null
./configure logs this on Mac OS: checking whether ar supports D option... /Library/Developer/CommandLineTools/usr/bin/ar: illegal option -- D usage: ar -d [-TLsv] archive file ... ar -m [-TLsv] archive file ... ar -m [-abiTLsv] position archive file ... ar -p [-TLsv] archive [file ...] ar -q [-cTLsv] archive file ... ar -r [-cuTLsv] archive file ... ar -r [-abciuTLsv] position archive file ... ar -t [-TLsv] archive [file ...] ar -x [-ouTLsv] archive [file ...] no This is quite noisy and we're only interested in the result of the check, not the output. Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
This commit is contained in:
parent
a64c953a90
commit
23e6726e0b
|
@ -346,7 +346,7 @@ AM_CONDITIONAL([STATIC_BIN], [test "x$enable_static_bin" = "xyes"])
|
||||||
|
|
||||||
dnl $AR and $RANLIB are set by LT_INIT above
|
dnl $AR and $RANLIB are set by LT_INIT above
|
||||||
AC_MSG_CHECKING([whether $AR supports D option])
|
AC_MSG_CHECKING([whether $AR supports D option])
|
||||||
if $AR crD conftest.a; then
|
if $AR crD conftest.a >/dev/null 2>/dev/null; then
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
dnl ARFLAGS is for automake, AR_FLAGS for libtool m-(
|
dnl ARFLAGS is for automake, AR_FLAGS for libtool m-(
|
||||||
ARFLAGS="crD"
|
ARFLAGS="crD"
|
||||||
|
|
Loading…
Reference in a new issue