|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-02-16 16:40 UTC] jon@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 07 18:00:01 2025 UTC |
Description: ------------ Some distros don't include a static libsasl.a, since there are anyway dynamic modules (in $libdir/sasl2). In such a case, sasl-0.1.0 thinks libsasl is not present at all and bails out. Patch below. Reproduce code: --------------- --- origsrc/sasl-0.1.0/config.m4 2004-01-23 02:34:28.000000000 -0600 +++ src/sasl-0.1.0/config.m4 2008-01-31 20:52:24.875000000 -0600 @@ -31,7 +31,7 @@ AC_MSG_CHECKING(for SASL library in $SASL_DIR/lib) for i in $SEARCH_LIBS; do - if test -r $SASL_DIR/lib/lib$i.a; then + if test -r $SASL_DIR/lib/lib$i.a -o -r $SASL_DIR/lib/lib$i.$SHLIB_SUFFIX_NAME; then SASL_LIB=$i AC_MSG_RESULT(found -l$i) fi