Skip to content

Commit

Permalink
Configure: silence 'dtrace -G' probe
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
iabyn committed Mar 18, 2016
1 parent 34f817b commit 5fa8e14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Configure
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5fa8e14

Please sign in to comment.