Bug reported by Paul Flinders <paul@dawa.demon.co.uk>:

* Makefile.in (init.c): Restore '-n' option in sed command.
This commit is contained in:
Fred Fish 1996-10-11 17:23:14 +00:00
parent e96dc1f7d4
commit 7b6244ebcf
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Fri Oct 11 10:20:06 1996 Fred Fish <fnf@cygnus.com>
Bug reported by Paul Flinders <paul@dawa.demon.co.uk>:
* Makefile.in (init.c): Restore '-n' option in sed command.
Thu Oct 10 16:32:08 1996 Stu Grossman (grossman@critters.cygnus.com)
* Makefile.in (init.c): Fixup final sed script to work around

View File

@ -603,7 +603,7 @@ init.c: $(OBS) $(TSOBS)
-e 's/\.o/.c/' \
-e 's|\([^ ][^ ]*\)|$(srcdir)/\1|g' | \
xargs grep -s '^_initialize_[a-z_0-9A-Z]* *(' | \
sed -e 's/^.*://' -e 's/^\([a-z_0-9A-Z]*\).*/ {extern void \1 PARAMS ((void)); \1 ();}/' >>init.c-tmp
sed -n -e 's/^.*://' -e 's/^\([a-z_0-9A-Z]*\).*/ {extern void \1 PARAMS ((void)); \1 ();}/' >>init.c-tmp
@echo '}' >>init.c-tmp
@mv init.c-tmp init.c