[asterisk-commits] trunk r23335 - /trunk/acinclude.m4

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat Apr 29 06:32:39 MST 2006


Author: russell
Date: Sat Apr 29 08:32:38 2006
New Revision: 23335

URL: http://svn.digium.com/view/asterisk?rev=23335&view=rev
Log:
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)

Modified:
    trunk/acinclude.m4

Modified: trunk/acinclude.m4
URL: http://svn.digium.com/view/asterisk/trunk/acinclude.m4?rev=23335&r1=23334&r2=23335&view=diff
==============================================================================
--- trunk/acinclude.m4 (original)
+++ trunk/acinclude.m4 Sat Apr 29 08:32:38 2006
@@ -20,7 +20,7 @@
 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"



More information about the asterisk-commits mailing list