1
0
mirror of https://github.com/MariaDB/server.git synced 2026-10-23 18:49:29 +03:00

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 1454b38b01
commit 1396786ed2

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