1s|po2tbl\.sed\.in|po2tblsed.in|g
2s|gdb\.c++|gdb.cxx|g
3/ac_rel_source/s|ln -s|cp -p|
4s|\.gdbinit|gdb.ini|g
5# This works around a bug in DJGPP port of Bash 2.0x
6s|return $ac_retval|(&)|g
7# DJGPP port of Bash 2.04 doesn't like this redirection of stdin
8/exec 7</s|7<&0 </dev/null||
9# Make sure $PATH_SEPARATOR is set correctly
10/if test "${PATH_SEPARATOR+set}"/i\
11export PATH_SEPARATOR=';'
12
13# Edit Makefiles for 8+3 DOS file-name compliance and path separator.
14# This should go near the beginning of
15# the substitutions script, before the branch command that
16# skips any lines without @...@ in them.
17# Any commands that can match again after substitution must
18# do a conditional branch to next cycle (;t), or else Sed might hang.
19/\/@\[a-zA-Z_\]\[a-zA-Z_0-9\]\*@\/!b/i\
20  /VPATH *=/s,\\([^A-z]\\):,\\1;,g\
21  s,\\([yp*]\\)\\.tab,\\1_tab,g\
22  s,\\$@\\.tmp,\\$@_tmp,g\
23  s,\\$@\\.new,\\$@_new,g\
24  s,standards\\.info\\*,standard*.inf*,\
25  s,configure\\.info\\*,configur*.inf*,\
26  s,\\.info\\*,.inf* *.i[1-9] *.i[1-9][0-9],\
27  s,\\.gdbinit,gdb.ini,g\
28  /TEXINPUTS=/s,:,\\";\\",g\
29  s,config\\.h\\.in,config.h-in,g;t t\
30  /^	@rm -f/s,\\$@-\\[0-9\\]\\[0-9\\],& *.i[1-9] *.i[1-9][0-9],;t\
31  /\\$\\$file-\\[0-9\\]/s,echo,& *.i[1-9] *.i[1-9][0-9],;t\
32  /\\$\\$file-\\[0-9\\]/s,rm -f \\$\\$file,& \\${PACKAGE}.i[1-9] \\${PACKAGE}.i[1-9][0-9],;t
33
34# We have an emulation of nl_langinfo in go32-nat.c that supports CODESET.
35/^for ac_var in $ac_precious_vars; do/i\
36am_cv_langinfo_codeset=yes\
37bash_cv_langinfo_codeset=yes\
38ac_cv_header_nl_types_h=yes
39
40# Prevent splitting of config.status substitutions, because that
41# might break multi-line sed commands.
42/ac_max_sed_lines=[0-9]/s,=.*$,=`sed -n "$=" $tmp/subs.sed`,
43
44/^ac_given_srcdir=/,/^CEOF/ {
45  /^s%@TOPLEVEL_CONFIGURE_ARGUMENTS@%/a\
46  /@test ! -f /s,\\(.\\)\$, export am_cv_exeext=.exe; export lt_cv_sys_max_cmd_len=12288; \\1,\
47  /@test -f stage_last /s,\\(.\\)\$, export am_cv_exeext=.exe; export lt_cv_sys_max_cmd_len=12288; \\1,
48
49}
50
51/^ *# *Handling of arguments/,/^done/ {
52  s| config.h"| config.h:config.h-in"|
53  s| config.intl"| config.intl:config_intl.in"|
54  s|config.h\([^-:"a-z]\)|config.h:config.h-in\1|
55}
56
57/^[ 	]*\/\*)/s,/\*,/*|[A-z]:/*,
58/^ *ac_config_headers=/s, config.h", config.h:config.h-in",
59/^ *ac_config_files=/s, config.intl", config.intl:config_intl.in",
60