diff options
author | Jonathan Perkin <jperkin@sun.com> | 2009-10-14 12:15:46 +0100 |
---|---|---|
committer | Jonathan Perkin <jperkin@sun.com> | 2009-10-14 12:15:46 +0100 |
commit | 1396786ed2bdfcb80c82e2bfb6201db483f25945 (patch) | |
tree | 612a2529f37be900c0ff0db746b3f7e1dc97c0c8 /config | |
parent | 1454b38b01a3977dec6803b4dea7f0d85c8068b7 (diff) | |
download | mariadb-git-1396786ed2bdfcb80c82e2bfb6201db483f25945.tar.gz |
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.
Diffstat (limited to 'config')
-rw-r--r-- | config/ac-macros/dtrace.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/ac-macros/dtrace.m4 b/config/ac-macros/dtrace.m4 index d0570a5faf5..a42d78d97fe 100644 --- a/config/ac-macros/dtrace.m4 +++ b/config/ac-macros/dtrace.m4 @@ -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 |