This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[PATCH] Support for SystemTap's dtrace compatibility layer and issues linking miniperl
authorH.Merijn Brand <merijn@nb09.procura.nl>
Sat, 13 Feb 2010 18:05:29 +0000 (19:05 +0100)
committerH.Merijn Brand <merijn@nb09.procura.nl>
Sat, 13 Feb 2010 18:05:29 +0000 (19:05 +0100)
U/perl/usedtrace.U

index 64ffb38..7345d0d 100644 (file)
@@ -28,6 +28,8 @@
 ?LINT:set dtrace
 : DTrace support
 dflt_dtrace='/usr/sbin/dtrace'
+$test -x /usr/bin/dtrace && dflt_dtrace='/usr/bin/dtrace'
+
 cat <<EOM
 
 Perl can be built to support DTrace on platforms that support it.