[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r111350: configure.ac fix for double
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r111350: configure.ac fix for double quotes in configure command-line |
Date: |
Thu, 27 Dec 2012 09:59:21 -0800 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 111350
fixes bug: http://debbugs.gnu.org/13274
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Thu 2012-12-27 09:59:21 -0800
message:
configure.ac fix for double quotes in configure command-line
* configure.ac (emacs_config_options): New.
Use $@ rather than undocumented $ac_configure_args.
Replace any embedded double quotes.
modified:
ChangeLog
configure.ac
=== modified file 'ChangeLog'
--- a/ChangeLog 2012-12-27 08:21:08 +0000
+++ b/ChangeLog 2012-12-27 17:59:21 +0000
@@ -1,3 +1,9 @@
+2012-12-27 Glenn Morris <address@hidden>
+
+ * configure.ac (emacs_config_options): New.
+ Use $@ rather than undocumented $ac_configure_args.
+ Replace any embedded double quotes. (Bug#13274)
+
2012-12-27 Andreas Schwab <address@hidden>
* configure.ac (SIGNALS_VIA_CHARACTERS): Also define for darwin.
=== modified file 'configure.ac'
--- a/configure.ac 2012-12-27 08:21:08 +0000
+++ b/configure.ac 2012-12-27 17:59:21 +0000
@@ -23,6 +23,9 @@
AC_PREREQ(2.65)
AC_INIT(emacs, 24.3.50)
+dnl This is the documented way to record the args passed to configure,
+dnl rather than $ac_configure_args.
+emacs_config_options="$@"
AC_CONFIG_HEADER(src/config.h:src/config.in)
AC_CONFIG_SRCDIR(src/lisp.h)
AC_CONFIG_AUX_DIR(build-aux)
@@ -4068,7 +4071,9 @@
AC_DEFINE_UNQUOTED(EMACS_CONFIGURATION, "${canonical}",
[Define to the canonical Emacs configuration name.])
-AC_DEFINE_UNQUOTED(EMACS_CONFIG_OPTIONS, "${ac_configure_args}",
+dnl Replace any embedded " characters (bug#13274).
+emacs_config_options=`echo "$emacs_config_options" | sed -e "s/\"/'/g"`
+AC_DEFINE_UNQUOTED(EMACS_CONFIG_OPTIONS, "${emacs_config_options}",
[Define to the options passed to configure.])
AH_TEMPLATE(config_opsysfile, [Some platforms that do not use configure
define this to include extra configuration information.])
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r111350: configure.ac fix for double quotes in configure command-line,
Glenn Morris <=