summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac22
1 files changed, 0 insertions, 22 deletions
diff --git a/configure.ac b/configure.ac
index d89ebef..ec6d61b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1542,28 +1542,6 @@ yes)
BASECFLAGS="$BASECFLAGS -Wno-unused-result"
fi
- AC_MSG_CHECKING(for -Werror=declaration-after-statement)
- ac_save_cc="$CC"
- CC="$CC -Werror=declaration-after-statement"
- save_CFLAGS="$CFLAGS"
- AC_CACHE_VAL(ac_cv_declaration_after_statement_warning,
- AC_COMPILE_IFELSE(
- [
- AC_LANG_PROGRAM([[]], [[]])
- ],[
- ac_cv_declaration_after_statement_warning=yes
- ],[
- ac_cv_declaration_after_statement_warning=no
- ]))
- CFLAGS="$save_CFLAGS"
- CC="$ac_save_cc"
- AC_MSG_RESULT($ac_cv_declaration_after_statement_warning)
-
- if test $ac_cv_declaration_after_statement_warning = yes
- then
- CFLAGS_NODIST="$CFLAGS_NODIST -Werror=declaration-after-statement"
- fi
-
AC_MSG_CHECKING(if we can turn on $CC mixed sign comparison warning)
ac_save_cc="$CC"
CC="$CC -Wsign-compare"