diff options
| author | Glenn Morris | 2012-12-26 06:17:38 -0500 |
|---|---|---|
| committer | Glenn Morris | 2012-12-26 06:17:38 -0500 |
| commit | ad33cb00f50af798ed41ed8294a46010b9bb6071 (patch) | |
| tree | 75783927ee91fede44365cbf69d745cdcf3cfad5 | |
| parent | 4b298d5a3e0d5fb75f66c48598e80122669cef8b (diff) | |
| download | emacs-ad33cb00f50af798ed41ed8294a46010b9bb6071.tar.gz emacs-ad33cb00f50af798ed41ed8294a46010b9bb6071.zip | |
Auto-commit of generated files.
| -rwxr-xr-x | autogen/configure | 32 |
1 files changed, 3 insertions, 29 deletions
diff --git a/autogen/configure b/autogen/configure index c3920f6b79d..208e38fc887 100755 --- a/autogen/configure +++ b/autogen/configure | |||
| @@ -7292,38 +7292,12 @@ fi | |||
| 7292 | # <http://lists.gnu.org/archive/html/emacs-diffs/2011-11/msg00265.html>. | 7292 | # <http://lists.gnu.org/archive/html/emacs-diffs/2011-11/msg00265.html>. |
| 7293 | nw="$nw -Wshadow" | 7293 | nw="$nw -Wshadow" |
| 7294 | 7294 | ||
| 7295 | # Emacs's use of alloca inhibits protecting the stack. | ||
| 7296 | nw="$nw -Wstack-protector" | ||
| 7297 | |||
| 7295 | # The following line should be removable at some point. | 7298 | # The following line should be removable at some point. |
| 7296 | nw="$nw -Wsuggest-attribute=pure" | 7299 | nw="$nw -Wsuggest-attribute=pure" |
| 7297 | 7300 | ||
| 7298 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use -Wstack-protector" >&5 | ||
| 7299 | $as_echo_n "checking whether to use -Wstack-protector... " >&6; } | ||
| 7300 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 7301 | /* end confdefs.h. */ | ||
| 7302 | #if (1 <= __LONG_MAX__ >> 31 >> 31 \ | ||
| 7303 | && 4 < __GNUC__ + (7 < __GNUC_MINOR__ + (2 <= __GNUC_PATCHLEVEL__))) | ||
| 7304 | /* OK */ | ||
| 7305 | #else | ||
| 7306 | #error "Not GCC, or GCC before 4.7.2, or 'long int' has < 64 bits." | ||
| 7307 | #endif | ||
| 7308 | |||
| 7309 | int | ||
| 7310 | main () | ||
| 7311 | { | ||
| 7312 | |||
| 7313 | ; | ||
| 7314 | return 0; | ||
| 7315 | } | ||
| 7316 | _ACEOF | ||
| 7317 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
| 7318 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
| 7319 | $as_echo "yes" >&6; } | ||
| 7320 | else | ||
| 7321 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 7322 | $as_echo "no" >&6; } | ||
| 7323 | nw="$nw -Wstack-protector" | ||
| 7324 | fi | ||
| 7325 | rm -f conftest.err conftest.$ac_ext | ||
| 7326 | |||
| 7327 | 7301 | ||
| 7328 | 7302 | ||
| 7329 | if test -n "$GCC"; then | 7303 | if test -n "$GCC"; then |