summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.SH b/Makefile.SH
index a2cb1a201e..7747d6cb5f 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