mirror of
git://git.sv.gnu.org/autoconf
synced 2025-01-30 11:01:45 +08:00
Fix a bug in the previous patch: it assumed that echo '...\...' had
the BSD interpretation rather than the SysV interpretation. Use a short here-document instead.
This commit is contained in:
parent
25387a6c8b
commit
68ad5f2fcb
@ -680,12 +680,14 @@ while :
|
||||
do
|
||||
# Write a here document:
|
||||
dnl Quote, for the `[ ]' and `define'.
|
||||
echo [' # First, check the format of the line:
|
||||
cat >"$tmp/defines.sed" <<\CEOF
|
||||
/^[ ]*#[ ]*undef[ ][ ]*'"$ac_word_re"'[ ]*$/b def
|
||||
/^[ ]*#[ ]*define[ ][ ]*'"$ac_word_re"'[( ]/b def
|
||||
[ cat >>$CONFIG_STATUS <<_ACEOF
|
||||
# First, check the format of the line:
|
||||
cat >"\$tmp/defines.sed" <<\\CEOF
|
||||
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
|
||||
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
|
||||
b
|
||||
:def'] >>$CONFIG_STATUS
|
||||
:def
|
||||
_ACEOF]
|
||||
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
|
||||
echo 'CEOF
|
||||
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
|
||||
|
Loading…
Reference in New Issue
Block a user