All pastes #276470 Raw Edit

Miscellany

public text v1 · immutable
·published 2006-12-12 11:07 UTC
rendered paste body
--- php5-ldap-5.2.0/config.m4.orig      2006-12-12 14:50:40 +0500
+++ php5-ldap-5.2.0/config.m4   2006-12-12 15:32:13 +0500
@@ -173,13 +173,16 @@

   dnl Solaris 2.8 claims to be 2004 API, but doesn't have
   dnl ldap_parse_reference() nor ldap_start_tls_s()
-  AC_CHECK_FUNCS([ldap_parse_result ldap_parse_reference ldap_start_tls_s])
-
+  AC_CHECK_HEADERS(ldap.h)
+  AC_CHECK_LIB(ldap, ldap_parse_result)
+  AC_CHECK_LIB(ldap, ldap_parse_reference)
+  AC_CHECK_LIB(ldap, ldap_start_tls_s)
   dnl
   dnl SASL check
   dnl
   if test "$PHP_LDAP_SASL" != "no"; then
-    PHP_LDAP_SASL_CHECKS([$PHP_LDAP_SASL])
+    AC_CHECK_HEADERS(sasl/sasl.h)
+    AC_CHECK_LIB(sasl, sasl_version)
   fi

   dnl