From: Ken Raeburn Date: Thu, 13 Oct 2005 01:20:42 +0000 (+0000) Subject: * libnover.in (PARSE_OBJLISTS): Die on warnings (including input file not found). X-Git-Tag: ms-bug-test-20060525~113 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6343c3d728e79f313c1c0eac25d28c3d6a3cb3c9;p=krb5.git * libnover.in (PARSE_OBJLISTS): Die on warnings (including input file not found). * lib.in (PARSE_OBJLISTS): Likewise. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17422 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/config/ChangeLog b/src/config/ChangeLog index 8b14118ea..919c45af7 100644 --- a/src/config/ChangeLog +++ b/src/config/ChangeLog @@ -1,3 +1,9 @@ +2005-10-12 Ken Raeburn + + * libnover.in (PARSE_OBJLISTS): Die on warnings (including input + file not found). + * lib.in (PARSE_OBJLISTS): Likewise. + 2005-10-04 Ken Raeburn * post.in ($(BUILDTOP)/.depend-verify-db, depend-verify-db-k5, diff --git a/src/config/lib.in b/src/config/lib.in index 1107b761d..760294d28 100644 --- a/src/config/lib.in +++ b/src/config/lib.in @@ -33,7 +33,7 @@ PFOBJLISTS=$(STOBJLISTS:.ST=.PF) dummy-target-1 $(SUBDIROBJLISTS) $(SUBDIROBJLISTS:.ST=.SH) $(SUBDIROBJLISTS:.ST=.PF): all-recurse # Gets invoked as $(PARSE_OBJLISTS) list-of-OBJS.*-files -PARSE_OBJLISTS= set -x && $(PERL) -p -e '$$e=$$ARGV; $$e =~ s/OBJS\...$$//; s/^/ /; s/ $$//; s/ / $$e/g;' +PARSE_OBJLISTS= set -x && $(PERL) -p -e 'BEGIN { $$SIG{__WARN__} = sub {die @_} }; $$e=$$ARGV; $$e =~ s/OBJS\...$$//; s/^/ /; s/ $$//; s/ / $$e/g;' lib$(LIBBASE)$(STLIBEXT): $(STOBJLISTS) $(RM) $@ diff --git a/src/config/libnover.in b/src/config/libnover.in index d063a48f2..4ce74b6ca 100644 --- a/src/config/libnover.in +++ b/src/config/libnover.in @@ -31,7 +31,7 @@ SHOBJLISTS=$(STOBJLISTS:.ST=.SH) dummy-target-1 $(SUBDIROBJLISTS) $(SUBDIROBJLISTS:.ST=.SH) $(SUBDIROBJLISTS:.ST=.PF): all-recurse # Gets invoked as $(PARSE_OBJLISTS) list-of-OBJS.*-files -PARSE_OBJLISTS= set -x && $(PERL) -p -e '$$e=$$ARGV; $$e =~ s/OBJS\...$$//; s/^/ /; s/ $$//; s/ / $$e/g;' +PARSE_OBJLISTS= set -x && $(PERL) -p -e 'BEGIN { $$SIG{__WARN__} = sub {die @_} }; $$e=$$ARGV; $$e =~ s/OBJS\...$$//; s/^/ /; s/ $$//; s/ / $$e/g;' SHLIBVEXT=$(SHLIBEXT) LIBLIST=$(LIBBASE)$(SHLIBEXT)