From: Jarkko Hietaniemi Date: Fri, 22 Jun 2001 01:16:58 +0000 (+0000) Subject: More gprofing from Doug MacEachern. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=64778e5fb295d7863aed7595c138348cf2333d4e;p=p5sagit%2Fp5-mst-13.2.git More gprofing from Doug MacEachern. p4raw-id: //depot/perl@10809 --- diff --git a/Makefile.SH b/Makefile.SH index 808ca9c..97c9925 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -549,13 +549,14 @@ perl.pixie: /usr/bin/pixie perl.pixie.config perl perl.config.dashpg: @echo "Checking optimize='-pg' in config.sh..." @grep "^optimize=" config.sh - @grep "^optimize='-pg'" config.sh >/dev/null || exit 1 + @grep "^optimize='.*-pg.*'" config.sh >/dev/null || exit 1 perl.gprof.config: config.sh @echo "To build perl.gprof you must Configure -Doptimize=-pg, checking..." @$(MAKE) perl.config.dashpg perl.gprof: /usr/bin/gprof perl.gprof.config + @-rm -f perl $(MAKE) PERL_SUFFIX=.gprof PERL_PROFILING=-pg perl @echo "Now you may run perl.gprof and then run gprof perl.gprof."