#ifndef _CONFIG_H_LDAP_PLUGIN #define _CONFIG_H_LDAP_PLUGIN /* CFLAGS for the build type "Debug" */ #cmakedefine CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}" /* LFLAGS for the build type "Debug" */ #cmakedefine CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG}" /* Where are the cmake modules? */ #cmakedefine CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}" /* LFLAGS for the build type "Debug" */ #cmakedefine CMAKE_SHARED_LINKER_FLAGS_DEBUG "${CMAKE_SHARED_LINKER_FLAGS_DEBUG}" /* Does the program "dot" exist? Useful for doxygen based documentation of the source code */ #cmakedefine HAVE_DOT /********************************************************/ /* There are two alternatives for us which LDAP client library to use: */ /****** 1. libldap and from openldap: http://www.openldap.org/ ******/ /* Whether or not libldap from openldap has been found. */ #cmakedefine LIBLDAP_FOUND /* Whether or not liblber from openldap has been found. */ #cmakedefine LIBLBER_FOUND /* Whether or not libldap from openldap is to be used. */ #cmakedefine USE_OPENLDAP /* Where is the ldap.h from openldap? */ #cmakedefine LDAP_INCLUDE_DIR "${LDAP_INCLUDE_DIR}" /* Where is the lber.h from openldap? */ #cmakedefine LBER_INCLUDE_DIR "${LBER_INCLUDE_DIR}" /* Where is libldap.so from openldap? */ #cmakedefine LDAP_LIBRARY "${LDAP_LIBRARY}" /* Where is liblber.so from openldap? */ #cmakedefine LBER_LIBRARY "${LBER_LIBRARY}" /* In which directories can libldap.so be found? */ #cmakedefine LDAP_LIBRARY_DIRS "${LDAP_LIBRARY_DIRS}" /* In which directories can liblber.so be found? */ #cmakedefine LBER_LIBRARY_DIRS "${LBER_LIBRARY_DIRS}" /****** 2. libldap60 from Mozilla: http://www.mozilla.org/directory/csdk.html *******/ /* Whether or not libldap60 from Mozilla has been found. */ #cmakedefine LIBMOZLDAP_FOUND /* Whether or not libldap60 from Mozilla is to be used. */ #cmakedefine USE_MOZLDAP /* Where is "mozldap/ldap.h" from Mozilla? Please note: You must write "include " to use this, not just "include ". (deliberately left out the hash sign/number sign here to avoid confusing the preprocessor) */ #cmakedefine MOZLDAP_INCLUDE_DIR "${MOZLDAP_INCLUDE_DIR}" /* Where is ldap.h from Mozilla, as pkg-config puts it. And this means, that one would have to "include " WITHOUT prefixing it with "mozldap/". Be careful with writing the header files on systems where both of these client libraries are installed. */ #cmakedefine LIBMOZLDAP_INCLUDEDIR "${LIBMOZLDAP_INCLUDEDIR}" /* Again, as pkg-config puts it: */ #cmakedefine LIBMOZLDAP_INCLUDE_DIRS "${LIBMOZLDAP_INCLUDE_DIRS}" /* Where is libldap60 from Mozilla? */ #cmakedefine MOZLDAP_LIBRARY "${MOZLDAP_LIBRARY}" /* Which libraries do we need to link against? */ #cmakedefine LIBMOZLDAP_LIBRARIES "${LIBMOZLDAP_LIBRARIES}" /* Where is libldap60 from Mozilla? As pkg-config puts it: */ #cmakedefine LIBMOZLDAP_LIBDIR "${LIBMOZLDAP_LIBDIR}" /***********************************************************/ /* Whether or not the cyrus-sasl library has been found. */ #cmakedefine LIBSASL2_FOUND /* Is the GSSAPIV2 library available? For kerberos 5. Optional. */ #cmakedefine LIBGSSAPIV2_FOUND /* Whether or not libxslt has been found. */ #cmakedefine LIBXSLT_FOUND /* Where are the libopensync configuration files by default? */ #cmakedefine LDAP_PLUGIN_OPENSYNC_CONFIGDIR "${LDAP_PLUGIN_OPENSYNC_CONFIGDIR}" /* Where are the XML schema files (*.xsd) for XML validation purposes? */ #cmakedefine LDAP_PLUGIN_OPENSYNC_SCHEMASDIR "${LDAP_PLUGIN_OPENSYNC_SCHEMASDIR}" /* Define this to 1, if you want to link the plugin against libopensync-0.40 as it was before Chris Frey took it on. */ #cmakedefine PRE_OPENSYNC_CDF /* The version of the ldap-sync plugin which shares the version number of the whole opensync package */ #cmakedefine VERSION "${VERSION}" #endif