From 7047600b1b00b09e7b1f96dbac43d72f60e5b096 Mon Sep 17 00:00:00 2001 From: David MacKenzie Date: Wed, 20 Nov 1996 22:59:48 +0000 Subject: [PATCH] more fixups --- ChangeLog | 2 ++ acgeneral.m4 | 2 +- configure | 2 +- lib/autoconf/general.m4 | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index cdd3faa64..3ec8c5820 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,8 @@ Wed Nov 20 13:00:21 1996 David J MacKenzie * acgeneral.m4 (AC_OUTPUT): Remove a now-wrong test for whether to make an unquoted here document. + (AC_CACHE_SAVE): Double-up backslashes in double quotes. + From Paul Eggert. * Test release 2.11.1. diff --git a/acgeneral.m4 b/acgeneral.m4 index ba1e5779b..8574a46d4 100644 --- a/acgeneral.m4 +++ b/acgeneral.m4 @@ -1069,7 +1069,7 @@ changequote(, )dnl # turns \\\\ into \\, and sed turns \\ into \). sed -n \ -e "s/'/'\\\\''/g" \ - -e "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" + -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" ;; *) # `set' quotes correctly as required by POSIX, so do not add quotes. diff --git a/configure b/configure index 16668ef23..88807e186 100755 --- a/configure +++ b/configure @@ -762,7 +762,7 @@ EOF # turns \\\\ into \\, and sed turns \\ into \). sed -n \ -e "s/'/'\\\\''/g" \ - -e "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" + -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" ;; *) # `set' quotes correctly as required by POSIX, so do not add quotes. diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index ba1e5779b..8574a46d4 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -1069,7 +1069,7 @@ changequote(, )dnl # turns \\\\ into \\, and sed turns \\ into \). sed -n \ -e "s/'/'\\\\''/g" \ - -e "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" + -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" ;; *) # `set' quotes correctly as required by POSIX, so do not add quotes. -- 2.47.3