File php-5.3.0-ldap-checks.patch of Package php5.512

Index: ext/ldap/config.m4
===================================================================
--- ext/ldap/config.m4.orig	2007-09-26 17:44:16.000000000 +0200
+++ ext/ldap/config.m4	2010-08-03 06:31:19.419556000 +0200
@@ -50,7 +50,7 @@ AC_DEFUN([PHP_LDAP_SASL_CHECKS], [
     SASL_LIB="-L$LDAP_SASL_LIBDIR -lsasl2"
   fi
   
-  PHP_CHECK_LIBRARY(ldap, sasl_version,
+  PHP_CHECK_LIBRARY(sasl2, sasl_version,
   [
     PHP_ADD_INCLUDE($LDAP_SASL_INCDIR)
     PHP_ADD_LIBRARY_WITH_PATH(sasl2, $LDAP_SASL_LIBDIR, LDAP_SHARED_LIBADD)