/* include/portable.h.in. Generated automatically from configure.in by autoheader. */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 1998-2003 The OpenLDAP Foundation
+ * Copyright 1998-2004 The OpenLDAP Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
/* Define if you have the gettimeofday function. */
#undef HAVE_GETTIMEOFDAY
+/* Define if you have the hstrerror function. */
+#undef HAVE_HSTRERROR
+
/* Define if you have the inet_ntop function. */
#undef HAVE_INET_NTOP
/* Define if you have the pipe function. */
#undef HAVE_PIPE
+/* Define if you have the poll function. */
+#undef HAVE_POLL
+
/* Define if you have the pthread_getconcurrency function. */
#undef HAVE_PTHREAD_GETCONCURRENCY
/* Define if you have the strerror function. */
#undef HAVE_STRERROR
+/* Define if you have the strerror_r function. */
+#undef HAVE_STRERROR_R
+
/* Define if you have the strpbrk function. */
#undef HAVE_STRPBRK
/* Define if you have the <assert.h> header file. */
#undef HAVE_ASSERT_H
+/* Define if you have the <bits/types.h> header file. */
+#undef HAVE_BITS_TYPES_H
+
+/* Define if you have the <bn.h> header file. */
+#undef HAVE_BN_H
+
/* Define if you have the <conio.h> header file. */
#undef HAVE_CONIO_H
/* Define if you have the <crypt.h> header file. */
#undef HAVE_CRYPT_H
+/* Define if you have the <crypto.h> header file. */
+#undef HAVE_CRYPTO_H
+
/* Define if you have the <cthreads.h> header file. */
#undef HAVE_CTHREADS_H
/* Define if you have the <getopt.h> header file. */
#undef HAVE_GETOPT_H
+/* Define if you have the <gmp.h> header file. */
+#undef HAVE_GMP_H
+
/* Define if you have the <grp.h> header file. */
#undef HAVE_GRP_H
/* Define if you have the <netinet/tcp.h> header file. */
#undef HAVE_NETINET_TCP_H
+/* Define if you have the <openssl/bn.h> header file. */
+#undef HAVE_OPENSSL_BN_H
+
+/* Define if you have the <openssl/crypto.h> header file. */
+#undef HAVE_OPENSSL_CRYPTO_H
+
/* Define if you have the <openssl/ssl.h> header file. */
#undef HAVE_OPENSSL_SSL_H
+/* Define if you have the <poll.h> header file. */
+#undef HAVE_POLL_H
+
/* Define if you have the <process.h> header file. */
#undef HAVE_PROCESS_H
/* Define if you have the <sys/dir.h> header file. */
#undef HAVE_SYS_DIR_H
+/* Define if you have the <sys/epoll.h> header file. */
+#undef HAVE_SYS_EPOLL_H
+
/* Define if you have the <sys/errno.h> header file. */
#undef HAVE_SYS_ERRNO_H
/* Define if you have the bind library (-lbind). */
#undef HAVE_LIBBIND
-/* Define if you have the dl library (-ldl). */
-#undef HAVE_LIBDL
-
/* Define if you have the gen library (-lgen). */
#undef HAVE_LIBGEN
/* define if you have winsock2 */
#undef HAVE_WINSOCK2
+/* define if your system supports epoll */
+#undef HAVE_EPOLL
+
+/* define if sys_errlist is not declared in stdio.h or errno.h */
+#undef DECL_SYS_ERRLIST
+
+/* define if you actually have sys_errlist in your libs */
+#undef HAVE_SYS_ERRLIST
+
+/* define if strerror_r returns char* instead of int */
+#undef HAVE_NONPOSIX_STRERROR_R
+
+/* define if sys_errlist is not declared in stdio.h or errno.h */
+#undef DECL_SYS_ERRLIST
+
+/* define if you actually have sys_errlist in your libs */
+#undef HAVE_SYS_ERRLIST
+
/* define if you have uuid_to_str() */
#undef HAVE_UUID_TO_STR
/* define if you have RSAref */
#undef HAVE_RSAREF
+/* define if you have OpenSSL with CRL checking capability */
+#undef HAVE_OPENSSL_CRL
+
/* define if you have TLS */
#undef HAVE_TLS
/* define if you have -lslp */
#undef HAVE_SLP
+/* define if you have SSLeay or OpenSSL's BIGNUM */
+#undef HAVE_BIGNUM
+
+/* define if you have -lgmp */
+#undef HAVE_GMP
+
/* define if you have 'long long' */
#undef HAVE_LONG_LONG
/* The number of bytes in type long */
#undef SIZEOF_LONG
+/* The number of bytes in type wchar_t */
+#undef SIZEOF_WCHAR_T
+
/* define to you inet_aton(3) is available */
#undef HAVE_INET_ATON
/* define to snprintf routine */
#undef vsnprintf
-/* define if sys_errlist is not declared in stdio.h or errno.h */
-#undef DECL_SYS_ERRLIST
-
-/* define if you actually have sys_errlist in your libs */
-#undef HAVE_SYS_ERRLIST
-
/* define if you have libtool -ltdl */
#undef HAVE_LIBLTDL
/* define to support crypt(3) passwords */
#undef SLAPD_CRYPT
-/* define to support Kerberos passwords */
-#undef SLAPD_KPASSWD
-
/* define to support SASL passwords */
#undef SLAPD_SPASSWD
/* define to support BDB backend */
#undef SLAPD_BDB
-/* define to support dynamic BDB backend */
-#undef SLAPD_BDB_DYNAMIC
-
/* define to support DNS SRV backend */
#undef SLAPD_DNSSRV
-/* define to support dynamic DNS SRV backend */
-#undef SLAPD_DNSSRV_DYNAMIC
-
/* define to support HDB backend */
#undef SLAPD_HDB
-/* define to support dynamic HDB backend */
-#undef SLAPD_HDB_DYNAMIC
-
/* define to support LDAP backend */
#undef SLAPD_LDAP
-/* define to support dynamic LDAP backend */
-#undef SLAPD_LDAP_DYNAMIC
-
/* define to support LDBM backend */
#undef SLAPD_LDBM
-/* define to support dynamic LDBM backend */
-#undef SLAPD_LDBM_DYNAMIC
-
/* define to support LDAP Metadirectory backend */
#undef SLAPD_META
-/* define to support dynamic LDAP Metadirectory backend */
-#undef SLAPD_META_DYNAMIC
-
/* define to support cn=Monitor backend */
#undef SLAPD_MONITOR
-/* define to support dynamic cn=Monitor backend */
-#undef SLAPD_MONITOR_DYNAMIC
-
/* define to support NULL backend */
#undef SLAPD_NULL
-/* define to support dynamic NULL backend */
-#undef SLAPD_NULL_DYNAMIC
-
/* define to support PASSWD backend */
#undef SLAPD_PASSWD
-/* define to support dynamic PASSWD backend */
-#undef SLAPD_PASSWD_DYNAMIC
-
/* define to support PERL backend */
#undef SLAPD_PERL
-/* define to support dynamic PERL backend */
-#undef SLAPD_PERL_DYNAMIC
+/* define to support relay backend */
+#undef SLAPD_RELAY
/* define to support SHELL backend */
#undef SLAPD_SHELL
-/* define to support dynamic SHELL backend */
-#undef SLAPD_SHELL_DYNAMIC
-
/* define to support SQL backend */
#undef SLAPD_SQL
-/* define to support dynamic SQL backend */
-#undef SLAPD_SQL_DYNAMIC
+/* define for Dynamic Group overlay */
+#undef SLAPD_OVER_CHAIN
+
+/* define for Dynamic Group overlay */
+#undef SLAPD_OVER_DENYOP
/* define for Dynamic Group overlay */
#undef SLAPD_OVER_DYNGROUP
+/* define for Backend Glue overlay */
+#undef SLAPD_OVER_GLUE
+
+/* define for Last Modification overlay */
+#undef SLAPD_OVER_LASTMOD
+
+/* define for Password Policy overlay */
+#undef SLAPD_OVER_PPOLICY
+
/* define for Proxy Cache overlay */
#undef SLAPD_OVER_PROXYCACHE
+/* define for Referential Integrity overlay */
+#undef SLAPD_OVER_REFINT
+
+/* define for Rewrite/Remap overlay */
+#undef SLAPD_OVER_RWM
+
+/* define for Syncrepl Provider overlay */
+#undef SLAPD_OVER_SYNCPROV
+
+/* define for Attribute Uniqueness overlay */
+#undef SLAPD_OVER_UNIQUE
+
/* define to enable rewriting in back-ldap and back-meta */
#undef ENABLE_REWRITE
#define LDAP_NEEDS_PROTOTYPES 1
#endif
-#ifdef HAVE_STDDEF_H
-# include <stddef.h>
-#endif
-
#ifndef LDAP_REL_ENG
#if (LDAP_VENDOR_VERSION == 000000) && !defined(LDAP_DEVEL)
#define LDAP_DEVEL
#endif
#endif
+#ifdef HAVE_STDDEF_H
+# include <stddef.h>
+#endif
+
#ifdef HAVE_EBCDIC
/* ASCII/EBCDIC converting replacements for stdio funcs
* vsnprintf and snprintf are used too, but they are already
#define vsprintf ber_pvt_vsprintf
#endif
+#include "ac/fdset.h"
+
#include "ldap_cdefs.h"
#include "ldap_features.h"