diff --git a/configure.ac b/configure.ac index 9eb17ac2..b987e08d 100644 --- a/configure.ac +++ b/configure.ac @@ -1102,7 +1102,7 @@ AS_IF([test "$GCC" = yes], [ OLD_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $NEW_FLAG -Werror" AC_COMPILE_IFELSE([AC_LANG_SOURCE( - [void foo(void); void foo(void) { }])], [ + [[void foo(void); void foo(void) { }]])], [ AM_CFLAGS="$AM_CFLAGS $NEW_FLAG" AC_MSG_RESULT([yes]) ], [