* config/djgpp/config.sed: Fix tweaking "VPATH=.:foo", and handle
[external/binutils.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 /ac_given_INSTALL=/,/^CEOF/ {
7   /^s%@prefix@%/a\
8   s,\\([yp*]\\)\\.tab,\\1_tab,g\
9   /^    @rm -f/s,\\$@-\\[0-9\\]\\[0-9\\],& *.i[1-9] *.i[1-9][0-9],\
10   s,\\.info\\*,.inf* *.i[1-9] *.i[1-9][0-9],\
11   s,\\.gdbinit,gdb.ini,g\
12   /TEXINPUTS=/s,:,';',g\
13   /VPATH *=/s,\\([^A-z]\\):,\1;,g\
14   /\\$\\$file-\\[0-9\\]/s,echo,& *.i[1-9] *.i[1-9][0-9],\
15   /\\$\\$file-\\[0-9\\]/s,rm -f \\$\\$file,& \\${PACKAGE}.i[1-9] \\${PACKAGE}.i[1-9][0-9],\
16   s,config\\.h\\.in,config.h-in,g\
17   s,po2tbl\\.sed\\.in,po2tblsed.in,g
18 }
19
20 /^CONFIG_FILES=/,/^EOF/ {
21   s|po/Makefile.in\([^-:]\)|po/Makefile.in:po/Makefile.in-in\1|
22 }
23
24 /^ *CONFIG_HEADERS=/,/^EOF/ {
25   s|config.h\([^-:]\)|config.h:config.h-in\1|
26 }
27
28 /^[     ]*\/\*)/s,/\*,/*|[A-z]:/*,
29 /\$]\*) INSTALL=/s,\[/\$\]\*,&|[A-z]:/*,
30 /\$]\*) ac_rel_source=/s,\[/\$\]\*,&|[A-z]:/*,
31 /ac_file_inputs=/s,\( -e "s%\^%\$ac_given_srcdir/%"\)\( -e "s%:% $ac_given_srcdir/%g"\),\2\1,
32 /^[     ]*if test "x`echo /s,sed 's@/,sed -e 's@^[A-z]:@@' -e 's@/,