From: W.C.A. Wijngaards Date: Wed, 24 Mar 2021 09:15:24 +0000 (+0100) Subject: Travis, deprecation test also checks if item unavailable. X-Git-Tag: release-1.13.2rc1~218 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5644036ffd5c5ed57523113f349609cabfa9f72b;p=thirdparty%2Funbound.git Travis, deprecation test also checks if item unavailable. --- diff --git a/acx_nlnetlabs.m4 b/acx_nlnetlabs.m4 index 64b376238..064202c69 100644 --- a/acx_nlnetlabs.m4 +++ b/acx_nlnetlabs.m4 @@ -892,7 +892,7 @@ echo "deprecation test for $1 results in" echo "`$CC $CPPFLAGS $CFLAGS -c conftest.c 2>&1 `" echo "and from the commandline" $CC $CPPFLAGS $CFLAGS -c conftest.c -if test -z "`$CC $CPPFLAGS $CFLAGS -c conftest.c 2>&1 | grep deprecated`"; then +if test -z "`$CC $CPPFLAGS $CFLAGS -c conftest.c 2>&1 | grep -e deprecated -e unavailable`"; then eval "cv_cc_deprecated_$cache=no" else eval "cv_cc_deprecated_$cache=yes" diff --git a/configure b/configure index d991794f2..0b318575b 100755 --- a/configure +++ b/configure @@ -20155,7 +20155,7 @@ echo "deprecation test for daemon results in" echo "`$CC $CPPFLAGS $CFLAGS -c conftest.c 2>&1 `" echo "and from the commandline" $CC $CPPFLAGS $CFLAGS -c conftest.c -if test -z "`$CC $CPPFLAGS $CFLAGS -c conftest.c 2>&1 | grep deprecated`"; then +if test -z "`$CC $CPPFLAGS $CFLAGS -c conftest.c 2>&1 | grep -e deprecated -e unavailable`"; then eval "cv_cc_deprecated_$cache=no" else eval "cv_cc_deprecated_$cache=yes"