From: Akim Demaille Date: Tue, 30 Jan 2001 10:42:36 +0000 (+0000) Subject: * autoheader.sh: Don't pass a string to 'echo' that might X-Git-Tag: autoconf-2.50~174 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4d2b6bfb9aaac4dda38d8a227d95ab509807ecf9;p=thirdparty%2Fautoconf.git * autoheader.sh: Don't pass a string to 'echo' that might possibly contain backslashes. --- diff --git a/ChangeLog b/ChangeLog index 5875edb87..5c4f6b058 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-01-30 Paul Eggert + + * autoheader.sh: Don't pass a string to 'echo' that might + possibly contain backslashes. + 2001-01-29 Pavel Roskin Don't use filenames that can be reduced to "conftest" on DOS. diff --git a/autoheader.in b/autoheader.in index 6b2b5d3dc..bac5d6f26 100644 --- a/autoheader.in +++ b/autoheader.in @@ -310,8 +310,11 @@ test -r $localdir/acconfig.h && # Dump the templates from `configure.ac'. for verb in `(set) 2>&1 | sed -n -e '/^ac_verbatim/s/^\([^=]*\)=.*$/\1/p' | sort`; do - echo >>$tmp/config.hin - eval echo '"${'$verb'}"' >>$tmp/config.hin + eval value=\$$verb + cat >>$tmp/config.hin <&1 | sed -n -e '/^ac_verbatim/s/^\([^=]*\)=.*$/\1/p' | sort`; do - echo >>$tmp/config.hin - eval echo '"${'$verb'}"' >>$tmp/config.hin + eval value=\$$verb + cat >>$tmp/config.hin <&1 | sed -n -e '/^ac_verbatim/s/^\([^=]*\)=.*$/\1/p' | sort`; do - echo >>$tmp/config.hin - eval echo '"${'$verb'}"' >>$tmp/config.hin + eval value=\$$verb + cat >>$tmp/config.hin <