2000-03-19 11:53:24 +00:00
|
|
|
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
|
|
|
|
|
2005-05-12 08:42:12 +00:00
|
|
|
# Edit Makefiles. This should go near the beginning of
|
|
|
|
# the substitutions script, before the branch command that
|
|
|
|
# skips any lines without @...@ in them.
|
|
|
|
# Any commands that can match again after substitution must
|
|
|
|
# do a conditional branch to next cycle (;t), or else Sed might hang.
|
|
|
|
/(echo[ ]*':t/a\
|
2000-03-19 11:53:24 +00:00
|
|
|
s,\\([yp*]\\)\\.tab,\\1_tab,g\
|
2005-05-12 08:42:12 +00:00
|
|
|
s,\\$@\\.tmp,\\$@_tmp,g\
|
|
|
|
s,\\$@\\.new,\\$@_new,g\
|
|
|
|
/^ @rm -f/s,\\$@-\\[0-9\\]\\[0-9\\],& *.i[1-9] *.i[1-9][0-9],;t\
|
2001-11-25 11:32:51 +00:00
|
|
|
s,standards\\.info\\*,standard*.inf*,\
|
|
|
|
s,configure\\.info\\*,configur*.inf*,\
|
2000-03-19 11:53:24 +00:00
|
|
|
s,\\.info\\*,.inf* *.i[1-9] *.i[1-9][0-9],\
|
|
|
|
s,\\.gdbinit,gdb.ini,g\
|
2005-05-12 08:42:12 +00:00
|
|
|
s,@PATH_SEPARATOR@,";",\
|
|
|
|
/TEXINPUTS=/s,:,";",g\
|
2003-12-29 07:35:35 +00:00
|
|
|
/VPATH *=/s,\\([^A-z]\\):,\\1;,g\
|
2005-05-12 08:42:12 +00:00
|
|
|
/\\$\\$file-\\[0-9\\]/s,echo,& *.i[1-9] *.i[1-9][0-9],;t\
|
|
|
|
/\\$\\$file-\\[0-9\\]/s,rm -f \\$\\$file,& \\${PACKAGE}.i[1-9] \\${PACKAGE}.i[1-9][0-9],;t\
|
|
|
|
s,config\\.h\\.in,config.h-in,g;t t\
|
|
|
|
s,po2tbl\\.sed\\.in,po2tblsed.in,g;t t
|
2003-12-29 07:35:35 +00:00
|
|
|
|
2005-05-12 08:42:12 +00:00
|
|
|
# Prevent splitting of config.status substitutions, because that
|
|
|
|
# might break multi-line sed commands.
|
|
|
|
/ac_max_sed_lines=[0-9]/s,=.*$,=`sed -n "$=" $tmp/subs.sed`,
|
2003-12-29 07:35:35 +00:00
|
|
|
|
|
|
|
/^ac_given_srcdir=/,/^CEOF/ {
|
|
|
|
/^s%@TOPLEVEL_CONFIGURE_ARGUMENTS@%/a\
|
2004-11-13 13:36:53 +00:00
|
|
|
/@test ! -f /s,\\(.\\)\$, export am_cv_exeext=.exe; export lt_cv_sys_max_cmd_len=12288; \\1,\
|
|
|
|
/@test -f stage_last /s,\\(.\\)\$, export am_cv_exeext=.exe; export lt_cv_sys_max_cmd_len=12288; \\1,
|
2003-12-29 07:35:35 +00:00
|
|
|
|
2000-03-19 11:53:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/^CONFIG_FILES=/,/^EOF/ {
|
2003-12-29 07:35:35 +00:00
|
|
|
s|po/Makefile.in\([^-:a-z]\)|po/Makefile.in:po/Makefile.in-in\1|
|
2000-03-19 11:53:24 +00:00
|
|
|
}
|
|
|
|
|
2003-12-29 07:35:35 +00:00
|
|
|
/^ *# *Handling of arguments/,/^done/ {
|
|
|
|
s| config.h"| config.h:config.h-in"|
|
|
|
|
s|config.h\([^-:"a-z]\)|config.h:config.h-in\1|
|
2000-03-19 11:53:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/^[ ]*\/\*)/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,
|
2000-11-13 14:24:46 +00:00
|
|
|
/^[ ]*if test "x`echo /s,sed 's@/,sed -e 's@^[A-z]:@@' -e 's@/,
|
2003-12-29 07:35:35 +00:00
|
|
|
/^ *ac_config_headers=/s, config.h", config.h:config.h-in",
|