diff options
| author | Glenn Morris | 2013-04-27 06:17:37 -0400 |
|---|---|---|
| committer | Glenn Morris | 2013-04-27 06:17:37 -0400 |
| commit | 8beecaeda0d28bff0c4d3c2758bb938c656728b5 (patch) | |
| tree | 447d2e1faf294eadb35b32967ef51c010c8872b9 | |
| parent | d40ab5cfd916005305c5632c7be56b61a105da12 (diff) | |
| download | emacs-8beecaeda0d28bff0c4d3c2758bb938c656728b5.tar.gz emacs-8beecaeda0d28bff0c4d3c2758bb938c656728b5.zip | |
Auto-commit of generated files.
| -rwxr-xr-x | autogen/configure | 49 |
1 files changed, 43 insertions, 6 deletions
diff --git a/autogen/configure b/autogen/configure index 7ddac01fb10..bd900b5afef 100755 --- a/autogen/configure +++ b/autogen/configure | |||
| @@ -7271,10 +7271,10 @@ esac | |||
| 7271 | # Code from module xalloc-oversized: | 7271 | # Code from module xalloc-oversized: |
| 7272 | 7272 | ||
| 7273 | 7273 | ||
| 7274 | # It's helpful to have C macros available to GDB, so prefer -g3 to -g | ||
| 7275 | # if -g3 works and the user does not specify CFLAGS. | ||
| 7276 | # This test must follow gl_EARLY; otherwise AC_LINK_IFELSE complains. | ||
| 7277 | if test "$ac_test_CFLAGS" != set; then | 7274 | if test "$ac_test_CFLAGS" != set; then |
| 7275 | # It's helpful to have C macros available to GDB, so prefer -g3 to -g | ||
| 7276 | # if -g3 works and the user does not specify CFLAGS. | ||
| 7277 | # This test must follow gl_EARLY; otherwise AC_LINK_IFELSE complains. | ||
| 7278 | case $CFLAGS in | 7278 | case $CFLAGS in |
| 7279 | '-g') | 7279 | '-g') |
| 7280 | emacs_g3_CFLAGS='-g3';; | 7280 | emacs_g3_CFLAGS='-g3';; |
| @@ -7312,12 +7312,49 @@ rm -f core conftest.err conftest.$ac_objext \ | |||
| 7312 | fi | 7312 | fi |
| 7313 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_prog_cc_g3" >&5 | 7313 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_prog_cc_g3" >&5 |
| 7314 | $as_echo "$emacs_cv_prog_cc_g3" >&6; } | 7314 | $as_echo "$emacs_cv_prog_cc_g3" >&6; } |
| 7315 | if test $emacs_cv_prog_cc_g3 = yes; then | 7315 | if test $emacs_cv_prog_cc_g3 != yes; then |
| 7316 | CFLAGS=$emacs_g3_CFLAGS | ||
| 7317 | else | ||
| 7318 | CFLAGS=$emacs_save_CFLAGS | 7316 | CFLAGS=$emacs_save_CFLAGS |
| 7319 | fi | 7317 | fi |
| 7320 | fi | 7318 | fi |
| 7319 | |||
| 7320 | case $CFLAGS in | ||
| 7321 | *-O*) ;; | ||
| 7322 | *) | ||
| 7323 | # No optimization flag was inferred for this non-GCC compiler. | ||
| 7324 | # Try -O. This is needed for xlc on AIX; see Bug#14258. | ||
| 7325 | emacs_save_CFLAGS=$CFLAGS | ||
| 7326 | test -z "$CFLAGS" || CFLAGS="$CFLAGS " | ||
| 7327 | CFLAGS=${CFLAGS}-O | ||
| 7328 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -O" >&5 | ||
| 7329 | $as_echo_n "checking whether $CC accepts -O... " >&6; } | ||
| 7330 | if test "${emacs_cv_prog_cc_o+set}" = set; then : | ||
| 7331 | $as_echo_n "(cached) " >&6 | ||
| 7332 | else | ||
| 7333 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 7334 | /* end confdefs.h. */ | ||
| 7335 | |||
| 7336 | int | ||
| 7337 | main () | ||
| 7338 | { | ||
| 7339 | |||
| 7340 | ; | ||
| 7341 | return 0; | ||
| 7342 | } | ||
| 7343 | _ACEOF | ||
| 7344 | if ac_fn_c_try_link "$LINENO"; then : | ||
| 7345 | emacs_cv_prog_cc_o=yes | ||
| 7346 | else | ||
| 7347 | emacs_cv_prog_cc_o=no | ||
| 7348 | fi | ||
| 7349 | rm -f core conftest.err conftest.$ac_objext \ | ||
| 7350 | conftest$ac_exeext conftest.$ac_ext | ||
| 7351 | fi | ||
| 7352 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_prog_cc_o" >&5 | ||
| 7353 | $as_echo "$emacs_cv_prog_cc_o" >&6; } | ||
| 7354 | if test $emacs_cv_prog_cc_o != yes; then | ||
| 7355 | CFLAGS=$emacs_save_CFLAGS | ||
| 7356 | fi ;; | ||
| 7357 | esac | ||
| 7321 | fi | 7358 | fi |
| 7322 | 7359 | ||
| 7323 | # Check whether --enable-gcc-warnings was given. | 7360 | # Check whether --enable-gcc-warnings was given. |