* config/djgpp/config.sed: Adapt to latest Autoconf.
[deliverable/binutils-gdb.git] / gdb / config / djgpp / config.sed
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
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\
12 s,\\([yp*]\\)\\.tab,\\1_tab,g\
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\
16 s,standards\\.info\\*,standard*.inf*,\
17 s,configure\\.info\\*,configur*.inf*,\
18 s,\\.info\\*,.inf* *.i[1-9] *.i[1-9][0-9],\
19 s,\\.gdbinit,gdb.ini,g\
20 s,@PATH_SEPARATOR@,";",\
21 /TEXINPUTS=/s,:,";",g\
22 /VPATH *=/s,\\([^A-z]\\):,\\1;,g\
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
27
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`,
31
32 /^ac_given_srcdir=/,/^CEOF/ {
33 /^s%@TOPLEVEL_CONFIGURE_ARGUMENTS@%/a\
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,
36
37 }
38
39 /^CONFIG_FILES=/,/^EOF/ {
40 s|po/Makefile.in\([^-:a-z]\)|po/Makefile.in:po/Makefile.in-in\1|
41 }
42
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|
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,
52 /^[ ]*if test "x`echo /s,sed 's@/,sed -e 's@^[A-z]:@@' -e 's@/,
53 /^ *ac_config_headers=/s, config.h", config.h:config.h-in",
This page took 0.031167 seconds and 4 git commands to generate.