mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 16:53:02 +00:00
* djgpp/config.sed: Fixes required to run configure scripts generated by autoconf 2.62.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# DJGPP specific configuration file.
|
# DJGPP specific configuration file.
|
||||||
# Sed script for additional DJGPP specific editing
|
# Sed script for additional DJGPP specific editing
|
||||||
# of the configure script generated by autoconf 2.61.
|
# of the configure script generated by autoconf 2.62.
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
# Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
||||||
@@ -20,7 +20,11 @@
|
|||||||
|
|
||||||
|
|
||||||
# Additional editing of Makefiles
|
# Additional editing of Makefiles
|
||||||
/^".*ac_file_inputs.*tmp\/out$/ a\
|
/^eval sed.*ac_file_inputs.*tmp\/out \\$/ {
|
||||||
|
:loop
|
||||||
|
n
|
||||||
|
/^$/!b loop
|
||||||
|
a\
|
||||||
cat > "$tmp/subs-djgpp.sed" << eof_djgpp\
|
cat > "$tmp/subs-djgpp.sed" << eof_djgpp\
|
||||||
# DJGPP specific Makefile changes.\
|
# DJGPP specific Makefile changes.\
|
||||||
s,\\.deps,_deps,g\
|
s,\\.deps,_deps,g\
|
||||||
@@ -62,7 +66,7 @@ yacc.bat:\\\\\
|
|||||||
eof_djgpp\
|
eof_djgpp\
|
||||||
sed -f "\$tmp/subs-djgpp.sed" \$tmp/out > \$tmp/out.djgpp\
|
sed -f "\$tmp/subs-djgpp.sed" \$tmp/out > \$tmp/out.djgpp\
|
||||||
mv -f \$tmp/out.djgpp \$tmp/out
|
mv -f \$tmp/out.djgpp \$tmp/out
|
||||||
|
}
|
||||||
|
|
||||||
# Makefile.in.in is renamed to Makefile.in-in.
|
# Makefile.in.in is renamed to Makefile.in-in.
|
||||||
/ac_config_files=/ {
|
/ac_config_files=/ {
|
||||||
@@ -179,3 +183,9 @@ G
|
|||||||
|
|
||||||
# The following is not a valid DOS file name
|
# The following is not a valid DOS file name
|
||||||
s/calc++/calcxx/g
|
s/calc++/calcxx/g
|
||||||
|
|
||||||
|
# The CR test for awk does not work for DJGPP.
|
||||||
|
/^ac_cs_awk_cr=/,/^$/ {
|
||||||
|
/^fi$/ a\
|
||||||
|
ac_cs_awk_cr=$ac_cr
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user