diff options
| author | Glenn Morris | 2012-08-26 06:19:02 -0400 |
|---|---|---|
| committer | Glenn Morris | 2012-08-26 06:19:02 -0400 |
| commit | 6bd1cda51b4818304b818cbd2ad7d2c0459f246b (patch) | |
| tree | ff141ea9e97ee31c0f723957b8a2e3f2e52bc64e | |
| parent | b52d698579bbf035a70fb62440e154a06979b919 (diff) | |
| download | emacs-6bd1cda51b4818304b818cbd2ad7d2c0459f246b.tar.gz emacs-6bd1cda51b4818304b818cbd2ad7d2c0459f246b.zip | |
Auto-commit of generated files.
| -rwxr-xr-x | autogen/configure | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/autogen/configure b/autogen/configure index 7c22a3fbece..487f8de395a 100755 --- a/autogen/configure +++ b/autogen/configure | |||
| @@ -7027,6 +7027,55 @@ esac | |||
| 7027 | # Code from module warnings: | 7027 | # Code from module warnings: |
| 7028 | 7028 | ||
| 7029 | 7029 | ||
| 7030 | # It's helpful to have C macros available to GDB, so prefer -g3 to -g | ||
| 7031 | # if -g3 works and the user does not specify CFLAGS. | ||
| 7032 | # This test must follow gl_EARLY; otherwise AC_LINK_IFELSE complains. | ||
| 7033 | if test "$ac_test_CFLAGS" != set; then | ||
| 7034 | case $CFLAGS in | ||
| 7035 | '-g') | ||
| 7036 | emacs_g3_CFLAGS='-g3';; | ||
| 7037 | '-g -O2') | ||
| 7038 | emacs_g3_CFLAGS='-g3 -O2';; | ||
| 7039 | *) | ||
| 7040 | emacs_g3_CFLAGS='';; | ||
| 7041 | esac | ||
| 7042 | if test -n "$emacs_g3_CFLAGS"; then | ||
| 7043 | emacs_save_CFLAGS=$CFLAGS | ||
| 7044 | CFLAGS=$emacs_g3_CFLAGS | ||
| 7045 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts $emacs_g3_CFLAGS" >&5 | ||
| 7046 | $as_echo_n "checking whether $CC accepts $emacs_g3_CFLAGS... " >&6; } | ||
| 7047 | if test "${emacs_cv_prog_cc_g3+set}" = set; then : | ||
| 7048 | $as_echo_n "(cached) " >&6 | ||
| 7049 | else | ||
| 7050 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 7051 | /* end confdefs.h. */ | ||
| 7052 | |||
| 7053 | int | ||
| 7054 | main () | ||
| 7055 | { | ||
| 7056 | |||
| 7057 | ; | ||
| 7058 | return 0; | ||
| 7059 | } | ||
| 7060 | _ACEOF | ||
| 7061 | if ac_fn_c_try_link "$LINENO"; then : | ||
| 7062 | emacs_cv_prog_cc_g3=yes | ||
| 7063 | else | ||
| 7064 | emacs_cv_prog_cc_g3=no | ||
| 7065 | fi | ||
| 7066 | rm -f core conftest.err conftest.$ac_objext \ | ||
| 7067 | conftest$ac_exeext conftest.$ac_ext | ||
| 7068 | fi | ||
| 7069 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_prog_cc_g3" >&5 | ||
| 7070 | $as_echo "$emacs_cv_prog_cc_g3" >&6; } | ||
| 7071 | if test $emacs_cv_prog_cc_g3 = yes; then | ||
| 7072 | CFLAGS=$emacs_g3_CFLAGS | ||
| 7073 | else | ||
| 7074 | CFLAGS=$emacs_save_CFLAGS | ||
| 7075 | fi | ||
| 7076 | fi | ||
| 7077 | fi | ||
| 7078 | |||
| 7030 | # Check whether --enable-gcc-warnings was given. | 7079 | # Check whether --enable-gcc-warnings was given. |
| 7031 | if test "${enable_gcc_warnings+set}" = set; then : | 7080 | if test "${enable_gcc_warnings+set}" = set; then : |
| 7032 | enableval=$enable_gcc_warnings; case $enableval in | 7081 | enableval=$enable_gcc_warnings; case $enableval in |