Commit 8b2bfb0b authored by Jonathan Perkin's avatar Jonathan Perkin

bug#45810: DTrace: build fails when 'dtrace' is not in PATH

Ensure full path to dtrace binary is used, fixes builds where
/usr/sbin is not in $PATH.
parent 5f1a6b4d
......@@ -14,7 +14,7 @@ DTRACEFLAGS=""
HAVE_DTRACE=""
HAVE_DTRACE_DASH_G=""
if test "$ENABLE_DTRACE" = "yes"; then
AC_CHECK_PROGS(DTRACE, dtrace, [not found], [$PATH:/usr/sbin])
AC_PATH_PROGS(DTRACE, dtrace, [not found], [$PATH:/usr/sbin])
if test "$DTRACE" = "not found"; then
ENABLE_DTRACE="no"
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment