2 * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
5 * Redistribution and use in source and binary forms are permitted only
6 * as authorized by the OpenLDAP Public License. A copy of this
7 * license is available at http://www.OpenLDAP.org/license.html or
8 * in file LICENSE in the top-level directory of the distribution.
11 #ifndef _LDAP_PORTABLE_H
12 #define _LDAP_PORTABLE_H
17 /* define this if needed to get reentrant functions */
25 /* define this if needed to get threadsafe functions */
39 /* define this if cross compiling */
40 #undef CROSS_COMPILING
42 /* define this if toupper() requires tolower() check */
45 /* define this if sys_errlist is not defined in stdio.h or errno.h */
46 #undef DECL_SYS_ERRLIST
48 /* define this if TIOCGWINSZ is defined in sys/ioctl.h */
49 #undef GWINSZ_IN_SYS_IOCTL
51 /* define if you have berkeley db */
52 #undef HAVE_BERKELEY_DB
54 /* define if you have berkeley db2 */
55 #undef HAVE_BERKELEY_DB2
57 /* define if you have crypt */
60 /* define if you have DSAP */
63 /* define if you have GDBM */
66 /* define if you have ISODE */
69 /* define if you have Kerberos */
72 /* define if you have LinuxThreads */
73 #undef HAVE_LINUX_THREADS
75 /* define if you have Sun LWP (SunOS style) */
78 /* define if you have -lncurses */
81 /* define if you have NDBM */
84 /* define if you have Mach CThreads */
85 #undef HAVE_MACH_CTHREADS
87 /* define if you have POSIX termios */
88 #undef HAVE_POSIX_TERMIOS
90 /* define if you have PP */
93 /* define if you have POSIX Threads */
96 /* define if your POSIX Threads implementation is circa Final Draft */
97 #undef HAVE_PTHREADS_FINAL
99 /* define if your POSIX Threads implementation is circa Draft 4 */
100 #undef HAVE_PTHREADS_D4
102 /* define if you have ptrdiff_t */
103 #undef HAVE_PTRDIFF_T
105 /* define if you have res_search() */
107 /* see second res_search define */
108 #undef HAVE_RES_SEARCH
111 /* define if you have sched_yield() */
113 /* see second sched_yield define */
114 #undef HAVE_SCHED_YIELD
117 /* define if you have setproctitle() */
118 #undef HAVE_SETPROCTITLE
120 /* define if you have -lwrap */
123 /* define if you have -ltermcap */
126 /* define if you have Sun LWP (Solaris style) */
129 /* define if you have XTPP */
132 /* define this if select() implicitly yields in thread environments */
133 #undef HAVE_YIELDING_SELECT
135 /* define this for connectionless LDAP support */
136 #undef LDAP_CONNECTIONLESS
138 /* define this to add debugging code */
141 /* define this for LDAP DNS support */
144 /* define this to remove -lldap cache support */
147 /* define this for LDAP process title support */
148 #undef LDAP_PROCTITLE
150 /* define this for LDAP referrals support */
151 #undef LDAP_REFERRALS
153 /* define this for LDAP User Interface support */
156 /* define this to use DB2 in native mode */
159 /* define this to use DB2 in compat185 mode */
160 #undef LDBM_USE_DB2_COMPAT185
162 /* define this to use DBBTREE w/ LDBM backend */
163 #undef LDBM_USE_DBBTREE
165 /* define this to use DBHASH w/ LDBM backend */
166 #undef LDBM_USE_DBHASH
168 /* define this to use GDBM w/ LDBM backend */
171 /* define this to use NDBM w/ LDBM backend */
174 /* define this if you want no termcap support */
177 /* define this if you want no thread support */
180 /* define this for ACL Group support */
181 #undef SLAPD_ACLGROUPS
183 /* define this for ClearText password support */
184 #undef SLAPD_CLEARTEXT
186 /* define this for crypt(3) password support */
189 /* define this to use SLAPD LDBM backend */
192 /* define this to use SLAPD passwd backend */
195 /* define this for phonetic support */
196 #undef SLAPD_PHONETIC
198 /* define this for Reverse Lookup support */
199 #undef SLAPD_RLOOKUPS
201 /* define this to use SLAPD shell backend */
205 /* Leave that blank line there!! Autoheader needs it. */
208 /* begin of postamble */
214 #include "ldap_cdefs.h"
216 #endif /* _LDAP_PORTABLE_H */