summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAzat Khuzhin <azat@libevent.org>2022-07-09 14:43:39 +0300
committerAzat Khuzhin <azat@libevent.org>2022-07-09 17:16:56 +0300
commit039458892b7469edef82bd863331f3a94af0b7e9 (patch)
tree0c91ee57bb176ab19909324b27f90272d19114ae /configure.ac
parentf5ad737d73ed18b95ce63f1d8e933a89a26653e9 (diff)
downloadlibevent-039458892b7469edef82bd863331f3a94af0b7e9.tar.gz
Fix -Werror for autotools
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 7b98196c..a93f0304 100644
--- a/configure.ac
+++ b/configure.ac
@@ -762,7 +762,7 @@ if test "$enable_gcc_warnings" != "no" && test "$GCC" = "yes"; then
AX_CHECK_COMPILE_FLAG([-Wwrite-strings],[CFLAGS="$CFLAGS -Wwrite-strings"],[],[-Werror])
dnl Convert warnings into errors
- if test x"$enable_gcc_warnings" = "yes"; then
+ if test "$enable_gcc_warnings" = "yes"; then
AX_CHECK_COMPILE_FLAG([-Werror], [CFLAGS="$CFLAGS -Werror"])
fi