]> git.sur5r.net Git - openldap/blob - include/portable.h.in
83e02044e79902dccc2d1f784bc11440460cbd2c
[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,1999 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
13 #ifndef _LDAP_PORTABLE_H
14 #define _LDAP_PORTABLE_H
15
16 /* portable.h.top end */
17
18 /* Define if on AIX 3.
19    System headers sometimes define this.
20    We just want to avoid a redefinition error message.  */
21 #ifndef _ALL_SOURCE
22 #undef _ALL_SOURCE
23 #endif
24
25 /* Define to empty if the keyword does not work.  */
26 #undef const
27
28 /* Define to the type of elements in the array set by `getgroups'.
29    Usually this is either `int' or `gid_t'.  */
30 #undef GETGROUPS_T
31
32 /* Define to `int' if <sys/types.h> doesn't define.  */
33 #undef gid_t
34
35 /* Define if you don't have vprintf but do have _doprnt.  */
36 #undef HAVE_DOPRNT
37
38 /* Define if your struct stat has st_blksize.  */
39 #undef HAVE_ST_BLKSIZE
40
41 /* Define if you have the strftime function.  */
42 #undef HAVE_STRFTIME
43
44 /* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
45 #undef HAVE_SYS_WAIT_H
46
47 /* Define if you have the vprintf function.  */
48 #undef HAVE_VPRINTF
49
50 /* Define if on MINIX.  */
51 #undef _MINIX
52
53 /* Define to `int' if <sys/types.h> doesn't define.  */
54 #undef mode_t
55
56 /* Define to `long' if <sys/types.h> doesn't define.  */
57 #undef off_t
58
59 /* Define to `int' if <sys/types.h> doesn't define.  */
60 #undef pid_t
61
62 /* Define if the system does not provide POSIX.1 features except
63    with this defined.  */
64 #undef _POSIX_1_SOURCE
65
66 /* Define if you need to in order for stat and other things to work.  */
67 #undef _POSIX_SOURCE
68
69 /* Define as the return type of signal handlers (int or void).  */
70 #undef RETSIGTYPE
71
72 /* Define to `unsigned' if <sys/types.h> doesn't define.  */
73 #undef size_t
74
75 /* Define if you have the ANSI C header files.  */
76 #undef STDC_HEADERS
77
78 /* Define if you can safely include both <sys/time.h> and <time.h>.  */
79 #undef TIME_WITH_SYS_TIME
80
81 /* Define if your <sys/time.h> declares struct tm.  */
82 #undef TM_IN_SYS_TIME
83
84 /* Define to `int' if <sys/types.h> doesn't define.  */
85 #undef uid_t
86
87 /* Define if your processor stores words with the most significant
88    byte first (like Motorola and SPARC, unlike Intel and VAX).  */
89 #undef WORDS_BIGENDIAN
90
91 /* define this if needed to get reentrant functions */
92 #ifndef REENTRANT
93 #undef REENTRANT
94 #endif
95 #ifndef _REENTRANT
96 #undef _REENTRANT
97 #endif
98
99 /* define this if needed to get threadsafe functions */
100 #ifndef THREADSAFE
101 #undef THREADSAFE
102 #endif
103 #ifndef _THREADSAFE
104 #undef _THREADSAFE
105 #endif
106 #ifndef THREAD_SAFE
107 #undef THREAD_SAFE
108 #endif
109 #ifndef _THREAD_SAFE
110 #undef _THREAD_SAFE
111 #endif
112
113 /* define this if cross compiling */
114 #undef CROSS_COMPILING
115
116 /* define this if toupper() requires tolower() check */
117 #undef C_UPPER_LOWER
118
119 /* define this to the number of arguments ctime_r() expects */
120 #undef CTIME_R_NARGS
121
122 /* define this if sys_errlist is not defined in stdio.h or errno.h */
123 #undef DECL_SYS_ERRLIST
124
125 /* define if you have berkeley db */
126 #undef HAVE_BERKELEY_DB
127
128 /* define if you have berkeley db2 */
129 #undef HAVE_BERKELEY_DB2
130
131 /* define if you have crypt */
132 #undef HAVE_CRYPT
133
134 /* define if you have DSAP */
135 #undef HAVE_DSAP
136
137 /* define if you have GDBM */
138 #undef HAVE_GDBM
139
140 /* define if you have ISODE */
141 #undef HAVE_ISODE
142
143 /* define if you have Kerberos */
144 #undef HAVE_KERBEROS
145
146 /* define if you have LinuxThreads */
147 #undef HAVE_LINUX_THREADS
148
149 /* define if you have Sun LWP (SunOS style) */
150 #undef HAVE_LWP
151
152 /* define if you have -lncurses */
153 #undef HAVE_NCURSES
154
155 /* define if you have NDBM */
156 #undef HAVE_NDBM
157
158 /* define if you have Mach CThreads */
159 #undef HAVE_MACH_CTHREADS
160
161 /* define if you have POSIX termios */
162 #undef HAVE_POSIX_TERMIOS
163
164 /* define if you have PP */
165 #undef HAVE_PP
166
167 /* define if you have POSIX Threads */
168 #undef HAVE_PTHREADS
169
170 /* define if your POSIX Threads implementation is circa Final Draft */
171 #undef HAVE_PTHREADS_FINAL
172
173 /* define if your POSIX Threads implementation is circa Draft 4 */
174 #undef HAVE_PTHREADS_D4
175
176 /* define if you have res_search() */
177 #ifdef __notdef__
178 /* see second res_search define */
179 #undef HAVE_RES_SEARCH
180 #endif
181
182 /* define if you have sched_yield() */
183 #ifdef __notdef__
184 /* see second sched_yield define */
185 #undef HAVE_SCHED_YIELD
186 #endif
187
188 /* define if you have setproctitle() */
189 #undef HAVE_SETPROCTITLE
190
191 /* define if you have -lwrap */
192 #undef HAVE_TCPD
193
194 /* define if you have -ltermcap */
195 #undef HAVE_TERMCAP
196
197 /* define if you have Sun LWP (Solaris style) */
198 #undef HAVE_THR
199
200 /* define if you have XTPP */
201 #undef HAVE_XTPP
202
203 /* define this if select() implicitly yields in thread environments */
204 #undef HAVE_YIELDING_SELECT
205
206 /* define this for connectionless LDAP support */
207 #undef LDAP_CONNECTIONLESS
208
209 /* define this to add debugging code */
210 #undef LDAP_DEBUG
211
212 /* define this to remove -lldap cache support */
213 #undef LDAP_NOCACHE
214
215 /* define this for LDAP process title support */
216 #undef LDAP_PROCTITLE
217
218 /* define this for LDAP User Interface support */
219 #undef LDAP_LIBUI
220
221 /* define this to add syslog code */
222 #undef LDAP_SYSLOG
223
224 /* define this to use DBBTREE w/ LDBM backend */
225 #undef LDBM_USE_DBBTREE
226
227 /* define this to use DBHASH w/ LDBM backend */
228 #undef LDBM_USE_DBHASH
229
230 /* define this if you want no termcap support */
231 #undef NO_TERMCAP
232
233 /* define this if you want no thread support */
234 #undef NO_THREADS
235
236 /* define this for ACL Group support */
237 #undef SLAPD_ACLGROUPS
238
239 /* define this to use SLAPD Berkeley DB2 backend */
240 #undef SLAPD_BDB2
241
242 /* define this for ClearText password support */
243 #undef SLAPD_CLEARTEXT
244
245 /* define this for crypt(3) password support */
246 #undef SLAPD_CRYPT
247
248 /* define this to use SLAPD LDBM backend */
249 #undef SLAPD_LDBM
250
251 /* define this to use SLAPD passwd backend */
252 #undef SLAPD_PASSWD
253
254 /* define this to use SLAPD perl backend */
255 #undef SLAPD_PERL
256
257 /* define this for phonetic support */
258 #undef SLAPD_PHONETIC
259
260 /* define this for Reverse Lookup support */
261 #undef SLAPD_RLOOKUPS
262
263 /* define this to use SLAPD shell backend */
264 #undef SLAPD_SHELL
265
266 /* define this to be empty if your compiler doesn't support volatile */
267 #undef volatile
268
269 /* define this if sig_atomic_t isn't defined in signal.h */
270 #undef sig_atomic_t
271
272 /* These are defined in ldap_features.h */
273 /*
274  LDAP_API_FEATURE_X_OPENLDAP_REENTRANT
275  LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE
276  LDAP_API_FEATURE_X_OPENLDAP_V2_DNS
277  LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS
278 */
279
280 /* The number of bytes in a int.  */
281 #undef SIZEOF_INT
282
283 /* The number of bytes in a long.  */
284 #undef SIZEOF_LONG
285
286 /* The number of bytes in a short.  */
287 #undef SIZEOF_SHORT
288
289 /* Define if you have the bcopy function.  */
290 #undef HAVE_BCOPY
291
292 /* Define if you have the ctime_r function.  */
293 #undef HAVE_CTIME_R
294
295 /* Define if you have the flock function.  */
296 #undef HAVE_FLOCK
297
298 /* Define if you have the getdtablesize function.  */
299 #undef HAVE_GETDTABLESIZE
300
301 /* Define if you have the gethostbyaddr_r function.  */
302 #undef HAVE_GETHOSTBYADDR_R
303
304 /* Define if you have the gethostbyname_r function.  */
305 #undef HAVE_GETHOSTBYNAME_R
306
307 /* Define if you have the gethostname function.  */
308 #undef HAVE_GETHOSTNAME
309
310 /* Define if you have the getopt function.  */
311 #undef HAVE_GETOPT
312
313 /* Define if you have the getpwuid function.  */
314 #undef HAVE_GETPWUID
315
316 /* Define if you have the gettimeofday function.  */
317 #undef HAVE_GETTIMEOFDAY
318
319 /* Define if you have the lockf function.  */
320 #undef HAVE_LOCKF
321
322 /* Define if you have the memcpy function.  */
323 #undef HAVE_MEMCPY
324
325 /* Define if you have the memmove function.  */
326 #undef HAVE_MEMMOVE
327
328 /* Define if you have the mkstemp function.  */
329 #undef HAVE_MKSTEMP
330
331 /* Define if you have the pthread_detach function.  */
332 #undef HAVE_PTHREAD_DETACH
333
334 /* Define if you have the pthread_getconcurrency function.  */
335 #undef HAVE_PTHREAD_GETCONCURRENCY
336
337 /* Define if you have the pthread_kill function.  */
338 #undef HAVE_PTHREAD_KILL
339
340 /* Define if you have the pthread_setconcurrency function.  */
341 #undef HAVE_PTHREAD_SETCONCURRENCY
342
343 /* Define if you have the pthread_yield function.  */
344 #undef HAVE_PTHREAD_YIELD
345
346 /* Define if you have the res_search function.  */
347 #undef HAVE_RES_SEARCH
348
349 /* Define if you have the sched_yield function.  */
350 #undef HAVE_SCHED_YIELD
351
352 /* Define if you have the select function.  */
353 #undef HAVE_SELECT
354
355 /* Define if you have the setpwfile function.  */
356 #undef HAVE_SETPWFILE
357
358 /* Define if you have the setsid function.  */
359 #undef HAVE_SETSID
360
361 /* Define if you have the signal function.  */
362 #undef HAVE_SIGNAL
363
364 /* Define if you have the sigset function.  */
365 #undef HAVE_SIGSET
366
367 /* Define if you have the snprintf function.  */
368 #undef HAVE_SNPRINTF
369
370 /* Define if you have the socket function.  */
371 #undef HAVE_SOCKET
372
373 /* Define if you have the strdup function.  */
374 #undef HAVE_STRDUP
375
376 /* Define if you have the strerror function.  */
377 #undef HAVE_STRERROR
378
379 /* Define if you have the strpbrk function.  */
380 #undef HAVE_STRPBRK
381
382 /* Define if you have the strrchr function.  */
383 #undef HAVE_STRRCHR
384
385 /* Define if you have the strsep function.  */
386 #undef HAVE_STRSEP
387
388 /* Define if you have the strspn function.  */
389 #undef HAVE_STRSPN
390
391 /* Define if you have the strstr function.  */
392 #undef HAVE_STRSTR
393
394 /* Define if you have the strtok function.  */
395 #undef HAVE_STRTOK
396
397 /* Define if you have the strtok_r function.  */
398 #undef HAVE_STRTOK_R
399
400 /* Define if you have the strtol function.  */
401 #undef HAVE_STRTOL
402
403 /* Define if you have the strtoul function.  */
404 #undef HAVE_STRTOUL
405
406 /* Define if you have the sysconf function.  */
407 #undef HAVE_SYSCONF
408
409 /* Define if you have the tempnam function.  */
410 #undef HAVE_TEMPNAM
411
412 /* Define if you have the thr_getconcurrency function.  */
413 #undef HAVE_THR_GETCONCURRENCY
414
415 /* Define if you have the thr_setconcurrency function.  */
416 #undef HAVE_THR_SETCONCURRENCY
417
418 /* Define if you have the thr_yield function.  */
419 #undef HAVE_THR_YIELD
420
421 /* Define if you have the vsnprintf function.  */
422 #undef HAVE_VSNPRINTF
423
424 /* Define if you have the vsprintf function.  */
425 #undef HAVE_VSPRINTF
426
427 /* Define if you have the waitpid function.  */
428 #undef HAVE_WAITPID
429
430 /* Define if you have the <crypt.h> header file.  */
431 #undef HAVE_CRYPT_H
432
433 /* Define if you have the <db.h> header file.  */
434 #undef HAVE_DB_H
435
436 /* Define if you have the <db_185.h> header file.  */
437 #undef HAVE_DB_185_H
438
439 /* Define if you have the <des.h> header file.  */
440 #undef HAVE_DES_H
441
442 /* Define if you have the <dirent.h> header file.  */
443 #undef HAVE_DIRENT_H
444
445 /* Define if you have the <dmalloc.h> header file.  */
446 #undef HAVE_DMALLOC_H
447
448 /* Define if you have the <errno.h> header file.  */
449 #undef HAVE_ERRNO_H
450
451 /* Define if you have the <fcntl.h> header file.  */
452 #undef HAVE_FCNTL_H
453
454 /* Define if you have the <filio.h> header file.  */
455 #undef HAVE_FILIO_H
456
457 /* Define if you have the <gdbm.h> header file.  */
458 #undef HAVE_GDBM_H
459
460 /* Define if you have the <getopt.h> header file.  */
461 #undef HAVE_GETOPT_H
462
463 /* Define if you have the <kerberosIV/des.h> header file.  */
464 #undef HAVE_KERBEROSIV_DES_H
465
466 /* Define if you have the <kerberosIV/krb.h> header file.  */
467 #undef HAVE_KERBEROSIV_KRB_H
468
469 /* Define if you have the <krb.h> header file.  */
470 #undef HAVE_KRB_H
471
472 /* Define if you have the <libutil.h> header file.  */
473 #undef HAVE_LIBUTIL_H
474
475 /* Define if you have the <limits.h> header file.  */
476 #undef HAVE_LIMITS_H
477
478 /* Define if you have the <lwp/lwp.h> header file.  */
479 #undef HAVE_LWP_LWP_H
480
481 /* Define if you have the <mach/cthreads.h> header file.  */
482 #undef HAVE_MACH_CTHREADS_H
483
484 /* Define if you have the <malloc.h> header file.  */
485 #undef HAVE_MALLOC_H
486
487 /* Define if you have the <memory.h> header file.  */
488 #undef HAVE_MEMORY_H
489
490 /* Define if you have the <ncurses.h> header file.  */
491 #undef HAVE_NCURSES_H
492
493 /* Define if you have the <ndbm.h> header file.  */
494 #undef HAVE_NDBM_H
495
496 /* Define if you have the <ndir.h> header file.  */
497 #undef HAVE_NDIR_H
498
499 /* Define if you have the <psap.h> header file.  */
500 #undef HAVE_PSAP_H
501
502 /* Define if you have the <pthread.h> header file.  */
503 #undef HAVE_PTHREAD_H
504
505 /* Define if you have the <pwd.h> header file.  */
506 #undef HAVE_PWD_H
507
508 /* Define if you have the <regex.h> header file.  */
509 #undef HAVE_REGEX_H
510
511 /* Define if you have the <sched.h> header file.  */
512 #undef HAVE_SCHED_H
513
514 /* Define if you have the <sgtty.h> header file.  */
515 #undef HAVE_SGTTY_H
516
517 /* Define if you have the <stdarg.h> header file.  */
518 #undef HAVE_STDARG_H
519
520 /* Define if you have the <stddef.h> header file.  */
521 #undef HAVE_STDDEF_H
522
523 /* Define if you have the <string.h> header file.  */
524 #undef HAVE_STRING_H
525
526 /* Define if you have the <strings.h> header file.  */
527 #undef HAVE_STRINGS_H
528
529 /* Define if you have the <synch.h> header file.  */
530 #undef HAVE_SYNCH_H
531
532 /* Define if you have the <sys/dir.h> header file.  */
533 #undef HAVE_SYS_DIR_H
534
535 /* Define if you have the <sys/errno.h> header file.  */
536 #undef HAVE_SYS_ERRNO_H
537
538 /* Define if you have the <sys/file.h> header file.  */
539 #undef HAVE_SYS_FILE_H
540
541 /* Define if you have the <sys/filio.h> header file.  */
542 #undef HAVE_SYS_FILIO_H
543
544 /* Define if you have the <sys/ioctl.h> header file.  */
545 #undef HAVE_SYS_IOCTL_H
546
547 /* Define if you have the <sys/ndir.h> header file.  */
548 #undef HAVE_SYS_NDIR_H
549
550 /* Define if you have the <sys/param.h> header file.  */
551 #undef HAVE_SYS_PARAM_H
552
553 /* Define if you have the <sys/resource.h> header file.  */
554 #undef HAVE_SYS_RESOURCE_H
555
556 /* Define if you have the <sys/socket.h> header file.  */
557 #undef HAVE_SYS_SOCKET_H
558
559 /* Define if you have the <sys/syslog.h> header file.  */
560 #undef HAVE_SYS_SYSLOG_H
561
562 /* Define if you have the <sys/time.h> header file.  */
563 #undef HAVE_SYS_TIME_H
564
565 /* Define if you have the <sys/types.h> header file.  */
566 #undef HAVE_SYS_TYPES_H
567
568 /* Define if you have the <sysexits.h> header file.  */
569 #undef HAVE_SYSEXITS_H
570
571 /* Define if you have the <syslog.h> header file.  */
572 #undef HAVE_SYSLOG_H
573
574 /* Define if you have the <tcpd.h> header file.  */
575 #undef HAVE_TCPD_H
576
577 /* Define if you have the <termcap.h> header file.  */
578 #undef HAVE_TERMCAP_H
579
580 /* Define if you have the <termios.h> header file.  */
581 #undef HAVE_TERMIOS_H
582
583 /* Define if you have the <thread.h> header file.  */
584 #undef HAVE_THREAD_H
585
586 /* Define if you have the <unistd.h> header file.  */
587 #undef HAVE_UNISTD_H
588
589 /* Define if you have the V3 library (-lV3).  */
590 #undef HAVE_LIBV3
591
592 /* Define if you have the bind library (-lbind).  */
593 #undef HAVE_LIBBIND
594
595 /* Define if you have the dmalloc library (-ldmalloc).  */
596 #undef HAVE_LIBDMALLOC
597
598 /* Define if you have the gen library (-lgen).  */
599 #undef HAVE_LIBGEN
600
601 /* Define if you have the inet library (-linet).  */
602 #undef HAVE_LIBINET
603
604 /* Define if you have the net library (-lnet).  */
605 #undef HAVE_LIBNET
606
607 /* Define if you have the nsl library (-lnsl).  */
608 #undef HAVE_LIBNSL
609
610 /* Define if you have the nsl_s library (-lnsl_s).  */
611 #undef HAVE_LIBNSL_S
612
613 /* Define if you have the resolv library (-lresolv).  */
614 #undef HAVE_LIBRESOLV
615
616 /* Define if you have the socket library (-lsocket).  */
617 #undef HAVE_LIBSOCKET
618
619 /* Define if TIOCGWINSZ requires sys/ioctl.h */
620 #undef GWINSZ_IN_SYS_IOCTL
621
622 /* Define if system has ptrdiff_t type */
623 #undef HAVE_PTRDIFF_T
624
625 /* 1 */
626 #undef LDAP_API_FEATURE_X_OPENLDAP_V2_DNS
627
628 /* 1 */
629 #undef LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS
630
631 /* portable.h.bot begin */
632 /*
633  * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
634  * All rights reserved.
635  *
636  * Redistribution and use in source and binary forms are permitted only
637  * as authorized by the OpenLDAP Public License.  A copy of this
638  * license is available at http://www.OpenLDAP.org/license.html or
639  * in file LICENSE in the top-level directory of the distribution.
640  */
641
642 #ifdef HAVE_STDDEF_H
643 #       include <stddef.h>
644 #endif
645
646 #include "ldap_cdefs.h"
647 #include "ldap_features.h"
648
649 #endif /* _LDAP_PORTABLE_H */
650
651 /* portable.h.bot end */