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