match the change made to AST_EXT_LIB in asterisk-addons

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36960 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2006-07-05 00:01:32 +00:00
parent 130ce69987
commit 95c0ddd674
3 changed files with 34 additions and 34 deletions

View File

@@ -22,7 +22,7 @@ PBX_LIB$4=0
if test "${USE_$4}" != "no"; then
pbxlibdir=""
if test "x${$4_DIR}" != "x"; then
pbxlibdir="-L${$1_DIR}/lib"
pbxlibdir="-L${$1_DIR} -L${$1_DIR}/lib"
fi
AC_CHECK_LIB([$1], [$2], [AST_$4_FOUND=yes], [AST_$4_FOUND=no], ${pbxlibdir} $6)