X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=configure.in;h=ab6751e87bbbbebcc864ae414cff2be980190b56;hb=1df85d3427c287086df4ef41ef0edb1fa7e5bcec;hp=cc95802472e3cf381df48a85fb5d15b7ff1ecd98;hpb=d490fd9f794be8866605998e7eff5add81f13ac9;p=openldap diff --git a/configure.in b/configure.in index cc95802472..ab6751e87b 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ dnl $OpenLDAP$ dnl This work is part of OpenLDAP Software . dnl -dnl Copyright 1998-2015 The OpenLDAP Foundation. +dnl Copyright 1998-2017 The OpenLDAP Foundation. dnl All rights reserved. dnl dnl Redistribution and use in source and binary forms, with or without @@ -23,7 +23,7 @@ define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl define([AC_LIBTOOL_LANG_GCJ_CONFIG], [:])dnl dnl ================================================================ dnl Configure.in for OpenLDAP -AC_COPYRIGHT([[Copyright 1998-2015 The OpenLDAP Foundation. All rights reserved. +AC_COPYRIGHT([[Copyright 1998-2017 The OpenLDAP Foundation. All rights reserved. Restrictions apply, see COPYRIGHT and LICENSE files.]]) AC_REVISION([$Id$]) AC_INIT([OpenLDAP],,[http://www.openldap.org/its/]) @@ -98,7 +98,7 @@ AH_TOP([ /* begin of portable.h.pre */ /* This work is part of OpenLDAP Software . * - * Copyright 1998-2015 The OpenLDAP Foundation + * Copyright 1998-2017 The OpenLDAP Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -288,6 +288,7 @@ Backends="bdb \ ldap \ mdb \ meta \ + asyncmeta \ monitor \ ndb \ null \ @@ -316,6 +317,8 @@ OL_ARG_ENABLE(mdb,[ --enable-mdb enable mdb database backend], yes, [no yes mod], ol_enable_backends)dnl OL_ARG_ENABLE(meta,[ --enable-meta enable metadirectory backend], no, [no yes mod], ol_enable_backends)dnl +OL_ARG_ENABLE(asyncmeta,[ --enable-asyncmeta enable asynchronous metadirectory backend], + no, [no yes mod], ol_enable_backends)dnl OL_ARG_ENABLE(monitor,[ --enable-monitor enable monitor backend], yes, [no yes mod], ol_enable_backends)dnl OL_ARG_ENABLE(ndb,[ --enable-ndb enable MySQL NDB Cluster backend], @@ -480,6 +483,7 @@ elif test $ol_enable_modules != yes && test $ol_enable_ldap = no && test $ol_enable_mdb = no && test $ol_enable_meta = no && + test $ol_enable_asyncmeta = no && test $ol_enable_monitor = no && test $ol_enable_ndb = no && test $ol_enable_null = no && @@ -504,6 +508,10 @@ if test $ol_enable_meta/$ol_enable_ldap = yes/no ; then AC_MSG_ERROR([--enable-meta requires --enable-ldap]) fi +if test $ol_enable_asyncmeta/$ol_enable_ldap = yes/no ; then + AC_MSG_ERROR([--enable-asyncmeta requires --enable-ldap]) +fi + if test $ol_enable_lmpasswd = yes ; then if test $ol_with_tls = no ; then AC_MSG_ERROR([LAN Manager passwords require OpenSSL]) @@ -543,6 +551,7 @@ BUILD_HDB=no BUILD_LDAP=no BUILD_MDB=no BUILD_META=no +BUILD_ASYNCMETA=no BUILD_MONITOR=no BUILD_NDB=no BUILD_NULL=no @@ -1170,7 +1179,7 @@ if test $ol_with_tls = openssl || test $ol_with_tls = auto ; then AC_CHECK_HEADERS(openssl/ssl.h) if test $ac_cv_header_openssl_ssl_h = yes ; then - AC_CHECK_LIB(ssl, SSL_library_init, + AC_CHECK_LIB(ssl, SSL_CTX_set_msg_callback, [have_openssl=yes need_rsaref=no], [have_openssl=no], [-lcrypto]) @@ -2736,6 +2745,20 @@ if test "$ol_enable_meta" != no ; then AC_DEFINE_UNQUOTED(SLAPD_META,$MFLAG,[define to support LDAP Metadirectory backend]) fi +if test "$ol_enable_asyncmeta" != no ; then + BUILD_SLAPD=yes + BUILD_ASYNCMETA=$ol_enable_asyncmeta + BUILD_REWRITE=yes + if test "$ol_enable_asyncmeta" = mod ; then + SLAPD_DYNAMIC_BACKENDS="$SLAPD_DYNAMIC_BACKENDS back-asyncmeta" + MFLAG=SLAPD_MOD_DYNAMIC + else + SLAPD_STATIC_BACKENDS="$SLAPD_STATIC_BACKENDS back-asyncmeta" + MFLAG=SLAPD_MOD_STATIC + fi + AC_DEFINE_UNQUOTED(SLAPD_ASYNCMETA,$MFLAG,[define to support LDAP Async Metadirectory backend]) +fi + if test "$ol_enable_ndb" != no ; then BUILD_SLAPD=yes BUILD_NDB=$ol_enable_ndb @@ -3142,6 +3165,7 @@ dnl backends AC_SUBST(BUILD_LDAP) AC_SUBST(BUILD_MDB) AC_SUBST(BUILD_META) + AC_SUBST(BUILD_ASYNCMETA) AC_SUBST(BUILD_MONITOR) AC_SUBST(BUILD_NDB) AC_SUBST(BUILD_NULL) @@ -3253,6 +3277,7 @@ AC_CONFIG_FILES([Makefile:build/top.mk:Makefile.in:build/dir.mk] [servers/slapd/back-ldif/Makefile:build/top.mk:servers/slapd/back-ldif/Makefile.in:build/mod.mk] [servers/slapd/back-mdb/Makefile:build/top.mk:servers/slapd/back-mdb/Makefile.in:build/mod.mk] [servers/slapd/back-meta/Makefile:build/top.mk:servers/slapd/back-meta/Makefile.in:build/mod.mk] +[servers/slapd/back-asyncmeta/Makefile:build/top.mk:servers/slapd/back-asyncmeta/Makefile.in:build/mod.mk] [servers/slapd/back-monitor/Makefile:build/top.mk:servers/slapd/back-monitor/Makefile.in:build/mod.mk] [servers/slapd/back-ndb/Makefile:build/top.mk:servers/slapd/back-ndb/Makefile.in:build/mod.mk] [servers/slapd/back-null/Makefile:build/top.mk:servers/slapd/back-null/Makefile.in:build/mod.mk] @@ -3279,7 +3304,7 @@ rm -f $BACKENDSC cat > $BACKENDSC << ENDX /* This work is part of OpenLDAP Software . * - * Copyright 1998-2015 The OpenLDAP Foundation. + * Copyright 1998-2017 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -3330,7 +3355,7 @@ rm -f $OVERLAYSC cat > $OVERLAYSC << ENDX /* This work is part of OpenLDAP Software . * - * Copyright 1998-2015 The OpenLDAP Foundation. + * Copyright 1998-2017 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without