[svn-commits] twilson: trunk r272254 - /trunk/autoconf/ast_ext_tool_check.m4

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Jun 23 15:53:52 CDT 2010


Author: twilson
Date: Wed Jun 23 15:53:48 2010
New Revision: 272254

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=272254
Log:
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/

Modified:
    trunk/autoconf/ast_ext_tool_check.m4

Modified: trunk/autoconf/ast_ext_tool_check.m4
URL: http://svnview.digium.com/svn/asterisk/trunk/autoconf/ast_ext_tool_check.m4?view=diff&rev=272254&r1=272253&r2=272254
==============================================================================
--- trunk/autoconf/ast_ext_tool_check.m4 (original)
+++ trunk/autoconf/ast_ext_tool_check.m4 Wed Jun 23 15:53:48 2010
@@ -7,7 +7,7 @@
 [
     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)




More information about the svn-commits mailing list