summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-09-07 18:43:22 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-09-07 18:43:22 (GMT)
commit0d67ed54f7337d6209fd7c319c37f7ffe1775972 (patch)
tree76bdcbaf9436709ef01e851aed8fbfd6e4c503d0 /configure
parent123374463b31190fbeed9a6044aa65e7f3bd5090 (diff)
downloadcpython-0d67ed54f7337d6209fd7c319c37f7ffe1775972.zip
cpython-0d67ed54f7337d6209fd7c319c37f7ffe1775972.tar.gz
cpython-0d67ed54f7337d6209fd7c319c37f7ffe1775972.tar.bz2
permit intermingled declarations
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure43
1 files changed, 0 insertions, 43 deletions
diff --git a/configure b/configure
index 6f2d9b2..a5d6e8d6 100755
--- a/configure
+++ b/configure
@@ -6834,49 +6834,6 @@ $as_echo "$ac_cv_disable_unused_result_warning" >&6; }
BASECFLAGS="$BASECFLAGS -Wno-unused-result"
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror=declaration-after-statement" >&5
-$as_echo_n "checking for -Werror=declaration-after-statement... " >&6; }
- ac_save_cc="$CC"
- CC="$CC -Werror=declaration-after-statement"
- save_CFLAGS="$CFLAGS"
- if ${ac_cv_declaration_after_statement_warning+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
- ac_cv_declaration_after_statement_warning=yes
-
-else
-
- ac_cv_declaration_after_statement_warning=no
-
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
- CFLAGS="$save_CFLAGS"
- CC="$ac_save_cc"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_declaration_after_statement_warning" >&5
-$as_echo "$ac_cv_declaration_after_statement_warning" >&6; }
-
- if test $ac_cv_declaration_after_statement_warning = yes
- then
- CFLAGS_NODIST="$CFLAGS_NODIST -Werror=declaration-after-statement"
- fi
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can turn on $CC mixed sign comparison warning" >&5
$as_echo_n "checking if we can turn on $CC mixed sign comparison warning... " >&6; }
ac_save_cc="$CC"