summaryrefslogtreecommitdiff
path: root/gdb/config/djgpp/config.sed
blob: e048cae287ecd66ee79668536c3a6605f3d2279b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
s|po2tbl\.sed\.in|po2tblsed.in|g
s|gdb\.c++|gdb.cxx|g
/ac_rel_source/s|ln -s|cp -p|
s|\.gdbinit|gdb.ini|g

/ac_given_INSTALL=/,/^CEOF/ {
  /^s%@prefix@%/a\
  s,\\([yp*]\\)\\.tab,\\1_tab,g\
  /^	@rm -f/s,\\$@-\\[0-9\\]\\[0-9\\],&$*.i[1-9] $*[1-9][0-9],\
  s,\\.info\\*,.inf* *.i[1-9] *.i[1-9][0-9],\
  s,\\.gdbinit,gdb.ini,g\
  /TEXINPUTS=/s,:,';',g\
  /VPATH *=/s,:,;,g\
  /\\$\\$file-\\[0-9\\]/s,echo,& *.i[1-9] *.i[1-9][0-9],\
  s,config\\.h\\.in,config.h-in,g\
  s,po2tbl\\.sed\\.in,po2tblsed.in,g
}

/^CONFIG_FILES=/,/^EOF/ {
  s|po/Makefile.in\([^-:]\)|po/Makefile.in:po/Makefile.in-in\1|
}

/^ *CONFIG_HEADERS=/,/^EOF/ {
  s|config.h\([^-:]\)|config.h:config.h-in\1|
}

/^[ 	]*\/\*)/s,/\*,/*|[A-z]:/*,
/\$]\*) INSTALL=/s,\[/\$\]\*,&|[A-z]:/*,
/\$]\*) ac_rel_source=/s,\[/\$\]\*,&|[A-z]:/*,
/ac_file_inputs=/s,\( -e "s%\^%\$ac_given_srcdir/%"\)\( -e "s%:% $ac_given_srcdir/%g"\),\2\1,