]> git.sur5r.net Git - openldap/blob - acconfig.h
22869f04682f00a70d6212ddf98ea842e78397ef
[openldap] / acconfig.h
1 /*
2  * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
3  * All rights reserved.
4  *
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.
9  */
10
11 #ifndef _LDAP_PORTABLE_H
12 #define _LDAP_PORTABLE_H
13
14 /* end of preamble */
15 @TOP@
16
17 /* define this if needed to get reentrant functions */
18 #ifndef REENTRANT
19 #undef REENTRANT
20 #endif
21 #ifndef _REENTRANT
22 #undef _REENTRANT
23 #endif
24
25 /* define this if needed to get threadsafe functions */
26 #ifndef THREADSAFE
27 #undef THREADSAFE
28 #endif
29 #ifndef _THREADSAFE
30 #undef _THREADSAFE
31 #endif
32 #ifndef THREAD_SAFE
33 #undef THREAD_SAFE
34 #endif
35 #ifndef _THREAD_SAFE
36 #undef _THREAD_SAFE
37 #endif
38
39 /* define this if cross compiling */
40 #undef CROSS_COMPILING
41
42 /* define this if toupper() requires tolower() check */
43 #undef C_UPPER_LOWER
44
45 /* define this to the number of arguments ctime_r() expects */
46 #undef CTIME_R_NARGS
47
48 /* define this if sys_errlist is not defined in stdio.h or errno.h */
49 #undef DECL_SYS_ERRLIST
50
51 /* define this if TIOCGWINSZ is defined in sys/ioctl.h */
52 #undef GWINSZ_IN_SYS_IOCTL
53
54 /* define if you have berkeley db */
55 #undef HAVE_BERKELEY_DB
56
57 /* define if you have berkeley db2 */
58 #undef HAVE_BERKELEY_DB2
59
60 /* define if you have crypt */
61 #undef HAVE_CRYPT
62
63 /* define if you have DSAP */
64 #undef HAVE_DSAP
65
66 /* define if you have GDBM */
67 #undef HAVE_GDBM
68
69 /* define if you have ISODE */
70 #undef HAVE_ISODE
71
72 /* define if you have Kerberos */
73 #undef HAVE_KERBEROS
74
75 /* define if you have LinuxThreads */
76 #undef HAVE_LINUX_THREADS
77
78 /* define if you have Sun LWP (SunOS style) */
79 #undef HAVE_LWP
80
81 /* define if you have -lncurses */
82 #undef HAVE_NCURSES
83
84 /* define if you have NDBM */
85 #undef HAVE_NDBM
86
87 /* define if you have Mach CThreads */
88 #undef HAVE_MACH_CTHREADS
89
90 /* define if you have POSIX termios */
91 #undef HAVE_POSIX_TERMIOS
92
93 /* define if you have PP */
94 #undef HAVE_PP
95
96 /* define if you have POSIX Threads */
97 #undef HAVE_PTHREADS
98
99 /* define if your POSIX Threads implementation is circa Final Draft */
100 #undef HAVE_PTHREADS_FINAL
101
102 /* define if your POSIX Threads implementation is circa Draft 4 */
103 #undef HAVE_PTHREADS_D4
104
105 /* define if you have ptrdiff_t */
106 #undef HAVE_PTRDIFF_T
107
108 /* define if you have res_search() */
109 #ifdef __notdef__
110 /* see second res_search define */
111 #undef HAVE_RES_SEARCH
112 #endif
113
114 /* define if you have sched_yield() */
115 #ifdef __notdef__
116 /* see second sched_yield define */
117 #undef HAVE_SCHED_YIELD
118 #endif
119
120 /* define if you have setproctitle() */
121 #undef HAVE_SETPROCTITLE
122
123 /* define if you have -lwrap */
124 #undef HAVE_TCPD
125
126 /* define if you have -ltermcap */
127 #undef HAVE_TERMCAP
128
129 /* define if you have Sun LWP (Solaris style) */
130 #undef HAVE_THR
131
132 /* define if you have XTPP */
133 #undef HAVE_XTPP
134
135 /* define this if select() implicitly yields in thread environments */
136 #undef HAVE_YIELDING_SELECT
137
138 /* define this for connectionless LDAP support */
139 #undef LDAP_CONNECTIONLESS
140
141 /* define this to add debugging code */
142 #undef LDAP_DEBUG
143
144 /* define this for LDAP DNS support */
145 #undef LDAP_DNS
146
147 /* define this to remove -lldap cache support */
148 #undef LDAP_NOCACHE
149
150 /* define this for LDAP process title support */
151 #undef LDAP_PROCTITLE
152
153 /* define this for LDAP User Interface support */
154 #undef LDAP_LIBUI
155
156 /* define this to add syslog code */
157 #undef LDAP_SYSLOG
158
159 /* define this to use DB2 in native mode */
160 #undef LDBM_USE_DB2
161
162 /* define this to use DB2 in compat185 mode */
163 #undef LDBM_USE_DB2_COMPAT185
164
165 /* define this to use DBBTREE w/ LDBM backend */
166 #undef LDBM_USE_DBBTREE
167
168 /* define this to use DBHASH w/ LDBM backend */
169 #undef LDBM_USE_DBHASH
170
171 /* define this to use GDBM w/ LDBM backend */
172 #undef LDBM_USE_GDBM
173
174 /* define this to use NDBM w/ LDBM backend */
175 #undef LDBM_USE_NDBM
176
177 /* define this if you want no termcap support */
178 #undef NO_TERMCAP
179
180 /* define this if you want no thread support */
181 #undef NO_THREADS
182
183 /* define this for ACL Group support */
184 #undef SLAPD_ACLGROUPS
185
186 /* define this to use SLAPD Berkeley DB2 backend */
187 #undef SLAPD_BDB2
188
189 /* define this for ClearText password support */
190 #undef SLAPD_CLEARTEXT
191
192 /* define this for crypt(3) password support */
193 #undef SLAPD_CRYPT
194
195 /* define this to use SLAPD LDBM backend */
196 #undef SLAPD_LDBM
197
198 /* define this to use SLAPD passwd backend */
199 #undef SLAPD_PASSWD
200
201 /* define this to use SLAPD perl backend */
202 #undef SLAPD_PERL
203
204 /* define this for phonetic support */
205 #undef SLAPD_PHONETIC
206
207 /* define this for Reverse Lookup support */
208 #undef SLAPD_RLOOKUPS
209
210 /* define this to use SLAPD shell backend */
211 #undef SLAPD_SHELL
212
213 /* define this to be empty if your compiler doesn't support volatile */
214 #undef volatile
215
216 /* define this if sig_atomic_t isn't defined in signal.h */
217 #undef sig_atomic_t
218
219 /* These are defined in ldap_features.h */
220 /*
221         LDAP_API_FEATURE_X_OPENLDAP_REENTRANT
222         LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE
223         LDAP_API_FEATURE_X_OPENLDAP_V2_DNS
224         LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS
225 */
226
227 \f
228 /* Leave that blank line there!!  Autoheader needs it. */
229
230 @BOTTOM@
231 /* begin of postamble */
232
233 #ifdef HAVE_STDDEF_H
234 #       include <stddef.h>
235 #endif
236
237 #include "ldap_cdefs.h"
238 #include "ldap_features.h"
239
240 #endif /* _LDAP_PORTABLE_H */