aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2013-04-27 06:17:37 -0400
committerGlenn Morris2013-04-27 06:17:37 -0400
commit8beecaeda0d28bff0c4d3c2758bb938c656728b5 (patch)
tree447d2e1faf294eadb35b32967ef51c010c8872b9
parentd40ab5cfd916005305c5632c7be56b61a105da12 (diff)
downloademacs-8beecaeda0d28bff0c4d3c2758bb938c656728b5.tar.gz
emacs-8beecaeda0d28bff0c4d3c2758bb938c656728b5.zip
Auto-commit of generated files.
-rwxr-xr-xautogen/configure49
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.
7277if test "$ac_test_CFLAGS" != set; then 7274if 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 \
7312fi 7312fi
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; }
7330if test "${emacs_cv_prog_cc_o+set}" = set; then :
7331 $as_echo_n "(cached) " >&6
7332else
7333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7334/* end confdefs.h. */
7335
7336int
7337main ()
7338{
7339
7340 ;
7341 return 0;
7342}
7343_ACEOF
7344if ac_fn_c_try_link "$LINENO"; then :
7345 emacs_cv_prog_cc_o=yes
7346else
7347 emacs_cv_prog_cc_o=no
7348fi
7349rm -f core conftest.err conftest.$ac_objext \
7350 conftest$ac_exeext conftest.$ac_ext
7351fi
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
7321fi 7358fi
7322 7359
7323# Check whether --enable-gcc-warnings was given. 7360# Check whether --enable-gcc-warnings was given.