]> git.sur5r.net Git - openldap/blob - include/portable.h.in
67a861f0554542320dcfca05497b23e6bec4f73d
[openldap] / include / portable.h.in
1 /* include/portable.h.in.  Generated automatically from configure.in by autoheader.  */
2 /*
3 Copyright 1998 The OpenLDAP Foundation, Redwood City, California, USA
4 All rights reserved.
5
6 Redistribution and use in source and binary forms are permitted only
7 as authorized by the OpenLDAP Public License.  A copy of this
8 license is available at http://www.OpenLDAP.org/license.html or
9 in file LICENSE in the top-level directory of the distribution.
10
11 This work is derived from the University of Michigan LDAP v3.3
12 distribution.  Information concerning is available at
13     http://www.umich.edu/~dirsvcs/ldap/ldap.html.
14
15 This work also contains materials derived from public sources.
16
17 ---
18
19 Portions Copyright (c) 1992-1996 Regents of the University of Michigan.
20 All rights reserved.
21
22 Redistribution and use in source and binary forms are permitted
23 provided that this notice is preserved and that due credit is given
24 to the University of Michigan at Ann Arbor. The name of the University
25 may not be used to endorse or promote products derived from this 
26 software without specific prior written permission. This software
27 is provided ``as is'' without express or implied warranty.
28  
29 */
30
31 #ifndef _LDAP_PORTABLE_H
32 #define _LDAP_PORTABLE_H
33
34
35 /* Define if on AIX 3.
36    System headers sometimes define this.
37    We just want to avoid a redefinition error message.  */
38 #ifndef _ALL_SOURCE
39 #undef _ALL_SOURCE
40 #endif
41
42 /* Define to empty if the keyword does not work.  */
43 #undef const
44
45 /* Define to the type of elements in the array set by `getgroups'.
46    Usually this is either `int' or `gid_t'.  */
47 #undef GETGROUPS_T
48
49 /* Define to `int' if <sys/types.h> doesn't define.  */
50 #undef gid_t
51
52 /* Define if you don't have vprintf but do have _doprnt.  */
53 #undef HAVE_DOPRNT
54
55 /* Define if your struct stat has st_blksize.  */
56 #undef HAVE_ST_BLKSIZE
57
58 /* Define if you have the strftime function.  */
59 #undef HAVE_STRFTIME
60
61 /* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
62 #undef HAVE_SYS_WAIT_H
63
64 /* Define if you have the vprintf function.  */
65 #undef HAVE_VPRINTF
66
67 /* Define if you have the wait3 system call.  */
68 #undef HAVE_WAIT3
69
70 /* Define if on MINIX.  */
71 #undef _MINIX
72
73 /* Define to `int' if <sys/types.h> doesn't define.  */
74 #undef mode_t
75
76 /* Define to `long' if <sys/types.h> doesn't define.  */
77 #undef off_t
78
79 /* Define to `int' if <sys/types.h> doesn't define.  */
80 #undef pid_t
81
82 /* Define if the system does not provide POSIX.1 features except
83    with this defined.  */
84 #undef _POSIX_1_SOURCE
85
86 /* Define if you need to in order for stat and other things to work.  */
87 #undef _POSIX_SOURCE
88
89 /* Define as the return type of signal handlers (int or void).  */
90 #undef RETSIGTYPE
91
92 /* Define to `unsigned' if <sys/types.h> doesn't define.  */
93 #undef size_t
94
95 /* Define if you have the ANSI C header files.  */
96 #undef STDC_HEADERS
97
98 /* Define if you can safely include both <sys/time.h> and <time.h>.  */
99 #undef TIME_WITH_SYS_TIME
100
101 /* Define if your <sys/time.h> declares struct tm.  */
102 #undef TM_IN_SYS_TIME
103
104 /* Define to `int' if <sys/types.h> doesn't define.  */
105 #undef uid_t
106
107 /* Define if your processor stores words with the most significant
108    byte first (like Motorola and SPARC, unlike Intel and VAX).  */
109 #undef WORDS_BIGENDIAN
110
111 /* define this if sys_errlist is not defined in stdio.h or errno.h */
112 #undef DECL_SYS_ERRLIST
113
114 /* define if you have berkeley db */
115 #undef HAVE_BERKELEY_DB
116
117 /* define if you have berkeley db2 */
118 #undef HAVE_BERKELEY_DB2
119
120 /* define if you have crypt */
121 #undef HAVE_CRYPT
122
123 /* define if you have DCE */
124 #undef HAVE_DCE
125
126 /* define if you have GDBM */
127 #undef HAVE_GDBM
128
129 /* define if you have Kerberos */
130 #undef HAVE_KERBEROS
131
132 /* define if you have LinuxThreads */
133 #undef HAVE_LINUX_THREADS
134
135 /* define if you have Sun LWP (SunOS style) */
136 #undef HAVE_LWP
137
138 /* define if you have Sun LWP (Solaris style) */
139 #undef HAVE_LWP_THR
140
141 /* define if you have -lncurses */
142 #undef HAVE_NCURSES
143
144 /* define if you have NDBM */
145 #undef HAVE_NDBM
146
147 /* define if you have Mach CThreads */
148 #undef HAVE_MACH_CTHREADS
149
150 /* define if you have a preemptive POSIX Threads implementation */
151 #undef HAVE_PREEMPTIVE_PTHREADS
152
153 /* define if you have POSIX Threads */
154 #undef HAVE_PTHREADS
155
156 /* define if your POSIX Threads implementatin is circa Draft 4 */
157 #undef HAVE_PTHREADS_D4
158
159 /* define if you have -lwrap */
160 #undef HAVE_TCPD
161
162 /* define if you have -ltermcap */
163 #undef HAVE_TERMCAP
164
165 /* define this for connectionless LDAP support */
166 #undef LDAP_CONNECTIONLESS
167
168 /* define this to add debugging code */
169 #undef LDAP_DEBUG
170
171 /* define this for LDAP DNS support */
172 #undef LDAP_DNS
173
174 /* define this to remove -lldap cache support */
175 #undef LDAP_NOCACHE
176
177 /* define this for LDAP referrals support */
178 #undef LDAP_REFERRALS
179
180 /* define this for LDAP User Interface support */
181 #undef LDAP_LIBUI
182
183 /* define this to use DBBTREE w/ LDBM backend */
184 #undef LDBM_USE_DBBTREE
185
186 /* define this to use DBHASH w/ LDBM backend */
187 #undef LDBM_USE_DBHASH
188
189 /* define this if you want no termcap support */
190 #undef NO_TERMCAP
191
192 /* define this if you want no thread support */
193 #undef NO_THREADS
194
195 /* define this for ACL Group support */
196 #undef SLAPD_ACLGROUPS
197
198 /* define this for crypt(3) password support */
199 #undef SLAPD_CRYPT
200
201 /* define this to use SLAPD LDBM backend */
202 #undef SLAPD_LDBM
203
204 /* define this for MD5 password support */
205 #undef SLAPD_MD5
206
207 /* define this to use SLAPD passwd backend */
208 #undef SLAPD_PASSWD
209
210 /* define this for phonetic support */
211 #undef SLAPD_PHONETIC
212
213 /* define this for Reverse Lookup support */
214 #undef SLAPD_RLOOKUPS
215
216 /* define this for SHA1 password support */
217 #undef SLAPD_SHA1
218
219 /* define this to use SLAPD shell backend */
220 #undef SLAPD_SHELL
221
222 /* define this if the thread package is preemptive */
223 #undef THREAD_PREEMPTIVE
224
225 /* Define if you have the bcopy function.  */
226 #undef HAVE_BCOPY
227
228 /* Define if you have the flock function.  */
229 #undef HAVE_FLOCK
230
231 /* Define if you have the getdtablesize function.  */
232 #undef HAVE_GETDTABLESIZE
233
234 /* Define if you have the gethostname function.  */
235 #undef HAVE_GETHOSTNAME
236
237 /* Define if you have the getopt function.  */
238 #undef HAVE_GETOPT
239
240 /* Define if you have the gettimeofday function.  */
241 #undef HAVE_GETTIMEOFDAY
242
243 /* Define if you have the lockf function.  */
244 #undef HAVE_LOCKF
245
246 /* Define if you have the memcpy function.  */
247 #undef HAVE_MEMCPY
248
249 /* Define if you have the memmove function.  */
250 #undef HAVE_MEMMOVE
251
252 /* Define if you have the mktime function.  */
253 #undef HAVE_MKTIME
254
255 /* Define if you have the pthread_kill function.  */
256 #undef HAVE_PTHREAD_KILL
257
258 /* Define if you have the pthread_yield function.  */
259 #undef HAVE_PTHREAD_YIELD
260
261 /* Define if you have the sched_yield function.  */
262 #undef HAVE_SCHED_YIELD
263
264 /* Define if you have the select function.  */
265 #undef HAVE_SELECT
266
267 /* Define if you have the setpwfile function.  */
268 #undef HAVE_SETPWFILE
269
270 /* Define if you have the setsid function.  */
271 #undef HAVE_SETSID
272
273 /* Define if you have the signal function.  */
274 #undef HAVE_SIGNAL
275
276 /* Define if you have the sigset function.  */
277 #undef HAVE_SIGSET
278
279 /* Define if you have the socket function.  */
280 #undef HAVE_SOCKET
281
282 /* Define if you have the strdup function.  */
283 #undef HAVE_STRDUP
284
285 /* Define if you have the strerror function.  */
286 #undef HAVE_STRERROR
287
288 /* Define if you have the strrchr function.  */
289 #undef HAVE_STRRCHR
290
291 /* Define if you have the strsep function.  */
292 #undef HAVE_STRSEP
293
294 /* Define if you have the strstr function.  */
295 #undef HAVE_STRSTR
296
297 /* Define if you have the strtod function.  */
298 #undef HAVE_STRTOD
299
300 /* Define if you have the strtol function.  */
301 #undef HAVE_STRTOL
302
303 /* Define if you have the strtoul function.  */
304 #undef HAVE_STRTOUL
305
306 /* Define if you have the sysconf function.  */
307 #undef HAVE_SYSCONF
308
309 /* Define if you have the waitpid function.  */
310 #undef HAVE_WAITPID
311
312 /* Define if you have the <db.h> header file.  */
313 #undef HAVE_DB_H
314
315 /* Define if you have the <db_185.h> header file.  */
316 #undef HAVE_DB_185_H
317
318 /* Define if you have the <des.h> header file.  */
319 #undef HAVE_DES_H
320
321 /* Define if you have the <dirent.h> header file.  */
322 #undef HAVE_DIRENT_H
323
324 /* Define if you have the <errno.h> header file.  */
325 #undef HAVE_ERRNO_H
326
327 /* Define if you have the <fcntl.h> header file.  */
328 #undef HAVE_FCNTL_H
329
330 /* Define if you have the <filio.h> header file.  */
331 #undef HAVE_FILIO_H
332
333 /* Define if you have the <gdbm.h> header file.  */
334 #undef HAVE_GDBM_H
335
336 /* Define if you have the <getopt.h> header file.  */
337 #undef HAVE_GETOPT_H
338
339 /* Define if you have the <kerberosIV/des.h> header file.  */
340 #undef HAVE_KERBEROSIV_DES_H
341
342 /* Define if you have the <kerberosIV/krb.h> header file.  */
343 #undef HAVE_KERBEROSIV_KRB_H
344
345 /* Define if you have the <krb.h> header file.  */
346 #undef HAVE_KRB_H
347
348 /* Define if you have the <limits.h> header file.  */
349 #undef HAVE_LIMITS_H
350
351 /* Define if you have the <lwp/lwp.h> header file.  */
352 #undef HAVE_LWP_LWP_H
353
354 /* Define if you have the <mach/cthreads.h> header file.  */
355 #undef HAVE_MACH_CTHREADS_H
356
357 /* Define if you have the <malloc.h> header file.  */
358 #undef HAVE_MALLOC_H
359
360 /* Define if you have the <ncurses.h> header file.  */
361 #undef HAVE_NCURSES_H
362
363 /* Define if you have the <ndbm.h> header file.  */
364 #undef HAVE_NDBM_H
365
366 /* Define if you have the <ndir.h> header file.  */
367 #undef HAVE_NDIR_H
368
369 /* Define if you have the <pthread.h> header file.  */
370 #undef HAVE_PTHREAD_H
371
372 /* Define if you have the <regex.h> header file.  */
373 #undef HAVE_REGEX_H
374
375 /* Define if you have the <sched.h> header file.  */
376 #undef HAVE_SCHED_H
377
378 /* Define if you have the <sgtty.h> header file.  */
379 #undef HAVE_SGTTY_H
380
381 /* Define if you have the <stddef.h> header file.  */
382 #undef HAVE_STDDEF_H
383
384 /* Define if you have the <synch.h> header file.  */
385 #undef HAVE_SYNCH_H
386
387 /* Define if you have the <sys/dir.h> header file.  */
388 #undef HAVE_SYS_DIR_H
389
390 /* Define if you have the <sys/errno.h> header file.  */
391 #undef HAVE_SYS_ERRNO_H
392
393 /* Define if you have the <sys/file.h> header file.  */
394 #undef HAVE_SYS_FILE_H
395
396 /* Define if you have the <sys/ioctl.h> header file.  */
397 #undef HAVE_SYS_IOCTL_H
398
399 /* Define if you have the <sys/ndir.h> header file.  */
400 #undef HAVE_SYS_NDIR_H
401
402 /* Define if you have the <sys/param.h> header file.  */
403 #undef HAVE_SYS_PARAM_H
404
405 /* Define if you have the <sys/socket.h> header file.  */
406 #undef HAVE_SYS_SOCKET_H
407
408 /* Define if you have the <sys/time.h> header file.  */
409 #undef HAVE_SYS_TIME_H
410
411 /* Define if you have the <sys/types.h> header file.  */
412 #undef HAVE_SYS_TYPES_H
413
414 /* Define if you have the <syslog.h> header file.  */
415 #undef HAVE_SYSLOG_H
416
417 /* Define if you have the <termcap.h> header file.  */
418 #undef HAVE_TERMCAP_H
419
420 /* Define if you have the <termios.h> header file.  */
421 #undef HAVE_TERMIOS_H
422
423 /* Define if you have the <thread.h> header file.  */
424 #undef HAVE_THREAD_H
425
426 /* Define if you have the <unistd.h> header file.  */
427 #undef HAVE_UNISTD_H
428
429 /* Define if you have the V3 library (-lV3).  */
430 #undef HAVE_LIBV3
431
432 /* Define if you have the gen library (-lgen).  */
433 #undef HAVE_LIBGEN
434
435 /* Define if you have the inet library (-linet).  */
436 #undef HAVE_LIBINET
437
438 /* Define if you have the net library (-lnet).  */
439 #undef HAVE_LIBNET
440
441 /* Define if you have the nsl library (-lnsl).  */
442 #undef HAVE_LIBNSL
443
444 /* Define if you have the nsl_s library (-lnsl_s).  */
445 #undef HAVE_LIBNSL_S
446
447 /* Define if you have the socket library (-lsocket).  */
448 #undef HAVE_LIBSOCKET
449
450 #ifdef HAVE_STDDEF_H
451 #       include <stddef.h>
452 #endif
453
454 #include "ldap_cdefs.h"
455
456 #endif /* _LDAP_PORTABLE_H */