aboutsummaryrefslogtreecommitdiffstats
path: root/autoconf
diff options
context:
space:
mode:
authortwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-23 23:40:16 +0000
committertwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-23 23:40:16 +0000
commit633604d98b15362e859b001618b62c63a34f6c56 (patch)
tree83cbfd5bba426c40ae3f8c5851e5e75f6f765ce5 /autoconf
parent1bafe3ab77fdee3f7636b9de8ded66c7d860b239 (diff)
Merged revisions 272254,272256 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r272254 | twilson | 2010-06-23 15:53:48 -0500 (Wed, 23 Jun 2010) | 10 lines 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/ ........ r272256 | twilson | 2010-06-23 15:59:17 -0500 (Wed, 23 Jun 2010) | 2 lines Update configure when changing autconf m4 files... ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@272440 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/ast_ext_tool_check.m42
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)