From: Jarkko Hietaniemi Date: Sun, 18 Mar 2001 19:37:46 +0000 (+0000) Subject: Make perl.third checks more understandable to the builder. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cc4efec9546c05b8d12a33b0fef6915a804ba903;p=p5sagit%2Fp5-mst-13.2.git Make perl.third checks more understandable to the builder. p4raw-id: //depot/perl@9204 --- diff --git a/Makefile.SH b/Makefile.SH index a2cb1a2..7747d6c 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -507,8 +507,12 @@ quantperl: $& perlmain$(OBJ_EXT) $(LIBPERL) $(DYNALOADER) $(static_ext) ext.libs perl.third.config: config.sh @echo "To build perl.third you must Configure -Doptimize=-g -Uusemymalloc, checking..." - @grep "^optimize='-g'" config.sh || exit 1 - @grep "^usemymalloc='n'" config.sh || exit 1 + @echo "Checking optimize='-g'..." + @grep "^optimize=" config.sh + @grep -q "^optimize='-g'" config.sh || exit 1 + @echo "Checking usemymalloc='n'..." + @grep "^usemymalloc=" config.sh + @grep -q "^usemymalloc='n'" config.sh || exit 1 perl.third: /usr/bin/atom perl.third.config perl atom -tool third -L. -all -gp -toolargs="-quiet -invalid -uninit heap+stack+partword+copy -min 0" perl