aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorPaul Eggert2011-02-20 11:46:08 -0800
committerPaul Eggert2011-02-20 11:46:08 -0800
commit6cac9cb117a63296885ffce71f5cd2d944930e89 (patch)
tree1d080d9b507fbd49de863c8e55a2a4a5483ad416 /configure
parent32159fc37e0281a54dd35abb17aac7302104fd5e (diff)
downloademacs-6cac9cb117a63296885ffce71f5cd2d944930e89.tar.gz
emacs-6cac9cb117a63296885ffce71f5cd2d944930e89.zip
* configure.in (C_WARNINGS_SWITCH): Do not prepend -Wno-pointer-sign.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure31
1 files changed, 0 insertions, 31 deletions
diff --git a/configure b/configure
index d3607aec316..558ed63da17 100755
--- a/configure
+++ b/configure
@@ -6177,37 +6177,6 @@ else
6177 test "x$NON_GCC_TEST_OPTIONS" != x && CC="$CC $NON_GCC_TEST_OPTIONS" 6177 test "x$NON_GCC_TEST_OPTIONS" != x && CC="$CC $NON_GCC_TEST_OPTIONS"
6178fi 6178fi
6179 6179
6180### Use -Wno-pointer-sign if the compiler supports it
6181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -Wno-pointer-sign" >&5
6182$as_echo_n "checking whether gcc understands -Wno-pointer-sign... " >&6; }
6183SAVE_CFLAGS="$CFLAGS"
6184CFLAGS="$CFLAGS -Wno-pointer-sign"
6185cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6186/* end confdefs.h. */
6187
6188int
6189main ()
6190{
6191
6192 ;
6193 return 0;
6194}
6195_ACEOF
6196if ac_fn_c_try_compile "$LINENO"; then :
6197 has_option=yes
6198else
6199 has_option=no
6200fi
6201rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6202if test $has_option = yes; then
6203 C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH"
6204fi
6205{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
6206$as_echo "$has_option" >&6; }
6207CFLAGS="$SAVE_CFLAGS"
6208unset has_option
6209unset SAVE_CFLAGS
6210
6211### Use -Wdeclaration-after-statement if the compiler supports it 6180### Use -Wdeclaration-after-statement if the compiler supports it
6212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -Wdeclaration-after-statement" >&5 6181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -Wdeclaration-after-statement" >&5
6213$as_echo_n "checking whether gcc understands -Wdeclaration-after-statement... " >&6; } 6182$as_echo_n "checking whether gcc understands -Wdeclaration-after-statement... " >&6; }