From 5185c6369d2d84522d612bcde85229a5a4f90a71 Mon Sep 17 00:00:00 2001 From: "simon.zheng" Date: Mon, 12 Jun 2006 12:37:46 +0000 Subject: Fix for #336453 2006-06-12 simon.zheng Fix for #336453 * acinclude.m4: * configure.in: Add SunLDAP library support - a variant of Netscape LDAP. --- configure.in | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index bea1c9a31..b308eb4f5 100644 --- a/configure.in +++ b/configure.in @@ -1091,6 +1091,30 @@ no) esac esac +dnl ************************************************** +dnl SunLDAP support, but if OpenLDAP support, skip check SunLDAP. +dnl ************************************************** +if test "$with_openldap" = no ; then + EVO_SUNLDAP_CHECK(no) + case $with_sunldap in + no) + msg_ldap=no + ;; + *) + case $with_static_sunldap in + yes) + msg_ldap="$with_sunldap (static)" + ;; + *) + msg_ldap="$with_sunldap (dynamic)" + ;; + esac + esac +else + with_sunldap=no +fi +AM_CONDITIONAL(SUNLDAP, test "$with_sunldap" != no) + SAVE_CFLAGS="$CFLAGS" SAVE_LIBS="$LIBS" LDAP_CFLAGS="$LDAP_CFLAGS -DLDAP_DEPRECATED" -- cgit v1.2.1