aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Verona2012-12-27 19:07:09 +0100
committerJoakim Verona2012-12-27 19:07:09 +0100
commitae3384a484a29a2fc5930edd3c14152a603d1b76 (patch)
tree0f2af2596823eb4c1a1edce470e8d020caf712b1
parent22973d8789666f30fed6a5e5643c66ca242cae87 (diff)
parent60f5e585bd5a94ddce429a5271640293afa53089 (diff)
downloademacs-ae3384a484a29a2fc5930edd3c14152a603d1b76.tar.gz
emacs-ae3384a484a29a2fc5930edd3c14152a603d1b76.zip
auto upstream
-rw-r--r--ChangeLog6
-rw-r--r--configure.ac7
2 files changed, 12 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1a68ed5e954..9623763b950 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
12012-12-27 Glenn Morris <rgm@gnu.org>
2
3 * configure.ac (emacs_config_options): New.
4 Use $@ rather than undocumented $ac_configure_args.
5 Replace any embedded double quotes. (Bug#13274)
6
12012-12-27 Andreas Schwab <schwab@linux-m68k.org> 72012-12-27 Andreas Schwab <schwab@linux-m68k.org>
2 8
3 * configure.ac (SIGNALS_VIA_CHARACTERS): Also define for darwin. 9 * configure.ac (SIGNALS_VIA_CHARACTERS): Also define for darwin.
diff --git a/configure.ac b/configure.ac
index be7be15ed21..4d829963ee2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,6 +23,9 @@ dnl along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
23 23
24AC_PREREQ(2.65) 24AC_PREREQ(2.65)
25AC_INIT(emacs, 24.3.50) 25AC_INIT(emacs, 24.3.50)
26dnl This is the documented way to record the args passed to configure,
27dnl rather than $ac_configure_args.
28emacs_config_options="$@"
26AC_CONFIG_HEADER(src/config.h:src/config.in) 29AC_CONFIG_HEADER(src/config.h:src/config.in)
27AC_CONFIG_SRCDIR(src/lisp.h) 30AC_CONFIG_SRCDIR(src/lisp.h)
28AC_CONFIG_AUX_DIR(build-aux) 31AC_CONFIG_AUX_DIR(build-aux)
@@ -4129,7 +4132,9 @@ fi
4129 4132
4130AC_DEFINE_UNQUOTED(EMACS_CONFIGURATION, "${canonical}", 4133AC_DEFINE_UNQUOTED(EMACS_CONFIGURATION, "${canonical}",
4131 [Define to the canonical Emacs configuration name.]) 4134 [Define to the canonical Emacs configuration name.])
4132AC_DEFINE_UNQUOTED(EMACS_CONFIG_OPTIONS, "${ac_configure_args}", 4135dnl Replace any embedded " characters (bug#13274).
4136emacs_config_options=`echo "$emacs_config_options" | sed -e "s/\"/'/g"`
4137AC_DEFINE_UNQUOTED(EMACS_CONFIG_OPTIONS, "${emacs_config_options}",
4133 [Define to the options passed to configure.]) 4138 [Define to the options passed to configure.])
4134AH_TEMPLATE(config_opsysfile, [Some platforms that do not use configure 4139AH_TEMPLATE(config_opsysfile, [Some platforms that do not use configure
4135 define this to include extra configuration information.]) 4140 define this to include extra configuration information.])