]> code.delx.au - gnu-emacs/commitdiff
* configure.ac (emacs_config_options): Strip out the (internal) arguments
authorGlenn Morris <rgm@gnu.org>
Sun, 10 Feb 2013 03:37:48 +0000 (19:37 -0800)
committerGlenn Morris <rgm@gnu.org>
Sun, 10 Feb 2013 03:37:48 +0000 (19:37 -0800)
--no-create and --no-recursion.

ChangeLog
configure.ac

index 93c3c33372538fa685870f3a81930635a5609e94..f1b134aa8f3541ec008fb9d12207efa5c5d41cde 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-02-10  Glenn Morris  <rgm@gnu.org>
+
+       * configure.ac (emacs_config_options): Strip out the (internal)
+       arguments --no-create and --no-recursion.
+
 2013-02-08  Paul Eggert  <eggert@cs.ucla.edu>
 
        Merge from gnulib, incorporating:
index e122e4c18add1d75c9d5dd04c1d0d1b65ad3dc23..5991f2d9e93321a7ee601acfa7caf248a5bd9bd5 100644 (file)
@@ -4087,7 +4087,7 @@ fi
 AC_DEFINE_UNQUOTED(EMACS_CONFIGURATION,  "${canonical}",
                   [Define to the canonical Emacs configuration name.])
 dnl Replace any embedded " characters (bug#13274).
-emacs_config_options=`echo "$emacs_config_options" | sed -e "s/\"/'/g"`
+emacs_config_options=`echo "$emacs_config_options " | sed -e 's/--no-create //' -e 's/--no-recursion //' -e 's/ *$//' -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