diff options
author | Azat Khuzhin <azat@libevent.org> | 2022-07-09 14:43:39 +0300 |
---|---|---|
committer | Azat Khuzhin <azat@libevent.org> | 2022-07-09 17:16:56 +0300 |
commit | 039458892b7469edef82bd863331f3a94af0b7e9 (patch) | |
tree | 0c91ee57bb176ab19909324b27f90272d19114ae /configure.ac | |
parent | f5ad737d73ed18b95ce63f1d8e933a89a26653e9 (diff) | |
download | libevent-039458892b7469edef82bd863331f3a94af0b7e9.tar.gz |
Fix -Werror for autotools
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
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 |