diff options
| author | Glenn Morris | 2013-08-23 06:17:44 -0400 |
|---|---|---|
| committer | Glenn Morris | 2013-08-23 06:17:44 -0400 |
| commit | 1df7c7caf535a06ad2f3b18b5d46b987f2fa366d (patch) | |
| tree | ae9e34a6c3223a809c3bbaedd49b967122dee87f | |
| parent | 7fd5f65e89638e74471efd71ce62bed626cbe591 (diff) | |
| download | emacs-1df7c7caf535a06ad2f3b18b5d46b987f2fa366d.tar.gz emacs-1df7c7caf535a06ad2f3b18b5d46b987f2fa366d.zip | |
Auto-commit of generated files.
| -rwxr-xr-x | autogen/configure | 42 |
1 files changed, 31 insertions, 11 deletions
diff --git a/autogen/configure b/autogen/configure index 984476f993a..f35ce6d62cb 100755 --- a/autogen/configure +++ b/autogen/configure | |||
| @@ -3486,16 +3486,37 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
| 3486 | 3486 | ||
| 3487 | 3487 | ||
| 3488 | 3488 | ||
| 3489 | emacs_config_options="$@" | 3489 | emacs_config_options= |
| 3490 | ## Add some environment variables, if they were passed via the environment | 3490 | optsep= |
| 3491 | ## rather than on the command-line. | 3491 | for opt in ${1+"$@"} CFLAGS CPPFLAGS LDFLAGS; do |
| 3492 | for var in CFLAGS CPPFLAGS LDFLAGS; do | 3492 | case $opt in |
| 3493 | case "$emacs_config_options" in | 3493 | -n | --no-create | --no-recursion) |
| 3494 | *$var=*) continue ;; | 3494 | continue ;; |
| 3495 | esac | 3495 | CFLAGS | CPPFLAGS | LDFLAGS) |
| 3496 | eval val="\$${var}" | 3496 | eval 'test "${'$opt'+set}" = set' || continue |
| 3497 | test x"$val" = x && continue | 3497 | case " $*" in |
| 3498 | emacs_config_options="${emacs_config_options}${emacs_config_options:+ }$var=\"$val\"" | 3498 | *" $opt="*) continue ;; |
| 3499 | esac | ||
| 3500 | eval opt=$opt=\$$opt ;; | ||
| 3501 | esac | ||
| 3502 | |||
| 3503 | emacs_shell_specials=$IFS\''"#$&()*;<>?[\\`{|~' | ||
| 3504 | case $opt in | ||
| 3505 | *["$emacs_shell_specials"]*) | ||
| 3506 | case $opt in | ||
| 3507 | *\'*) | ||
| 3508 | emacs_quote_apostrophes="s/'/'\\\\''/g" | ||
| 3509 | opt=`$as_echo "$opt" | sed "$emacs_quote_apostrophes"` ;; | ||
| 3510 | esac | ||
| 3511 | opt="'$opt'" | ||
| 3512 | case $opt in | ||
| 3513 | *['"\\']*) | ||
| 3514 | emacs_quote_for_c='s/["\\]/\\&/g; $!s/$/\\n\\/' | ||
| 3515 | opt=`$as_echo "$opt" | sed "$emacs_quote_for_c"` ;; | ||
| 3516 | esac ;; | ||
| 3517 | esac | ||
| 3518 | as_fn_append emacs_config_options "$optsep$opt" | ||
| 3519 | optsep=' ' | ||
| 3499 | done | 3520 | done |
| 3500 | 3521 | ||
| 3501 | ac_config_headers="$ac_config_headers src/config.h:src/config.in" | 3522 | ac_config_headers="$ac_config_headers src/config.h:src/config.in" |
| @@ -17173,7 +17194,6 @@ cat >>confdefs.h <<_ACEOF | |||
| 17173 | #define EMACS_CONFIGURATION "${canonical}" | 17194 | #define EMACS_CONFIGURATION "${canonical}" |
| 17174 | _ACEOF | 17195 | _ACEOF |
| 17175 | 17196 | ||
| 17176 | emacs_config_options=`echo "$emacs_config_options " | sed -e 's/--no-create //' -e 's/--no-recursion //' -e 's/ *$//' -e "s/\"/'/g" -e 's/\\\\/\\\\\\\\/g'` | ||
| 17177 | 17197 | ||
| 17178 | cat >>confdefs.h <<_ACEOF | 17198 | cat >>confdefs.h <<_ACEOF |
| 17179 | #define EMACS_CONFIG_OPTIONS "${emacs_config_options}" | 17199 | #define EMACS_CONFIG_OPTIONS "${emacs_config_options}" |