summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-22 01:16:58 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-22 01:16:58 +0000
commit64778e5fb295d7863aed7595c138348cf2333d4e (patch)
tree6239d0ae390ed3f25922b39790b195f2075910a6 /Makefile.SH
parent7483f793f873c80359ed468026803ea33269a0d2 (diff)
downloadperl-64778e5fb295d7863aed7595c138348cf2333d4e.tar.gz
More gprofing from Doug MacEachern.
p4raw-id: //depot/perl@10809
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.SH b/Makefile.SH
index 808ca9c504..97c9925531 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."