diff options
| author | Glenn Morris | 2012-11-20 06:17:33 -0500 |
|---|---|---|
| committer | Glenn Morris | 2012-11-20 06:17:33 -0500 |
| commit | da8ed5ba5fe78842d24a566fde07fcc2dee4bb73 (patch) | |
| tree | 31344a5c8bdeceaf48bbfab21022547f1687a7d4 | |
| parent | b83fdfa997d54f8b41f23de23103ceda36eca02c (diff) | |
| download | emacs-da8ed5ba5fe78842d24a566fde07fcc2dee4bb73.tar.gz emacs-da8ed5ba5fe78842d24a566fde07fcc2dee4bb73.zip | |
Auto-commit of generated files.
| -rwxr-xr-x | autogen/configure | 35 |
1 files changed, 32 insertions, 3 deletions
diff --git a/autogen/configure b/autogen/configure index afcf9a73fa6..22cdb7334b8 100755 --- a/autogen/configure +++ b/autogen/configure | |||
| @@ -7257,6 +7257,8 @@ fi | |||
| 7257 | nw="$nw -Wfloat-equal" # warns about high-quality code | 7257 | nw="$nw -Wfloat-equal" # warns about high-quality code |
| 7258 | nw="$nw -Winline" # OK to ignore 'inline' | 7258 | nw="$nw -Winline" # OK to ignore 'inline' |
| 7259 | nw="$nw -Wjump-misses-init" # We sometimes safely jump over init. | 7259 | nw="$nw -Wjump-misses-init" # We sometimes safely jump over init. |
| 7260 | nw="$nw -Wstrict-overflow" # OK to optimize assuming that | ||
| 7261 | # signed overflow has undefined behavior | ||
| 7260 | nw="$nw -Wsync-nand" # irrelevant here, and provokes ObjC warning | 7262 | nw="$nw -Wsync-nand" # irrelevant here, and provokes ObjC warning |
| 7261 | nw="$nw -Wunsafe-loop-optimizations" # OK to suppress unsafe optimizations | 7263 | nw="$nw -Wunsafe-loop-optimizations" # OK to suppress unsafe optimizations |
| 7262 | 7264 | ||
| @@ -7264,11 +7266,38 @@ fi | |||
| 7264 | # <http://lists.gnu.org/archive/html/emacs-diffs/2011-11/msg00265.html>. | 7266 | # <http://lists.gnu.org/archive/html/emacs-diffs/2011-11/msg00265.html>. |
| 7265 | nw="$nw -Wshadow" | 7267 | nw="$nw -Wshadow" |
| 7266 | 7268 | ||
| 7267 | # The following lines should be removable at some point. | 7269 | # The following line should be removable at some point. |
| 7268 | nw="$nw -Wstack-protector" | ||
| 7269 | nw="$nw -Wstrict-overflow" | ||
| 7270 | nw="$nw -Wsuggest-attribute=pure" | 7270 | nw="$nw -Wsuggest-attribute=pure" |
| 7271 | 7271 | ||
| 7272 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use -Wstack-protector" >&5 | ||
| 7273 | $as_echo_n "checking whether to use -Wstack-protector... " >&6; } | ||
| 7274 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 7275 | /* end confdefs.h. */ | ||
| 7276 | #if (1 <= __LONG_MAX__ >> 31 >> 31 \ | ||
| 7277 | && 4 < __GNUC__ + (7 < __GNUC_MINOR__ + (2 <= __GNUC_PATCHLEVEL__))) | ||
| 7278 | /* OK */ | ||
| 7279 | #else | ||
| 7280 | #error "Not GCC, or GCC before 4.7.2, or 'long int' has < 64 bits." | ||
| 7281 | #endif | ||
| 7282 | |||
| 7283 | int | ||
| 7284 | main () | ||
| 7285 | { | ||
| 7286 | |||
| 7287 | ; | ||
| 7288 | return 0; | ||
| 7289 | } | ||
| 7290 | _ACEOF | ||
| 7291 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
| 7292 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
| 7293 | $as_echo "yes" >&6; } | ||
| 7294 | else | ||
| 7295 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 7296 | $as_echo "no" >&6; } | ||
| 7297 | nw="$nw -Wstack-protector" | ||
| 7298 | fi | ||
| 7299 | rm -f conftest.err conftest.$ac_ext | ||
| 7300 | |||
| 7272 | 7301 | ||
| 7273 | 7302 | ||
| 7274 | if test -n "$GCC"; then | 7303 | if test -n "$GCC"; then |