From 039458892b7469edef82bd863331f3a94af0b7e9 Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Sat, 9 Jul 2022 14:43:39 +0300 Subject: Fix -Werror for autotools --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') 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 -- cgit v1.2.1