changeset 75015:65f7f7adff78

Fix admin/quick-install-emacs to work with recent versions of autoconf Revision: emacs@sv.gnu.org/emacs--devo--0--patch-584
author Miles Bader <miles@gnu.org>
date Mon, 01 Jan 2007 12:14:54 +0000
parents b0ca51055540
children 6a01460d75ba 17e0dd217877
files admin/ChangeLog admin/quick-install-emacs
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/admin/ChangeLog	Mon Jan 01 03:15:00 2007 +0000
+++ b/admin/ChangeLog	Mon Jan 01 12:14:54 2007 +0000
@@ -1,3 +1,8 @@
+2007-01-01  Miles Bader  <miles@gnu.org>
+
+	* quick-install-emacs (get_config_var): Deal with weird magic
+	string inserted by recent versions of autoconf.
+
 2006-11-25  Juanma Barranquero  <lekktu@gmail.com>
 
 	* admin.el (set-version): Set version number in
--- a/admin/quick-install-emacs	Mon Jan 01 03:15:00 2007 +0000
+++ b/admin/quick-install-emacs	Mon Jan 01 12:14:54 2007 +0000
@@ -136,7 +136,7 @@
 CONFIG_STATUS="$BUILD/config.status"
 get_config_var ()
 {
-  if ! sed -n "s/^s\(.\)@$1@\1\(.*\)\1.*$/\2/p" $CONFIG_STATUS | sed q | grep ''
+  if ! sed -n "s/^s\(.\)@$1@\1\(|#_!!_#|\)*\(.*\)\1.*$/\3/p" $CONFIG_STATUS | sed q | grep ''
   then
     echo 1>&2 "$me: $1: Configuration variable not found in $CONFIG_STATUS"
     exit 4