Tru64: allow creating perl.pixie even with optimized Perl
Jarkko Hietaniemi [Sun, 5 Jun 2005 18:28:08 +0000 (21:28 +0300)]
Message-ID: <42A31A08.3070601@gmail.com>

p4raw-id: //depot/perl@24711

Makefile.SH

index 575273c..9b25126 100644 (file)
@@ -650,7 +650,7 @@ perl.valgrind.config: config.sh
 perl.config.dashg:
        @echo "Checking optimize='-g' in config.sh..."
        @grep "^optimize="     config.sh
-       @grep "^optimize='-g'" config.sh >/dev/null || exit 1
+       @egrep "^optimize='(-g|.*-g[1-3].*)'" config.sh >/dev/null || exit 1
 
 perl.third.config: config.sh
        @echo "To build perl.third you must Configure -Doptimize=-g -Uusemymalloc, checking..."