summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 202e30b1..cbd1ff61 100644
--- a/configure.ac
+++ b/configure.ac
@@ -113,9 +113,7 @@ AC_ARG_ENABLE([gcc-warnings],
if test "$GCC" = yes && test -d "$srcdir"/.git; then
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([[
- #if 6 < __GNUC__ + (2 <= __GNUC_MINOR__)
- int main (void) { return 0; }
- #else
+ #if ! (6 < __GNUC__ + (2 <= __GNUC_MINOR__))
#error "This GCC is too old."
#endif
]])],