summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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])