/* include/portable.h.in. Generated automatically from configure.in by autoheader. */
-/*
- * Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ *
+ * Copyright 1998-2004 The OpenLDAP Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted only as authorized by the OpenLDAP
- * Public License. A copy of this license is available at
- * http://www.OpenLDAP.org/license.html or in file LICENSE in the
- * top-level directory of the distribution.
+ * Public License.
+ *
+ * A copy of this license is available in the file LICENSE in the
+ * top-level directory of the distribution or, alternatively, at
+ * <http://www.OpenLDAP.org/license.html>.
*/
#ifndef _LDAP_PORTABLE_H
/* Define if you have the gethostname function. */
#undef HAVE_GETHOSTNAME
+/* Define if you have the getnameinfo function. */
+#undef HAVE_GETNAMEINFO
+
/* Define if you have the getopt function. */
#undef HAVE_GETOPT
/* 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 strtol function. */
#undef HAVE_STRTOL
+/* Define if you have the strtoll function. */
+#undef HAVE_STRTOLL
+
+/* Define if you have the strtoq function. */
+#undef HAVE_STRTOQ
+
/* Define if you have the strtoul function. */
#undef HAVE_STRTOUL
+/* Define if you have the strtouq function. */
+#undef HAVE_STRTOUQ
+
/* Define if you have the sysconf function. */
#undef HAVE_SYSCONF
/* 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 <memory.h> header file. */
#undef HAVE_MEMORY_H
-/* Define if you have the <ncurses.h> header file. */
-#undef HAVE_NCURSES_H
-
/* Define if you have the <ndbm.h> header file. */
#undef HAVE_NDBM_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 <pwd.h> header file. */
#undef HAVE_PWD_H
-/* Define if you have the <readline/history.h> header file. */
-#undef HAVE_READLINE_HISTORY_H
-
-/* Define if you have the <readline/readline.h> header file. */
-#undef HAVE_READLINE_READLINE_H
-
/* Define if you have the <regex.h> header file. */
#undef HAVE_REGEX_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 <syslog.h> header file. */
#undef HAVE_SYSLOG_H
-/* Define if you have the <tcl.h> header file. */
-#undef HAVE_TCL_H
-
/* Define if you have the <tcpd.h> header file. */
#undef HAVE_TCPD_H
-/* Define if you have the <termcap.h> header file. */
-#undef HAVE_TERMCAP_H
-
/* Define if you have the <termios.h> header file. */
#undef HAVE_TERMIOS_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 -lwrap */
#undef HAVE_TCPD
-/* define if you have -ltermcap */
-#undef HAVE_TERMCAP
-
-/* define if you have -lncurses */
-#undef HAVE_NCURSES
-
-/* define if you have no termcap support */
-#undef NO_TERMCAP
-
/* define if you have Cyrus SASL */
#undef HAVE_CYRUS_SASL
/* define if you actually have FreeBSD fetch(3) */
#undef HAVE_FETCH
-/* define if you have -lreadline */
-#undef HAVE_READLINE
-
/* define if crypt(3) is available */
#undef HAVE_CRYPT
/* 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
+
/* Define to `int' if <sys/types.h> does not define. */
#undef mode_t
/* 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 vsnprintf routine */
#undef vsnprintf
+/* define if struct msghdr has msg_accrights */
+#undef HAVE_MSGHDR_MSG_ACCRIGHTS
+
/* define to snprintf routine */
#undef snprintf
/* 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 multimaster replication */
#undef SLAPD_MULTIMASTER
-/* define to support phonetic */
-#undef SLAPD_PHONETIC
-
/* define to support reverse lookups */
#undef SLAPD_RLOOKUPS
/* define to support modules */
#undef SLAPD_MODULES
+/* statically linked module */
+#undef SLAPD_MOD_STATIC
+
+/* dynamically linked module */
+#undef SLAPD_MOD_DYNAMIC
+
/* 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 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 TCL backend */
-#undef SLAPD_TCL
+/* define for Dynamic Group overlay */
+#undef SLAPD_OVER_CHAIN
-/* define to support dynamic TCL backend */
-#undef SLAPD_TCL_DYNAMIC
+/* define for Dynamic Group overlay */
+#undef SLAPD_OVER_DENYOP
-/* define to support SQL backend */
-#undef SLAPD_SQL
+/* 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 to support dynamic SQL backend */
-#undef SLAPD_SQL_DYNAMIC
+/* 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
#if defined(LDAP_DEVEL) && !defined(LDAP_TEST)
#define LDAP_TEST
#endif
-#if defined(LDAP_TEST) && !defined(LDAP_DEBUG)
-#define LDAP_DEBUG
#endif
+
+#ifdef HAVE_STDDEF_H
+# include <stddef.h>
#endif
#ifdef HAVE_EBCDIC
#define vsprintf ber_pvt_vsprintf
#endif
+#include "ac/fdset.h"
+
#include "ldap_cdefs.h"
#include "ldap_features.h"
#include "ac/assert.h"
+#include "ac/localize.h"
#endif /* _LDAP_PORTABLE_H */