]> git.sur5r.net Git - openldap/blobdiff - include/portable.h.in
return to releng
[openldap] / include / portable.h.in
index 1a4e0238b0131d5767098f1c3dc6f8b81b0631f7..8c3db8590c9c9bb3e30f74bd05c3494d3b232cc7 100644 (file)
@@ -1,13 +1,16 @@
 /* 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-2005 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 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 <conio.h> header file.  */
 #undef HAVE_CONIO_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 <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 <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 -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 '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 if memcmp is not 8-bit clean or is otherwise broken */
+#undef NEED_MEMCMP_REPLACEMENT
+
 /* define to you inet_aton(3) is available */
 #undef HAVE_INET_ATON
 
 /* 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 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 SHELL backend */
 #undef SLAPD_SHELL
 
-/* define to support dynamic SHELL backend */
-#undef SLAPD_SHELL_DYNAMIC
-
-/* define to support TCL backend */
-#undef SLAPD_TCL
-
-/* define to support dynamic TCL backend */
-#undef SLAPD_TCL_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_DYNGROUP
+
+/* define for Proxy Cache overlay */
+#undef SLAPD_OVER_PROXYCACHE
 
 /* 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"