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