diff options
Diffstat (limited to 'autoconf')
-rw-r--r-- | autoconf/ast_ext_tool_check.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoconf/ast_ext_tool_check.m4 b/autoconf/ast_ext_tool_check.m4 index 22ea17b90..bbb522f04 100644 --- a/autoconf/ast_ext_tool_check.m4 +++ b/autoconf/ast_ext_tool_check.m4 @@ -7,7 +7,7 @@ AC_DEFUN([AST_EXT_TOOL_CHECK], [ if test "x${PBX_$1}" != "x1" -a "${USE_$1}" != "no"; then PBX_$1=0 - AC_CHECK_TOOL(CONFIG_$1, $2-config, No) + AC_PATH_TOOL(CONFIG_$1, $2-config, No, [${$1_DIR}/bin:$PATH]) if test ! "x${CONFIG_$1}" = xNo; then if test x"$3" = x ; then A=--cflags ; else A="$3" ; fi $1_INCLUDE=$(${CONFIG_$1} $A) |