diff options
author | twilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-06-23 20:53:48 +0000 |
---|---|---|
committer | twilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-06-23 20:53:48 +0000 |
commit | eff48b811b514690018f0b143bb4c3de72e43704 (patch) | |
tree | 5ef5f497f2283905a9ad49c1c9643bdd823f3f29 /autoconf | |
parent | 07326210de883f411649d618293fbd12fa95f437 (diff) |
Honor the --with-${library}=path for AST_EXT_TOOL_CHECK
(closes issue #16991)
Reported by: pprindeville
Patches:
with_netsnmp.patch.txt uploaded by twilson (license 396)
Tested by: twilson
Review: https://reviewboard.asterisk.org/r/739/
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@272254 f38db490-d61c-443f-a65b-d21fe96a405b
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 8cd30407f..16e95c49f 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, No) + AC_PATH_TOOL(CONFIG_$1, $2, 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) |