aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-29 13:32:38 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-29 13:32:38 +0000
commita93a6a71eede6bf1abb1458e2ec50aba65cf7bb9 (patch)
tree2ff6d62f4f56eb8dd395c8e42d4aa435944f8d1c /acinclude.m4
parentc9833020fcf02fef50653eea6c1f43a0298897e0 (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: http://svn.digium.com/svn/asterisk/trunk@23335 f38db490-d61c-443f-a65b-d21fe96a405b
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"