diff options
| author | Glenn Morris | 2012-07-08 06:18:44 -0400 |
|---|---|---|
| committer | Glenn Morris | 2012-07-08 06:18:44 -0400 |
| commit | fd9d2a9d0873b520f635d82140dc204b2815bcbc (patch) | |
| tree | eb92730170ee0cca92a6c00c5b92bc861a4a1821 | |
| parent | 01ac65bd7c0df6c895bf18810ee5c8d24704681a (diff) | |
| download | emacs-fd9d2a9d0873b520f635d82140dc204b2815bcbc.tar.gz emacs-fd9d2a9d0873b520f635d82140dc204b2815bcbc.zip | |
Auto-commit of generated files.
| -rw-r--r-- | autogen/config.in | 2 | ||||
| -rwxr-xr-x | autogen/configure | 52 |
2 files changed, 43 insertions, 11 deletions
diff --git a/autogen/config.in b/autogen/config.in index 9e1bca2867f..aad4c148c6b 100644 --- a/autogen/config.in +++ b/autogen/config.in | |||
| @@ -46,7 +46,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 46 | /* Define to the number of bits in type 'wint_t'. */ | 46 | /* Define to the number of bits in type 'wint_t'. */ |
| 47 | #undef BITSIZEOF_WINT_T | 47 | #undef BITSIZEOF_WINT_T |
| 48 | 48 | ||
| 49 | /* Define if SA_RESTART should not be used. */ | 49 | /* Define if SA_RESTART should only be used in batch mode. */ |
| 50 | #undef BROKEN_SA_RESTART | 50 | #undef BROKEN_SA_RESTART |
| 51 | 51 | ||
| 52 | /* Define if SIGIO should not be used. */ | 52 | /* Define if SIGIO should not be used. */ |
diff --git a/autogen/configure b/autogen/configure index 4207c29e4bb..13b55b60d8d 100755 --- a/autogen/configure +++ b/autogen/configure | |||
| @@ -7140,16 +7140,19 @@ fi | |||
| 7140 | nw="$nw -Wsign-conversion" # Too many warnings for now | 7140 | nw="$nw -Wsign-conversion" # Too many warnings for now |
| 7141 | nw="$nw -Woverlength-strings" # Not a problem these days | 7141 | nw="$nw -Woverlength-strings" # Not a problem these days |
| 7142 | nw="$nw -Wtraditional-conversion" # Too many warnings for now | 7142 | nw="$nw -Wtraditional-conversion" # Too many warnings for now |
| 7143 | nw="$nw -Wunreachable-code" # so buggy that it's now silently ignored | ||
| 7143 | nw="$nw -Wpadded" # Our structs are not padded | 7144 | nw="$nw -Wpadded" # Our structs are not padded |
| 7144 | nw="$nw -Wredundant-decls" # We regularly (re)declare getenv etc. | 7145 | nw="$nw -Wredundant-decls" # we regularly (re)declare functions |
| 7145 | nw="$nw -Wlogical-op" # any use of fwrite provokes this | 7146 | nw="$nw -Wlogical-op" # any use of fwrite provokes this |
| 7146 | nw="$nw -Wformat-nonliteral" # Emacs does this a lot | 7147 | nw="$nw -Wformat-nonliteral" # we do this a lot |
| 7147 | nw="$nw -Wvla" # warnings in gettext.h | 7148 | nw="$nw -Wvla" # warnings in gettext.h |
| 7148 | nw="$nw -Wnested-externs" # use of XARGMATCH/verify_function__ | 7149 | nw="$nw -Wnested-externs" # use of XARGMATCH/verify_function__ |
| 7149 | nw="$nw -Wswitch-enum" # Too many warnings for now | 7150 | nw="$nw -Wswitch-enum" # Too many warnings for now |
| 7150 | nw="$nw -Wswitch-default" # Too many warnings for now | 7151 | nw="$nw -Wswitch-default" # Too many warnings for now |
| 7151 | nw="$nw -Wfloat-equal" # e.g., ftoastr.c | 7152 | nw="$nw -Wfloat-equal" # warns about high-quality code |
| 7152 | nw="$nw -Winline" # e.g., dispnew.c's inlining of row_equal_p | 7153 | nw="$nw -Winline" # OK to ignore 'inline' |
| 7154 | nw="$nw -Wsync-nand" # irrelevant here, and provokes ObjC warning | ||
| 7155 | nw="$nw -Wunsafe-loop-optimizations" # OK to suppress unsafe optimizations | ||
| 7153 | 7156 | ||
| 7154 | # Emacs doesn't care about shadowing; see | 7157 | # Emacs doesn't care about shadowing; see |
| 7155 | # <http://lists.gnu.org/archive/html/emacs-diffs/2011-11/msg00265.html>. | 7158 | # <http://lists.gnu.org/archive/html/emacs-diffs/2011-11/msg00265.html>. |
| @@ -7161,12 +7164,6 @@ fi | |||
| 7161 | nw="$nw -Wsuggest-attribute=const" | 7164 | nw="$nw -Wsuggest-attribute=const" |
| 7162 | nw="$nw -Wsuggest-attribute=pure" | 7165 | nw="$nw -Wsuggest-attribute=pure" |
| 7163 | 7166 | ||
| 7164 | # Some loops can't be optimized with -O1, | ||
| 7165 | # so remove -Wunsafe-loop-optimizations. | ||
| 7166 | if echo "$CFLAGS" | $EGREP 'O1' 1>/dev/null; then | ||
| 7167 | nw="$nw -Wunsafe-loop-optimizations" | ||
| 7168 | fi | ||
| 7169 | |||
| 7170 | 7167 | ||
| 7171 | 7168 | ||
| 7172 | if test -n "$GCC"; then | 7169 | if test -n "$GCC"; then |
| @@ -7609,6 +7606,41 @@ if test "x$gl_cv_warn_c__Wno_format_nonliteral" = x""yes; then : | |||
| 7609 | fi | 7606 | fi |
| 7610 | 7607 | ||
| 7611 | 7608 | ||
| 7609 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-deprecated-declarations" >&5 | ||
| 7610 | $as_echo_n "checking whether C compiler handles -Wno-deprecated-declarations... " >&6; } | ||
| 7611 | if test "${gl_cv_warn_c__Wno_deprecated_declarations+set}" = set; then : | ||
| 7612 | $as_echo_n "(cached) " >&6 | ||
| 7613 | else | ||
| 7614 | |||
| 7615 | gl_save_compiler_FLAGS="$CFLAGS" | ||
| 7616 | as_fn_append CFLAGS " -Wno-deprecated-declarations" | ||
| 7617 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 7618 | /* end confdefs.h. */ | ||
| 7619 | |||
| 7620 | int | ||
| 7621 | main () | ||
| 7622 | { | ||
| 7623 | |||
| 7624 | ; | ||
| 7625 | return 0; | ||
| 7626 | } | ||
| 7627 | _ACEOF | ||
| 7628 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 7629 | gl_cv_warn_c__Wno_deprecated_declarations=yes | ||
| 7630 | else | ||
| 7631 | gl_cv_warn_c__Wno_deprecated_declarations=no | ||
| 7632 | fi | ||
| 7633 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 7634 | CFLAGS="$gl_save_compiler_FLAGS" | ||
| 7635 | |||
| 7636 | fi | ||
| 7637 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_deprecated_declarations" >&5 | ||
| 7638 | $as_echo "$gl_cv_warn_c__Wno_deprecated_declarations" >&6; } | ||
| 7639 | if test "x$gl_cv_warn_c__Wno_deprecated_declarations" = x""yes; then : | ||
| 7640 | as_fn_append WARN_CFLAGS " -Wno-deprecated-declarations" | ||
| 7641 | fi | ||
| 7642 | |||
| 7643 | # triggered by libpng | ||
| 7612 | 7644 | ||
| 7613 | # In spite of excluding -Wlogical-op above, it is enabled, as of | 7645 | # In spite of excluding -Wlogical-op above, it is enabled, as of |
| 7614 | # gcc 4.5.0 20090517. | 7646 | # gcc 4.5.0 20090517. |