]>
Commit | Line | Data |
---|---|---|
ded59a1e EZ |
1 | s|po2tbl\.sed\.in|po2tblsed.in|g |
2 | s|gdb\.c++|gdb.cxx|g | |
3 | /ac_rel_source/s|ln -s|cp -p| | |
4 | s|\.gdbinit|gdb.ini|g | |
5 | ||
b41cde44 EZ |
6 | # Edit Makefiles. This should go near the beginning of |
7 | # the substitutions script, before the branch command that | |
8 | # skips any lines without @...@ in them. | |
9 | # Any commands that can match again after substitution must | |
10 | # do a conditional branch to next cycle (;t), or else Sed might hang. | |
11 | /(echo[ ]*':t/a\ | |
ded59a1e | 12 | s,\\([yp*]\\)\\.tab,\\1_tab,g\ |
b41cde44 EZ |
13 | s,\\$@\\.tmp,\\$@_tmp,g\ |
14 | s,\\$@\\.new,\\$@_new,g\ | |
15 | /^ @rm -f/s,\\$@-\\[0-9\\]\\[0-9\\],& *.i[1-9] *.i[1-9][0-9],;t\ | |
c64a2835 EZ |
16 | s,standards\\.info\\*,standard*.inf*,\ |
17 | s,configure\\.info\\*,configur*.inf*,\ | |
ded59a1e EZ |
18 | s,\\.info\\*,.inf* *.i[1-9] *.i[1-9][0-9],\ |
19 | s,\\.gdbinit,gdb.ini,g\ | |
b41cde44 EZ |
20 | s,@PATH_SEPARATOR@,";",\ |
21 | /TEXINPUTS=/s,:,";",g\ | |
228a417c | 22 | /VPATH *=/s,\\([^A-z]\\):,\\1;,g\ |
b41cde44 EZ |
23 | /\\$\\$file-\\[0-9\\]/s,echo,& *.i[1-9] *.i[1-9][0-9],;t\ |
24 | /\\$\\$file-\\[0-9\\]/s,rm -f \\$\\$file,& \\${PACKAGE}.i[1-9] \\${PACKAGE}.i[1-9][0-9],;t\ | |
25 | s,config\\.h\\.in,config.h-in,g;t t\ | |
26 | s,po2tbl\\.sed\\.in,po2tblsed.in,g;t t | |
228a417c | 27 | |
b41cde44 EZ |
28 | # Prevent splitting of config.status substitutions, because that |
29 | # might break multi-line sed commands. | |
30 | /ac_max_sed_lines=[0-9]/s,=.*$,=`sed -n "$=" $tmp/subs.sed`, | |
228a417c EZ |
31 | |
32 | /^ac_given_srcdir=/,/^CEOF/ { | |
33 | /^s%@TOPLEVEL_CONFIGURE_ARGUMENTS@%/a\ | |
01e937bc EZ |
34 | /@test ! -f /s,\\(.\\)\$, export am_cv_exeext=.exe; export lt_cv_sys_max_cmd_len=12288; \\1,\ |
35 | /@test -f stage_last /s,\\(.\\)\$, export am_cv_exeext=.exe; export lt_cv_sys_max_cmd_len=12288; \\1, | |
228a417c | 36 | |
ded59a1e EZ |
37 | } |
38 | ||
39 | /^CONFIG_FILES=/,/^EOF/ { | |
228a417c | 40 | s|po/Makefile.in\([^-:a-z]\)|po/Makefile.in:po/Makefile.in-in\1| |
ded59a1e EZ |
41 | } |
42 | ||
228a417c EZ |
43 | /^ *# *Handling of arguments/,/^done/ { |
44 | s| config.h"| config.h:config.h-in"| | |
45 | s|config.h\([^-:"a-z]\)|config.h:config.h-in\1| | |
ded59a1e EZ |
46 | } |
47 | ||
48 | /^[ ]*\/\*)/s,/\*,/*|[A-z]:/*, | |
49 | /\$]\*) INSTALL=/s,\[/\$\]\*,&|[A-z]:/*, | |
50 | /\$]\*) ac_rel_source=/s,\[/\$\]\*,&|[A-z]:/*, | |
51 | /ac_file_inputs=/s,\( -e "s%\^%\$ac_given_srcdir/%"\)\( -e "s%:% $ac_given_srcdir/%g"\),\2\1, | |
158b3de0 | 52 | /^[ ]*if test "x`echo /s,sed 's@/,sed -e 's@^[A-z]:@@' -e 's@/, |
228a417c | 53 | /^ *ac_config_headers=/s, config.h", config.h:config.h-in", |