aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2013-05-18 06:17:38 -0400
committerGlenn Morris2013-05-18 06:17:38 -0400
commitc081121fcb9337bc79ed3866e450a7d00c408dde (patch)
tree2014abdfc3d074e7561027607b8472cbc77488f5
parent8a9f4fb4d6c4b7e5545e191a104cb49d50f16283 (diff)
downloademacs-c081121fcb9337bc79ed3866e450a7d00c408dde.tar.gz
emacs-c081121fcb9337bc79ed3866e450a7d00c408dde.zip
Auto-commit of generated files.
-rwxr-xr-xautogen/configure197
1 files changed, 183 insertions, 14 deletions
diff --git a/autogen/configure b/autogen/configure
index 71e826b4ffa..4ca8d5e1b41 100755
--- a/autogen/configure
+++ b/autogen/configure
@@ -7553,27 +7553,13 @@ fi
7553 esac 7553 esac
7554 7554
7555 7555
7556 nw="$nw -Waggregate-return" # anachronistic
7557 nw="$nw -Wlong-long" # C90 is anachronistic
7558 nw="$nw -Wc++-compat" # We don't care about C++ compilers
7559 nw="$nw -Wundef" # Warns on '#if GNULIB_FOO' etc in gnulib
7560 nw="$nw -Wtraditional" # Warns on #elif which we use often
7561 nw="$nw -Wcast-qual" # Too many warnings for now
7562 nw="$nw -Wconversion" # Too many warnings for now
7563 nw="$nw -Wsystem-headers" # Don't let system headers trigger warnings 7556 nw="$nw -Wsystem-headers" # Don't let system headers trigger warnings
7564 nw="$nw -Wsign-conversion" # Too many warnings for now
7565 nw="$nw -Woverlength-strings" # Not a problem these days 7557 nw="$nw -Woverlength-strings" # Not a problem these days
7566 nw="$nw -Wtraditional-conversion" # Too many warnings for now
7567 nw="$nw -Wunreachable-code" # so buggy that it's now silently ignored
7568 nw="$nw -Wpadded" # Our structs are not padded
7569 nw="$nw -Wredundant-decls" # we regularly (re)declare functions
7570 nw="$nw -Wlogical-op" # any use of fwrite provokes this 7558 nw="$nw -Wlogical-op" # any use of fwrite provokes this
7571 nw="$nw -Wformat-nonliteral" # we do this a lot 7559 nw="$nw -Wformat-nonliteral" # we do this a lot
7572 nw="$nw -Wvla" # warnings in gettext.h 7560 nw="$nw -Wvla" # warnings in gettext.h
7573 nw="$nw -Wnested-externs" # use of XARGMATCH/verify_function__ 7561 nw="$nw -Wnested-externs" # use of XARGMATCH/verify_function__
7574 nw="$nw -Wswitch-enum" # Too many warnings for now
7575 nw="$nw -Wswitch-default" # Too many warnings for now 7562 nw="$nw -Wswitch-default" # Too many warnings for now
7576 nw="$nw -Wfloat-equal" # warns about high-quality code
7577 nw="$nw -Winline" # OK to ignore 'inline' 7563 nw="$nw -Winline" # OK to ignore 'inline'
7578 nw="$nw -Wjump-misses-init" # We sometimes safely jump over init. 7564 nw="$nw -Wjump-misses-init" # We sometimes safely jump over init.
7579 nw="$nw -Wstrict-overflow" # OK to optimize assuming that 7565 nw="$nw -Wstrict-overflow" # OK to optimize assuming that
@@ -7591,6 +7577,40 @@ fi
7591 # The following line should be removable at some point. 7577 # The following line should be removable at some point.
7592 nw="$nw -Wsuggest-attribute=pure" 7578 nw="$nw -Wsuggest-attribute=pure"
7593 7579
7580 # clang is unduly picky about some things.
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler is clang" >&5
7582$as_echo_n "checking whether the compiler is clang... " >&6; }
7583if test "${emacs_cv_clang+set}" = set; then :
7584 $as_echo_n "(cached) " >&6
7585else
7586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7587/* end confdefs.h. */
7588
7589 #ifndef __clang__
7590 #error "not clang"
7591 #endif
7592
7593int
7594main ()
7595{
7596
7597 ;
7598 return 0;
7599}
7600_ACEOF
7601if ac_fn_c_try_compile "$LINENO"; then :
7602 emacs_cv_clang=yes
7603else
7604 emacs_cv_clang=no
7605fi
7606rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7607fi
7608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_clang" >&5
7609$as_echo "$emacs_cv_clang" >&6; }
7610 if test $emacs_cv_clang = yes; then
7611 nw="$nw -Wcast-align"
7612 fi
7613
7594 7614
7595 7615
7596 if test -n "$GCC"; then 7616 if test -n "$GCC"; then
@@ -8138,6 +8158,154 @@ fi
8138 8158
8139 8159
8140 8160
8161 # More things that clang is unduly picky about.
8162 if test $emacs_cv_clang = yes; then
8163
8164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-format-extra-args" >&5
8165$as_echo_n "checking whether C compiler handles -Wno-format-extra-args... " >&6; }
8166if test "${gl_cv_warn_c__Wno_format_extra_args+set}" = set; then :
8167 $as_echo_n "(cached) " >&6
8168else
8169
8170 gl_save_compiler_FLAGS="$CFLAGS"
8171 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wno-format-extra-args"
8172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8173/* end confdefs.h. */
8174
8175int
8176main ()
8177{
8178
8179 ;
8180 return 0;
8181}
8182_ACEOF
8183if ac_fn_c_try_compile "$LINENO"; then :
8184 gl_cv_warn_c__Wno_format_extra_args=yes
8185else
8186 gl_cv_warn_c__Wno_format_extra_args=no
8187fi
8188rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8189 CFLAGS="$gl_save_compiler_FLAGS"
8190
8191fi
8192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_format_extra_args" >&5
8193$as_echo "$gl_cv_warn_c__Wno_format_extra_args" >&6; }
8194if test "x$gl_cv_warn_c__Wno_format_extra_args" = x""yes; then :
8195 as_fn_append WARN_CFLAGS " -Wno-format-extra-args"
8196fi
8197
8198
8199
8200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-tautological-constant-out-of-range-compare" >&5
8201$as_echo_n "checking whether C compiler handles -Wno-tautological-constant-out-of-range-compare... " >&6; }
8202if test "${gl_cv_warn_c__Wno_tautological_constant_out_of_range_compare+set}" = set; then :
8203 $as_echo_n "(cached) " >&6
8204else
8205
8206 gl_save_compiler_FLAGS="$CFLAGS"
8207 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wno-tautological-constant-out-of-range-compare"
8208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8209/* end confdefs.h. */
8210
8211int
8212main ()
8213{
8214
8215 ;
8216 return 0;
8217}
8218_ACEOF
8219if ac_fn_c_try_compile "$LINENO"; then :
8220 gl_cv_warn_c__Wno_tautological_constant_out_of_range_compare=yes
8221else
8222 gl_cv_warn_c__Wno_tautological_constant_out_of_range_compare=no
8223fi
8224rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8225 CFLAGS="$gl_save_compiler_FLAGS"
8226
8227fi
8228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_tautological_constant_out_of_range_compare" >&5
8229$as_echo "$gl_cv_warn_c__Wno_tautological_constant_out_of_range_compare" >&6; }
8230if test "x$gl_cv_warn_c__Wno_tautological_constant_out_of_range_compare" = x""yes; then :
8231 as_fn_append WARN_CFLAGS " -Wno-tautological-constant-out-of-range-compare"
8232fi
8233
8234
8235
8236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-unused-command-line-argument" >&5
8237$as_echo_n "checking whether C compiler handles -Wno-unused-command-line-argument... " >&6; }
8238if test "${gl_cv_warn_c__Wno_unused_command_line_argument+set}" = set; then :
8239 $as_echo_n "(cached) " >&6
8240else
8241
8242 gl_save_compiler_FLAGS="$CFLAGS"
8243 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wno-unused-command-line-argument"
8244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8245/* end confdefs.h. */
8246
8247int
8248main ()
8249{
8250
8251 ;
8252 return 0;
8253}
8254_ACEOF
8255if ac_fn_c_try_compile "$LINENO"; then :
8256 gl_cv_warn_c__Wno_unused_command_line_argument=yes
8257else
8258 gl_cv_warn_c__Wno_unused_command_line_argument=no
8259fi
8260rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8261 CFLAGS="$gl_save_compiler_FLAGS"
8262
8263fi
8264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_unused_command_line_argument" >&5
8265$as_echo "$gl_cv_warn_c__Wno_unused_command_line_argument" >&6; }
8266if test "x$gl_cv_warn_c__Wno_unused_command_line_argument" = x""yes; then :
8267 as_fn_append WARN_CFLAGS " -Wno-unused-command-line-argument"
8268fi
8269
8270
8271
8272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-unused-value" >&5
8273$as_echo_n "checking whether C compiler handles -Wno-unused-value... " >&6; }
8274if test "${gl_cv_warn_c__Wno_unused_value+set}" = set; then :
8275 $as_echo_n "(cached) " >&6
8276else
8277
8278 gl_save_compiler_FLAGS="$CFLAGS"
8279 as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wno-unused-value"
8280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8281/* end confdefs.h. */
8282
8283int
8284main ()
8285{
8286
8287 ;
8288 return 0;
8289}
8290_ACEOF
8291if ac_fn_c_try_compile "$LINENO"; then :
8292 gl_cv_warn_c__Wno_unused_value=yes
8293else
8294 gl_cv_warn_c__Wno_unused_value=no
8295fi
8296rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8297 CFLAGS="$gl_save_compiler_FLAGS"
8298
8299fi
8300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_unused_value" >&5
8301$as_echo "$gl_cv_warn_c__Wno_unused_value" >&6; }
8302if test "x$gl_cv_warn_c__Wno_unused_value" = x""yes; then :
8303 as_fn_append WARN_CFLAGS " -Wno-unused-value"
8304fi
8305
8306
8307 fi
8308
8141 8309
8142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -fdiagnostics-show-option" >&5 8310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -fdiagnostics-show-option" >&5
8143$as_echo_n "checking whether C compiler handles -fdiagnostics-show-option... " >&6; } 8311$as_echo_n "checking whether C compiler handles -fdiagnostics-show-option... " >&6; }
@@ -11187,6 +11355,7 @@ $as_echo "#define HAVE_GTK3 1" >>confdefs.h
11187 USE_GTK_TOOLKIT="GTK3" 11355 USE_GTK_TOOLKIT="GTK3"
11188 if test "x$ac_enable_gtk_deprecation_warnings" = x; then 11356 if test "x$ac_enable_gtk_deprecation_warnings" = x; then
11189 GTK_CFLAGS="$GTK_CFLAGS -DGDK_DISABLE_DEPRECATION_WARNINGS" 11357 GTK_CFLAGS="$GTK_CFLAGS -DGDK_DISABLE_DEPRECATION_WARNINGS"
11358 GTK_CFLAGS="$GTK_CFLAGS -DGLIB_DISABLE_DEPRECATION_WARNINGS"
11190 fi 11359 fi
11191 else 11360 else
11192 check_gtk2=yes 11361 check_gtk2=yes