summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@debian.org>2021-10-14 20:27:53 +0300
committerFrediano Ziglio <freddy77@gmail.com>2021-12-02 10:32:57 +0000
commit8440e6010d96ba5d188f6d789fcc11afde40f94a (patch)
tree5c421de21348f8ed35ef28f20d51642f51808f0f
parent3cd58713c958387f35897b1c82de0c749f03fa85 (diff)
configure.ac: autoconf 2.71 compatibility
"y" is not "set", but both have non-zero lengths.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f6abf3d..be65606 100644
--- a/configure.ac
+++ b/configure.ac
@@ -178,7 +178,7 @@ if test x"$enable_static_uinput" = "xyes" ; then
fi
# If no CFLAGS are set, set some sane default CFLAGS
-if test "$ac_test_CFLAGS" != set; then
+if test -z "$ac_test_CFLAGS"; then
DEFAULT_CFLAGS="-Wall -Werror -Wp,-D_FORTIFY_SOURCE=2 -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4"
for F in $DEFAULT_CFLAGS; do
AC_MSG_CHECKING([whether $CC supports $F])