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.
This commit is contained in:
Jonathan Perkin 2009-10-14 12:15:46 +01:00
parent b16e88b292
commit e745ae7927

View File

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