Skip to content
Snippets Groups Projects
Commit 1209c0ea authored by Russell Bryant's avatar Russell Bryant
Browse files

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
parent 00f98846
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment