summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2006-04-29 13:32:38 +0000
committerRussell Bryant <russell@russellbryant.com>2006-04-29 13:32:38 +0000
commit1209c0ea58fc900d7f6469395ee486eb4ae4206a (patch)
tree2ff6d62f4f56eb8dd395c8e42d4aa435944f8d1c /acinclude.m4
parent00f9884604d23430e1c8bd2285af37fb6d24149b (diff)
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
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
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"