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