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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user