if the "action-if-found" is left empty, AC_CHECK_LIB will add a default result

instead which can break things in the rest of the script (issue #7043)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23335 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant 2006-04-29 13:32:38 +00:00
parent 00f9884604
commit 1209c0ea58
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ esac
PBX_LIB$1=0
if test "${USE_$1}" != "no"; then
AC_CHECK_LIB([$1], [$2], [], [], -L${$1_DIR}/lib $6)
AC_CHECK_LIB([$1], [$2], [:], [], -L${$1_DIR}/lib $6)
if test "${ac_cv_lib_$1_$2}" = "yes"; then
$1_LIB="-l$1 $6"