This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add darwin to the list of valgrind platforms
authorTony Cook <tony@develop-help.com>
Thu, 29 Sep 2011 05:43:02 +0000 (15:43 +1000)
committerTony Cook <tony@develop-help.com>
Thu, 29 Sep 2011 05:43:02 +0000 (15:43 +1000)
Makefile.SH

index 92300a4..fbd44ba 100755 (executable)
@@ -334,7 +334,7 @@ $make_set_make
 !GROK!THIS!
 
 case "${osname}" in
-linux*)
+linux*|darwin)
 $spitshell >>$Makefile <<!GROK!THIS!
 # If you're going to use valgrind and it can't be invoked as plain valgrind
 # then you'll need to change this, or override it on the make command line.
@@ -892,9 +892,9 @@ quant$(PERL_EXE): $& perlmain$(OBJ_EXT) $(LIBPERL) $(static_ext) ext.libs $(PERL
 !NO!SUBS!
 
 case "${osname}${osvers}" in
-linux*)
+linux*|darwin*)
        $spitshell >>$Makefile <<'!NO!SUBS!'
-# Valgrind perl (currently Linux only)
+# Valgrind perl (currently Linux, Darwin only)
 
 perl.valgrind.config: config.sh
        @echo "To build perl.valgrind you must Configure -Doptimize=-g -Uusemymalloc, checking..."
@@ -1454,7 +1454,7 @@ utest.utf16 ucheck.utf16: test_prep
 !NO!SUBS!
 
 case "${osname}${osvers}" in
-linux*)
+linux*|darwin*)
        $spitshell >>$Makefile <<'!NO!SUBS!'
 # Targets for valgrind testing: