summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2016-03-18 23:29:44 +0000
committerDavid Mitchell <davem@iabyn.com>2016-03-18 23:29:44 +0000
commit5fa8e144165a5c086facccf35630b9c4a781c4ad (patch)
treefbd0c9190f8e0d0f0bc5d5fb4efba91cb1430702
parent34f817bafdabdc84f560b8d590af294880f66e67 (diff)
downloadperl-5fa8e144165a5c086facccf35630b9c4a781c4ad.tar.gz
Configure: silence 'dtrace -G' probe
When built with -Dusedtrace, Configure checks to see whether 'dtrace -G' is supported, by running it. If it fails, it may spew error messages to stderr, so use >/dev/null 2>&1.
-rwxr-xr-xConfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/Configure b/Configure
index 04265b3d5a..fd568632c9 100755
--- a/Configure
+++ b/Configure
@@ -8189,7 +8189,7 @@ int main(void) {
EOM
dtraceobject=$undef
if $cc -c -o try.o $optimize $ccflags try.c \
- && $dtrace -G -s ../perldtrace.d try.o ; then
+ && $dtrace -G -s ../perldtrace.d try.o >/dev/null 2>&1; then
dtraceobject=$define
echo "Your dtrace builds an object file"
fi