From 1209c0ea58fc900d7f6469395ee486eb4ae4206a Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Sat, 29 Apr 2006 13:32:38 +0000 Subject: 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 --- acinclude.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'acinclude.m4') diff --git a/acinclude.m4 b/acinclude.m4 index 1741d8d4f..ebd8b997f 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -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" -- cgit v1.2.3