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.
This commit is contained in:
David Mitchell 2016-03-18 23:29:44 +00:00
parent 34f817bafd
commit 5fa8e14416

View File

@ -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