summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorsimon.zheng <simon.zheng@sun.com>2006-06-12 12:37:46 +0000
committerSimon Zheng <simonz@src.gnome.org>2006-06-12 12:37:46 +0000
commit5185c6369d2d84522d612bcde85229a5a4f90a71 (patch)
treefd3c0640776249a70daf91d59682a5602d693163 /configure.in
parentcd4bc38abd0c98b1a4d4a3e22955c9afdc5506d8 (diff)
downloadevolution-data-server-5185c6369d2d84522d612bcde85229a5a4f90a71.tar.gz
Fix for #336453
2006-06-12 simon.zheng <simon.zheng@sun.com> Fix for #336453 * acinclude.m4: * configure.in: Add SunLDAP library support - a variant of Netscape LDAP.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in24
1 files changed, 24 insertions, 0 deletions
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"