mirror of
https://github.com/Perl/perl5.git
synced 2026-01-26 08:38:23 +00:00
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:
parent
34f817bafd
commit
5fa8e14416
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user