Lines Matching refs:ldap
2 if test -f $1/include/ldap.h; then
6 elif test -f $1/ldap/public/ldap.h; then
8 LDAP_INCDIR=$1/ldap/public
12 dnl ldap extension and cannot be built. Use OpenLDAP on Solaris.
16 dnl given lib path e.g. for --with-ldap=/usr/lib/oracle/12.1/client64/lib
30 if test -f $OCISDKRPMINC/ldap.h; then
35 elif test -f $1/sdk/include/ldap.h; then
43 PHP_ARG_WITH([ldap],
45 [AS_HELP_STRING([[--with-ldap[=DIR]]],
48 PHP_ARG_WITH([ldap-sasl],
50 [AS_HELP_STRING([--with-ldap-sasl],
56 PHP_NEW_EXTENSION([ldap],
57 [ldap.c],
67 AS_VAR_IF([LDAP_DIR],, [AC_MSG_ERROR([Cannot find ldap.h])])
73 [Define to 1 if the ldap extension uses the Oracle Instant Client.])
77 PHP_ADD_LIBRARY_WITH_PATH([ldap], [$LDAP_LIBDIR], [LDAP_SHARED_LIBADD])
80 PHP_ADD_LIBRARY_WITH_PATH([ldap], [$LDAP_LIBDIR], [LDAP_SHARED_LIBADD])
95 AC_MSG_ERROR([Cannot find ldap libraries in $LDAP_LIBDIR.])
101 [Define to 1 if the PHP extension 'ldap' is available.])
112 [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <ldap.h>],
141 [Define to 1 if the ldap extension has SASL support enabled.])