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