X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/38b5fb0c18b35c9b1871f9a0f789e46efe395001..ae62d0fc4f3a19f24ee798ee3d7efbc3468ad659:/djgpp/config.sed diff --git a/djgpp/config.sed b/djgpp/config.sed index a30102da..d5a5807c 100644 --- a/djgpp/config.sed +++ b/djgpp/config.sed @@ -1,9 +1,8 @@ # DJGPP specific configuration file. # 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-2012 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -20,7 +19,11 @@ # 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\ # DJGPP specific Makefile changes.\ s,\\.deps,_deps,g\ @@ -62,7 +65,7 @@ yacc.bat:\\\\\ eof_djgpp\ sed -f "\$tmp/subs-djgpp.sed" \$tmp/out > \$tmp/out.djgpp\ mv -f \$tmp/out.djgpp \$tmp/out - +} # Makefile.in.in is renamed to Makefile.in-in. /ac_config_files=/ { @@ -179,3 +182,9 @@ G # The following is not a valid DOS file name 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 +}