xref: /netbsd-src/external/bsd/openldap/dist/include/portable.hin (revision bdc22b2e01993381dcefeff2bc9b56ca75a4235c)
1/* include/portable.hin.  Generated from configure.in by autoheader.  */
2
3
4/* begin of portable.h.pre */
5/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
6 *
7 * Copyright 1998-2017 The OpenLDAP Foundation
8 * All rights reserved.
9 *
10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted only as authorized by the OpenLDAP
12 * Public License.
13 *
14 * A copy of this license is available in the file LICENSE in the
15 * top-level directory of the distribution or, alternatively, at
16 * <http://www.OpenLDAP.org/license.html>.
17 */
18
19#ifndef _LDAP_PORTABLE_H
20#define _LDAP_PORTABLE_H
21
22/* define this if needed to get reentrant functions */
23#ifndef REENTRANT
24#undef REENTRANT
25#endif
26#ifndef _REENTRANT
27#undef _REENTRANT
28#endif
29
30/* define this if needed to get threadsafe functions */
31#ifndef THREADSAFE
32#undef THREADSAFE
33#endif
34#ifndef _THREADSAFE
35#undef _THREADSAFE
36#endif
37#ifndef THREAD_SAFE
38#undef THREAD_SAFE
39#endif
40#ifndef _THREAD_SAFE
41#undef _THREAD_SAFE
42#endif
43
44#ifndef _SGI_MP_SOURCE
45#undef _SGI_MP_SOURCE
46#endif
47
48/* end of portable.h.pre */
49
50
51/* define to use both <string.h> and <strings.h> */
52#undef BOTH_STRINGS_H
53
54/* define if cross compiling */
55#undef CROSS_COMPILING
56
57/* set to the number of arguments ctime_r() expects */
58#undef CTIME_R_NARGS
59
60/* define if toupper() requires islower() */
61#undef C_UPPER_LOWER
62
63/* define if sys_errlist is not declared in stdio.h or errno.h */
64#undef DECL_SYS_ERRLIST
65
66/* define to enable rewriting in back-ldap and back-meta */
67#undef ENABLE_REWRITE
68
69/* define to enable slapi library */
70#undef ENABLE_SLAPI
71
72/* defined to be the EXE extension */
73#undef EXEEXT
74
75/* set to the number of arguments gethostbyaddr_r() expects */
76#undef GETHOSTBYADDR_R_NARGS
77
78/* set to the number of arguments gethostbyname_r() expects */
79#undef GETHOSTBYNAME_R_NARGS
80
81/* Define to 1 if `TIOCGWINSZ' requires <sys/ioctl.h>. */
82#undef GWINSZ_IN_SYS_IOCTL
83
84/* define if you have AIX security lib */
85#undef HAVE_AIX_SECURITY
86
87/* Define to 1 if you have the <arpa/inet.h> header file. */
88#undef HAVE_ARPA_INET_H
89
90/* Define to 1 if you have the <arpa/nameser.h> header file. */
91#undef HAVE_ARPA_NAMESER_H
92
93/* Define to 1 if you have the <assert.h> header file. */
94#undef HAVE_ASSERT_H
95
96/* Define to 1 if you have the `bcopy' function. */
97#undef HAVE_BCOPY
98
99/* define this if Berkeley DB is available */
100#undef HAVE_BERKELEY_DB
101
102/* define if Berkeley DB has DB_THREAD support */
103#undef HAVE_BERKELEY_DB_THREAD
104
105/* Define to 1 if you have the <bits/types.h> header file. */
106#undef HAVE_BITS_TYPES_H
107
108/* Define to 1 if you have the `chroot' function. */
109#undef HAVE_CHROOT
110
111/* Define to 1 if you have the `closesocket' function. */
112#undef HAVE_CLOSESOCKET
113
114/* Define to 1 if you have the <conio.h> header file. */
115#undef HAVE_CONIO_H
116
117/* define if crypt(3) is available */
118#undef HAVE_CRYPT
119
120/* Define to 1 if you have the <crypt.h> header file. */
121#undef HAVE_CRYPT_H
122
123/* Define to 1 if you have the <cthreads.h> header file. */
124#undef HAVE_CTHREADS_H
125
126/* Define to 1 if you have the `ctime_r' function. */
127#undef HAVE_CTIME_R
128
129/* define if you have Cyrus SASL */
130#undef HAVE_CYRUS_SASL
131
132/* Define to 1 if you have the <db.h> header file. */
133#undef HAVE_DB_H
134
135/* define if your system supports /dev/poll */
136#undef HAVE_DEVPOLL
137
138/* Define to 1 if you have the <direct.h> header file. */
139#undef HAVE_DIRECT_H
140
141/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
142   */
143#undef HAVE_DIRENT_H
144
145/* Define to 1 if you have the <dlfcn.h> header file. */
146#undef HAVE_DLFCN_H
147
148/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
149#undef HAVE_DOPRNT
150
151/* define if system uses EBCDIC instead of ASCII */
152#undef HAVE_EBCDIC
153
154/* Define to 1 if you have the `endgrent' function. */
155#undef HAVE_ENDGRENT
156
157/* Define to 1 if you have the `endpwent' function. */
158#undef HAVE_ENDPWENT
159
160/* define if your system supports epoll */
161#undef HAVE_EPOLL
162
163/* Define to 1 if you have the <errno.h> header file. */
164#undef HAVE_ERRNO_H
165
166/* Define to 1 if you have the `fcntl' function. */
167#undef HAVE_FCNTL
168
169/* Define to 1 if you have the <fcntl.h> header file. */
170#undef HAVE_FCNTL_H
171
172#if 0	/* NETBSD: API incompatible */
173/* define if you actually have FreeBSD fetch(3) */
174#undef HAVE_FETCH
175#endif
176
177/* Define to 1 if you have the <filio.h> header file. */
178#undef HAVE_FILIO_H
179
180/* Define to 1 if you have the `flock' function. */
181#undef HAVE_FLOCK
182
183/* Define to 1 if you have the `fstat' function. */
184#undef HAVE_FSTAT
185
186/* Define to 1 if you have the `gai_strerror' function. */
187#undef HAVE_GAI_STRERROR
188
189/* Define to 1 if you have the `getaddrinfo' function. */
190#undef HAVE_GETADDRINFO
191
192/* Define to 1 if you have the `getdtablesize' function. */
193#undef HAVE_GETDTABLESIZE
194
195/* Define to 1 if you have the `geteuid' function. */
196#undef HAVE_GETEUID
197
198/* Define to 1 if you have the `getgrgid' function. */
199#undef HAVE_GETGRGID
200
201/* Define to 1 if you have the `gethostbyaddr_r' function. */
202#undef HAVE_GETHOSTBYADDR_R
203
204/* Define to 1 if you have the `gethostbyname_r' function. */
205#undef HAVE_GETHOSTBYNAME_R
206
207/* Define to 1 if you have the `gethostname' function. */
208#undef HAVE_GETHOSTNAME
209
210/* Define to 1 if you have the `getnameinfo' function. */
211#undef HAVE_GETNAMEINFO
212
213/* Define to 1 if you have the `getopt' function. */
214#undef HAVE_GETOPT
215
216/* Define to 1 if you have the <getopt.h> header file. */
217#undef HAVE_GETOPT_H
218
219/* Define to 1 if you have the `getpassphrase' function. */
220#undef HAVE_GETPASSPHRASE
221
222/* Define to 1 if you have the `getpeereid' function. */
223#undef HAVE_GETPEEREID
224
225/* Define to 1 if you have the `getpeerucred' function. */
226#undef HAVE_GETPEERUCRED
227
228/* Define to 1 if you have the `getpwnam' function. */
229#undef HAVE_GETPWNAM
230
231/* Define to 1 if you have the `getpwuid' function. */
232#undef HAVE_GETPWUID
233
234/* Define to 1 if you have the `getspnam' function. */
235#undef HAVE_GETSPNAM
236
237/* Define to 1 if you have the `gettimeofday' function. */
238#undef HAVE_GETTIMEOFDAY
239
240/* Define to 1 if you have the <gmp.h> header file. */
241#undef HAVE_GMP_H
242
243/* Define to 1 if you have the `gmtime_r' function. */
244#undef HAVE_GMTIME_R
245
246/* define if you have GNUtls */
247#undef HAVE_GNUTLS
248
249/* Define to 1 if you have the <gnutls/gnutls.h> header file. */
250#undef HAVE_GNUTLS_GNUTLS_H
251
252/* if you have GNU Pth */
253#undef HAVE_GNU_PTH
254
255/* Define to 1 if you have the <grp.h> header file. */
256#undef HAVE_GRP_H
257
258/* Define to 1 if you have the `hstrerror' function. */
259#undef HAVE_HSTRERROR
260
261/* define if you actually have ICU */
262#undef HAVE_ICU
263
264/* define to you inet_aton(3) is available */
265#undef HAVE_INET_ATON
266
267/* Define to 1 if you have the `inet_ntoa_b' function. */
268#undef HAVE_INET_NTOA_B
269
270/* Define to 1 if you have the `inet_ntop' function. */
271#undef HAVE_INET_NTOP
272
273/* Define to 1 if you have the `initgroups' function. */
274#undef HAVE_INITGROUPS
275
276/* Define to 1 if you have the <inttypes.h> header file. */
277#undef HAVE_INTTYPES_H
278
279/* Define to 1 if you have the `ioctl' function. */
280#undef HAVE_IOCTL
281
282/* Define to 1 if you have the <io.h> header file. */
283#undef HAVE_IO_H
284
285/* Define to 1 if you have the `gen' library (-lgen). */
286#undef HAVE_LIBGEN
287
288/* Define to 1 if you have the `gmp' library (-lgmp). */
289#undef HAVE_LIBGMP
290
291/* Define to 1 if you have the `inet' library (-linet). */
292#undef HAVE_LIBINET
293
294/* define if you have libtool -ltdl */
295#undef HAVE_LIBLTDL
296
297/* Define to 1 if you have the `net' library (-lnet). */
298#undef HAVE_LIBNET
299
300/* Define to 1 if you have the `nsl' library (-lnsl). */
301#undef HAVE_LIBNSL
302
303/* Define to 1 if you have the `nsl_s' library (-lnsl_s). */
304#undef HAVE_LIBNSL_S
305
306/* Define to 1 if you have the `socket' library (-lsocket). */
307#undef HAVE_LIBSOCKET
308
309/* Define to 1 if you have the <libutil.h> header file. */
310#undef HAVE_LIBUTIL_H
311
312/* Define to 1 if you have the `V3' library (-lV3). */
313#undef HAVE_LIBV3
314
315/* Define to 1 if you have the <limits.h> header file. */
316#undef HAVE_LIMITS_H
317
318/* if you have LinuxThreads */
319#undef HAVE_LINUX_THREADS
320
321/* Define to 1 if you have the <locale.h> header file. */
322#undef HAVE_LOCALE_H
323
324/* Define to 1 if you have the `localtime_r' function. */
325#undef HAVE_LOCALTIME_R
326
327/* Define to 1 if you have the `lockf' function. */
328#undef HAVE_LOCKF
329
330/* Define to 1 if the system has the type `long long'. */
331#undef HAVE_LONG_LONG
332
333/* Define to 1 if you have the <ltdl.h> header file. */
334#undef HAVE_LTDL_H
335
336/* define if you have Mach Cthreads */
337#undef HAVE_MACH_CTHREADS
338
339/* Define to 1 if you have the <mach/cthreads.h> header file. */
340#undef HAVE_MACH_CTHREADS_H
341
342/* Define to 1 if you have the <malloc.h> header file. */
343#undef HAVE_MALLOC_H
344
345/* Define to 1 if you have the `memcpy' function. */
346#undef HAVE_MEMCPY
347
348/* Define to 1 if you have the `memmove' function. */
349#undef HAVE_MEMMOVE
350
351/* Define to 1 if you have the <memory.h> header file. */
352#undef HAVE_MEMORY_H
353
354/* Define to 1 if you have the `memrchr' function. */
355#undef HAVE_MEMRCHR
356
357/* Define to 1 if you have the `mkstemp' function. */
358#undef HAVE_MKSTEMP
359
360/* Define to 1 if you have the `mktemp' function. */
361#undef HAVE_MKTEMP
362
363/* define this if you have mkversion */
364#undef HAVE_MKVERSION
365
366/* define if you have MozNSS */
367#undef HAVE_MOZNSS
368
369/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
370#undef HAVE_NDIR_H
371
372/* Define to 1 if you have the <netinet/tcp.h> header file. */
373#undef HAVE_NETINET_TCP_H
374
375/* define if strerror_r returns char* instead of int */
376#undef HAVE_NONPOSIX_STRERROR_R
377
378/* Define to 1 if you have the <nssutil.h> header file. */
379#undef HAVE_NSSUTIL_H
380
381/* if you have NT Event Log */
382#undef HAVE_NT_EVENT_LOG
383
384/* if you have NT Service Manager */
385#undef HAVE_NT_SERVICE_MANAGER
386
387/* if you have NT Threads */
388#undef HAVE_NT_THREADS
389
390/* define if you have OpenSSL */
391#undef HAVE_OPENSSL
392
393/* Define to 1 if you have the <openssl/bn.h> header file. */
394#undef HAVE_OPENSSL_BN_H
395
396/* define if you have OpenSSL with CRL checking capability */
397#undef HAVE_OPENSSL_CRL
398
399/* Define to 1 if you have the <openssl/crypto.h> header file. */
400#undef HAVE_OPENSSL_CRYPTO_H
401
402/* Define to 1 if you have the <openssl/ssl.h> header file. */
403#undef HAVE_OPENSSL_SSL_H
404
405/* Define to 1 if you have the `pipe' function. */
406#undef HAVE_PIPE
407
408/* Define to 1 if you have the `poll' function. */
409#undef HAVE_POLL
410
411/* Define to 1 if you have the <poll.h> header file. */
412#undef HAVE_POLL_H
413
414/* Define to 1 if you have the <process.h> header file. */
415#undef HAVE_PROCESS_H
416
417/* Define to 1 if you have the <psap.h> header file. */
418#undef HAVE_PSAP_H
419
420/* define to pthreads API spec revision */
421#undef HAVE_PTHREADS
422
423/* define if you have pthread_detach function */
424#undef HAVE_PTHREAD_DETACH
425
426/* Define to 1 if you have the `pthread_getconcurrency' function. */
427#undef HAVE_PTHREAD_GETCONCURRENCY
428
429/* Define to 1 if you have the <pthread.h> header file. */
430#undef HAVE_PTHREAD_H
431
432/* Define to 1 if you have the `pthread_kill' function. */
433#undef HAVE_PTHREAD_KILL
434
435/* Define to 1 if you have the `pthread_kill_other_threads_np' function. */
436#undef HAVE_PTHREAD_KILL_OTHER_THREADS_NP
437
438/* define if you have pthread_rwlock_destroy function */
439#undef HAVE_PTHREAD_RWLOCK_DESTROY
440
441/* Define to 1 if you have the `pthread_setconcurrency' function. */
442#undef HAVE_PTHREAD_SETCONCURRENCY
443
444/* Define to 1 if you have the `pthread_yield' function. */
445#undef HAVE_PTHREAD_YIELD
446
447/* Define to 1 if you have the <pth.h> header file. */
448#undef HAVE_PTH_H
449
450/* Define to 1 if the system has the type `ptrdiff_t'. */
451#undef HAVE_PTRDIFF_T
452
453/* Define to 1 if you have the <pwd.h> header file. */
454#undef HAVE_PWD_H
455
456/* Define to 1 if you have the `read' function. */
457#undef HAVE_READ
458
459/* Define to 1 if you have the `recv' function. */
460#undef HAVE_RECV
461
462/* Define to 1 if you have the `recvfrom' function. */
463#undef HAVE_RECVFROM
464
465/* Define to 1 if you have the <regex.h> header file. */
466#undef HAVE_REGEX_H
467
468/* Define to 1 if you have the <resolv.h> header file. */
469#undef HAVE_RESOLV_H
470
471/* define if you have res_query() */
472#undef HAVE_RES_QUERY
473
474/* define if OpenSSL needs RSAref */
475#undef HAVE_RSAREF
476
477/* Define to 1 if you have the <sasl.h> header file. */
478#undef HAVE_SASL_H
479
480/* Define to 1 if you have the <sasl/sasl.h> header file. */
481#undef HAVE_SASL_SASL_H
482
483/* define if your SASL library has sasl_version() */
484#undef HAVE_SASL_VERSION
485
486/* Define to 1 if you have the <sched.h> header file. */
487#undef HAVE_SCHED_H
488
489/* Define to 1 if you have the `sched_yield' function. */
490#undef HAVE_SCHED_YIELD
491
492/* Define to 1 if you have the `send' function. */
493#undef HAVE_SEND
494
495/* Define to 1 if you have the `sendmsg' function. */
496#undef HAVE_SENDMSG
497
498/* Define to 1 if you have the `sendto' function. */
499#undef HAVE_SENDTO
500
501/* Define to 1 if you have the `setegid' function. */
502#undef HAVE_SETEGID
503
504/* Define to 1 if you have the `seteuid' function. */
505#undef HAVE_SETEUID
506
507/* Define to 1 if you have the `setgid' function. */
508#undef HAVE_SETGID
509
510/* define if setproctitle(3) is available */
511#undef HAVE_SETPROCTITLE
512
513/* Define to 1 if you have the `setpwfile' function. */
514#undef HAVE_SETPWFILE
515
516/* Define to 1 if you have the `setsid' function. */
517#undef HAVE_SETSID
518
519/* Define to 1 if you have the `setuid' function. */
520#undef HAVE_SETUID
521
522/* Define to 1 if you have the <sgtty.h> header file. */
523#undef HAVE_SGTTY_H
524
525/* Define to 1 if you have the <shadow.h> header file. */
526#undef HAVE_SHADOW_H
527
528/* Define to 1 if you have the `sigaction' function. */
529#undef HAVE_SIGACTION
530
531/* Define to 1 if you have the `signal' function. */
532#undef HAVE_SIGNAL
533
534/* Define to 1 if you have the `sigset' function. */
535#undef HAVE_SIGSET
536
537/* define if you have -lslp */
538#undef HAVE_SLP
539
540/* Define to 1 if you have the <slp.h> header file. */
541#undef HAVE_SLP_H
542
543/* Define to 1 if you have the `snprintf' function. */
544#undef HAVE_SNPRINTF
545
546/* if you have spawnlp() */
547#undef HAVE_SPAWNLP
548
549/* Define to 1 if you have the <sqlext.h> header file. */
550#undef HAVE_SQLEXT_H
551
552/* Define to 1 if you have the <sql.h> header file. */
553#undef HAVE_SQL_H
554
555/* Define to 1 if you have the <stddef.h> header file. */
556#undef HAVE_STDDEF_H
557
558/* Define to 1 if you have the <stdint.h> header file. */
559#undef HAVE_STDINT_H
560
561/* Define to 1 if you have the <stdlib.h> header file. */
562#undef HAVE_STDLIB_H
563
564/* Define to 1 if you have the `strdup' function. */
565#undef HAVE_STRDUP
566
567/* Define to 1 if you have the `strerror' function. */
568#undef HAVE_STRERROR
569
570/* Define to 1 if you have the `strerror_r' function. */
571#undef HAVE_STRERROR_R
572
573/* Define to 1 if you have the `strftime' function. */
574#undef HAVE_STRFTIME
575
576/* Define to 1 if you have the <strings.h> header file. */
577#undef HAVE_STRINGS_H
578
579/* Define to 1 if you have the <string.h> header file. */
580#undef HAVE_STRING_H
581
582/* Define to 1 if you have the `strpbrk' function. */
583#undef HAVE_STRPBRK
584
585/* Define to 1 if you have the `strrchr' function. */
586#undef HAVE_STRRCHR
587
588/* Define to 1 if you have the `strsep' function. */
589#undef HAVE_STRSEP
590
591/* Define to 1 if you have the `strspn' function. */
592#undef HAVE_STRSPN
593
594/* Define to 1 if you have the `strstr' function. */
595#undef HAVE_STRSTR
596
597/* Define to 1 if you have the `strtol' function. */
598#undef HAVE_STRTOL
599
600/* Define to 1 if you have the `strtoll' function. */
601#undef HAVE_STRTOLL
602
603/* Define to 1 if you have the `strtoq' function. */
604#undef HAVE_STRTOQ
605
606/* Define to 1 if you have the `strtoul' function. */
607#undef HAVE_STRTOUL
608
609/* Define to 1 if you have the `strtoull' function. */
610#undef HAVE_STRTOULL
611
612/* Define to 1 if you have the `strtouq' function. */
613#undef HAVE_STRTOUQ
614
615/* Define to 1 if `msg_accrightslen' is member of `struct msghdr'. */
616#undef HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTSLEN
617
618/* Define to 1 if `msg_control' is member of `struct msghdr'. */
619#undef HAVE_STRUCT_MSGHDR_MSG_CONTROL
620
621/* Define to 1 if `pw_gecos' is member of `struct passwd'. */
622#undef HAVE_STRUCT_PASSWD_PW_GECOS
623
624/* Define to 1 if `pw_passwd' is member of `struct passwd'. */
625#undef HAVE_STRUCT_PASSWD_PW_PASSWD
626
627/* Define to 1 if `st_blksize' is member of `struct stat'. */
628#undef HAVE_STRUCT_STAT_ST_BLKSIZE
629
630/* Define to 1 if `st_fstype' is member of `struct stat'. */
631#undef HAVE_STRUCT_STAT_ST_FSTYPE
632
633/* define to 1 if st_fstype is char * */
634#undef HAVE_STRUCT_STAT_ST_FSTYPE_CHAR
635
636/* define to 1 if st_fstype is int */
637#undef HAVE_STRUCT_STAT_ST_FSTYPE_INT
638
639/* Define to 1 if `st_vfstype' is member of `struct stat'. */
640#undef HAVE_STRUCT_STAT_ST_VFSTYPE
641
642/* Define to 1 if you have the <synch.h> header file. */
643#undef HAVE_SYNCH_H
644
645/* Define to 1 if you have the `sysconf' function. */
646#undef HAVE_SYSCONF
647
648/* Define to 1 if you have the <sysexits.h> header file. */
649#undef HAVE_SYSEXITS_H
650
651/* Define to 1 if you have the <syslog.h> header file. */
652#undef HAVE_SYSLOG_H
653
654/* Define to 1 if you have the <sys/devpoll.h> header file. */
655#undef HAVE_SYS_DEVPOLL_H
656
657/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
658   */
659#undef HAVE_SYS_DIR_H
660
661/* Define to 1 if you have the <sys/epoll.h> header file. */
662#undef HAVE_SYS_EPOLL_H
663
664/* define if you actually have sys_errlist in your libs */
665#undef HAVE_SYS_ERRLIST
666
667/* Define to 1 if you have the <sys/errno.h> header file. */
668#undef HAVE_SYS_ERRNO_H
669
670/* Define to 1 if you have the <sys/file.h> header file. */
671#undef HAVE_SYS_FILE_H
672
673/* Define to 1 if you have the <sys/filio.h> header file. */
674#undef HAVE_SYS_FILIO_H
675
676/* Define to 1 if you have the <sys/fstyp.h> header file. */
677#undef HAVE_SYS_FSTYP_H
678
679/* Define to 1 if you have the <sys/ioctl.h> header file. */
680#undef HAVE_SYS_IOCTL_H
681
682/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
683   */
684#undef HAVE_SYS_NDIR_H
685
686/* Define to 1 if you have the <sys/param.h> header file. */
687#undef HAVE_SYS_PARAM_H
688
689/* Define to 1 if you have the <sys/poll.h> header file. */
690#undef HAVE_SYS_POLL_H
691
692/* Define to 1 if you have the <sys/privgrp.h> header file. */
693#undef HAVE_SYS_PRIVGRP_H
694
695/* Define to 1 if you have the <sys/resource.h> header file. */
696#undef HAVE_SYS_RESOURCE_H
697
698/* Define to 1 if you have the <sys/select.h> header file. */
699#undef HAVE_SYS_SELECT_H
700
701/* Define to 1 if you have the <sys/socket.h> header file. */
702#undef HAVE_SYS_SOCKET_H
703
704/* Define to 1 if you have the <sys/stat.h> header file. */
705#undef HAVE_SYS_STAT_H
706
707/* Define to 1 if you have the <sys/syslog.h> header file. */
708#undef HAVE_SYS_SYSLOG_H
709
710/* Define to 1 if you have the <sys/time.h> header file. */
711#undef HAVE_SYS_TIME_H
712
713/* Define to 1 if you have the <sys/types.h> header file. */
714#undef HAVE_SYS_TYPES_H
715
716/* Define to 1 if you have the <sys/ucred.h> header file. */
717#undef HAVE_SYS_UCRED_H
718
719/* Define to 1 if you have the <sys/uio.h> header file. */
720#undef HAVE_SYS_UIO_H
721
722/* Define to 1 if you have the <sys/un.h> header file. */
723#undef HAVE_SYS_UN_H
724
725/* Define to 1 if you have the <sys/uuid.h> header file. */
726#undef HAVE_SYS_UUID_H
727
728/* Define to 1 if you have the <sys/vmount.h> header file. */
729#undef HAVE_SYS_VMOUNT_H
730
731/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
732#undef HAVE_SYS_WAIT_H
733
734/* define if you have -lwrap */
735#undef HAVE_TCPD
736
737/* Define to 1 if you have the <tcpd.h> header file. */
738#undef HAVE_TCPD_H
739
740/* Define to 1 if you have the <termios.h> header file. */
741#undef HAVE_TERMIOS_H
742
743/* if you have Solaris LWP (thr) package */
744#undef HAVE_THR
745
746/* Define to 1 if you have the <thread.h> header file. */
747#undef HAVE_THREAD_H
748
749/* Define to 1 if you have the `thr_getconcurrency' function. */
750#undef HAVE_THR_GETCONCURRENCY
751
752/* Define to 1 if you have the `thr_setconcurrency' function. */
753#undef HAVE_THR_SETCONCURRENCY
754
755/* Define to 1 if you have the `thr_yield' function. */
756#undef HAVE_THR_YIELD
757
758#if 0	/* NETBSD: We'll control via Makefile and ${MKCRYPTO} */
759/* define if you have TLS */
760#undef HAVE_TLS
761#endif
762
763/* Define to 1 if you have the <unicode/utypes.h> header file. */
764#undef HAVE_UNICODE_UTYPES_H
765
766/* Define to 1 if you have the <unistd.h> header file. */
767#undef HAVE_UNISTD_H
768
769/* Define to 1 if you have the <utime.h> header file. */
770#undef HAVE_UTIME_H
771
772/* define if you have uuid_generate() */
773#undef HAVE_UUID_GENERATE
774
775/* define if you have uuid_to_str() */
776#undef HAVE_UUID_TO_STR
777
778/* Define to 1 if you have the <uuid/uuid.h> header file. */
779#undef HAVE_UUID_UUID_H
780
781/* Define to 1 if you have the `vprintf' function. */
782#undef HAVE_VPRINTF
783
784/* Define to 1 if you have the `vsnprintf' function. */
785#undef HAVE_VSNPRINTF
786
787/* Define to 1 if you have the `wait4' function. */
788#undef HAVE_WAIT4
789
790/* Define to 1 if you have the `waitpid' function. */
791#undef HAVE_WAITPID
792
793/* define if you have winsock */
794#undef HAVE_WINSOCK
795
796/* define if you have winsock2 */
797#undef HAVE_WINSOCK2
798
799/* Define to 1 if you have the <winsock2.h> header file. */
800#undef HAVE_WINSOCK2_H
801
802/* Define to 1 if you have the <winsock.h> header file. */
803#undef HAVE_WINSOCK_H
804
805/* Define to 1 if you have the `write' function. */
806#undef HAVE_WRITE
807
808/* define if select implicitly yields */
809#undef HAVE_YIELDING_SELECT
810
811/* Define to 1 if you have the `_vsnprintf' function. */
812#undef HAVE__VSNPRINTF
813
814/* define to 32-bit or greater integer type */
815#undef LBER_INT_T
816
817/* define to large integer type */
818#undef LBER_LEN_T
819
820/* define to socket descriptor type */
821#undef LBER_SOCKET_T
822
823/* define to large integer type */
824#undef LBER_TAG_T
825
826/* define to 1 if library is thread safe */
827#undef LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE
828
829/* define to LDAP VENDOR VERSION */
830#undef LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS
831
832/* define this to add debugging code */
833#undef LDAP_DEBUG
834
835/* define if LDAP libs are dynamic */
836#undef LDAP_LIBS_DYNAMIC
837
838/* define to support PF_INET6 */
839#undef LDAP_PF_INET6
840
841/* define to support PF_LOCAL */
842#undef LDAP_PF_LOCAL
843
844/* define this for LDAP process title support */
845#undef LDAP_PROCTITLE
846
847/* define this to add SLAPI code */
848#undef LDAP_SLAPI
849
850/* define this to add syslog code */
851#undef LDAP_SYSLOG
852
853/* Version */
854#undef LDAP_VENDOR_VERSION
855
856/* Major */
857#undef LDAP_VENDOR_VERSION_MAJOR
858
859/* Minor */
860#undef LDAP_VENDOR_VERSION_MINOR
861
862/* Patch */
863#undef LDAP_VENDOR_VERSION_PATCH
864
865/* define if memcmp is not 8-bit clean or is otherwise broken */
866#undef NEED_MEMCMP_REPLACEMENT
867
868/* define if you have (or want) no threads */
869#undef NO_THREADS
870
871/* define to use the original debug style */
872#undef OLD_DEBUG
873
874/* Package */
875#undef OPENLDAP_PACKAGE
876
877/* Version */
878#undef OPENLDAP_VERSION
879
880/* Define to the address where bug reports for this package should be sent. */
881#undef PACKAGE_BUGREPORT
882
883/* Define to the full name of this package. */
884#undef PACKAGE_NAME
885
886/* Define to the full name and version of this package. */
887#undef PACKAGE_STRING
888
889/* Define to the one symbol short name of this package. */
890#undef PACKAGE_TARNAME
891
892/* Define to the version of this package. */
893#undef PACKAGE_VERSION
894
895/* define if sched_yield yields the entire process */
896#undef REPLACE_BROKEN_YIELD
897
898/* Define as the return type of signal handlers (`int' or `void'). */
899#undef RETSIGTYPE
900
901/* Define to the type of arg 1 for `select'. */
902#undef SELECT_TYPE_ARG1
903
904/* Define to the type of args 2, 3 and 4 for `select'. */
905#undef SELECT_TYPE_ARG234
906
907/* Define to the type of arg 5 for `select'. */
908#undef SELECT_TYPE_ARG5
909
910/* The size of `int', as computed by sizeof. */
911#undef SIZEOF_INT
912
913/* The size of `long', as computed by sizeof. */
914#undef SIZEOF_LONG
915
916/* The size of `long long', as computed by sizeof. */
917#undef SIZEOF_LONG_LONG
918
919/* The size of `short', as computed by sizeof. */
920#undef SIZEOF_SHORT
921
922/* The size of `wchar_t', as computed by sizeof. */
923#undef SIZEOF_WCHAR_T
924
925/* define to support per-object ACIs */
926#undef SLAPD_ACI_ENABLED
927
928/* define to support BDB backend */
929#undef SLAPD_BDB
930
931/* define to support cleartext passwords */
932#undef SLAPD_CLEARTEXT
933
934/* define to support crypt(3) passwords */
935#undef SLAPD_CRYPT
936
937/* define to support DNS SRV backend */
938#undef SLAPD_DNSSRV
939
940/* define to support HDB backend */
941#undef SLAPD_HDB
942
943/* define to support LDAP backend */
944#undef SLAPD_LDAP
945
946/* define to support LAN Manager passwords */
947#undef SLAPD_LMHASH
948
949/* define to support MDB backend */
950#undef SLAPD_MDB
951
952/* define to support LDAP Metadirectory backend */
953#undef SLAPD_META
954
955/* define to support modules */
956#undef SLAPD_MODULES
957
958/* dynamically linked module */
959#undef SLAPD_MOD_DYNAMIC
960
961/* statically linked module */
962#undef SLAPD_MOD_STATIC
963
964/* define to support cn=Monitor backend */
965#undef SLAPD_MONITOR
966
967/* define to support NDB backend */
968#undef SLAPD_NDB
969
970/* define to support NULL backend */
971#undef SLAPD_NULL
972
973/* define for In-Directory Access Logging overlay */
974#undef SLAPD_OVER_ACCESSLOG
975
976/* define for Audit Logging overlay */
977#undef SLAPD_OVER_AUDITLOG
978
979/* define for Collect overlay */
980#undef SLAPD_OVER_COLLECT
981
982/* define for Attribute Constraint overlay */
983#undef SLAPD_OVER_CONSTRAINT
984
985/* define for Dynamic Directory Services overlay */
986#undef SLAPD_OVER_DDS
987
988/* define for Dynamic Directory Services overlay */
989#undef SLAPD_OVER_DEREF
990
991/* define for Dynamic Group overlay */
992#undef SLAPD_OVER_DYNGROUP
993
994/* define for Dynamic List overlay */
995#undef SLAPD_OVER_DYNLIST
996
997/* define for Reverse Group Membership overlay */
998#undef SLAPD_OVER_MEMBEROF
999
1000/* define for Password Policy overlay */
1001#undef SLAPD_OVER_PPOLICY
1002
1003/* define for Proxy Cache overlay */
1004#undef SLAPD_OVER_PROXYCACHE
1005
1006/* define for Referential Integrity overlay */
1007#undef SLAPD_OVER_REFINT
1008
1009/* define for Referential Integrity overlay */
1010#undef SLAPD_OVER_RETCODE
1011
1012/* define for Rewrite/Remap overlay */
1013#undef SLAPD_OVER_RWM
1014
1015/* define for Sequential Modify overlay */
1016#undef SLAPD_OVER_SEQMOD
1017
1018/* define for ServerSideSort/VLV overlay */
1019#undef SLAPD_OVER_SSSVLV
1020
1021/* define for Syncrepl Provider overlay */
1022#undef SLAPD_OVER_SYNCPROV
1023
1024/* define for Translucent Proxy overlay */
1025#undef SLAPD_OVER_TRANSLUCENT
1026
1027/* define for Attribute Uniqueness overlay */
1028#undef SLAPD_OVER_UNIQUE
1029
1030/* define for Value Sorting overlay */
1031#undef SLAPD_OVER_VALSORT
1032
1033/* define to support PASSWD backend */
1034#undef SLAPD_PASSWD
1035
1036/* define to support PERL backend */
1037#undef SLAPD_PERL
1038
1039/* define to support relay backend */
1040#undef SLAPD_RELAY
1041
1042/* define to support reverse lookups */
1043#undef SLAPD_RLOOKUPS
1044
1045/* define to support SHELL backend */
1046#undef SLAPD_SHELL
1047
1048/* define to support SOCK backend */
1049#undef SLAPD_SOCK
1050
1051/* define to support SASL passwords */
1052#undef SLAPD_SPASSWD
1053
1054/* define to support SQL backend */
1055#undef SLAPD_SQL
1056
1057/* define to support run-time loadable ACL */
1058#undef SLAP_DYNACL
1059
1060/* Define to 1 if you have the ANSI C header files. */
1061#undef STDC_HEADERS
1062
1063/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
1064#undef TIME_WITH_SYS_TIME
1065
1066/* Define to 1 if your <sys/time.h> declares `struct tm'. */
1067#undef TM_IN_SYS_TIME
1068
1069/* set to urandom device */
1070#undef URANDOM_DEVICE
1071
1072/* define to use OpenSSL BIGNUM for MP */
1073#undef USE_MP_BIGNUM
1074
1075/* define to use GMP for MP */
1076#undef USE_MP_GMP
1077
1078/* define to use 'long' for MP */
1079#undef USE_MP_LONG
1080
1081/* define to use 'long long' for MP */
1082#undef USE_MP_LONG_LONG
1083
1084/* Define to 1 if your processor stores words with the most significant byte
1085   first (like Motorola and SPARC, unlike Intel and VAX). */
1086#if defined __BIG_ENDIAN__
1087#  define WORDS_BIGENDIAN 1
1088#endif
1089
1090/* Define to the type of arg 3 for `accept'. */
1091#undef ber_socklen_t
1092
1093/* Define to `char *' if <sys/types.h> does not define. */
1094#undef caddr_t
1095
1096/* Define to empty if `const' does not conform to ANSI C. */
1097#undef const
1098
1099/* Define to `int' if <sys/types.h> doesn't define. */
1100#undef gid_t
1101
1102/* Define to `int' if <sys/types.h> does not define. */
1103#undef mode_t
1104
1105/* Define to `long' if <sys/types.h> does not define. */
1106#undef off_t
1107
1108/* Define to `int' if <sys/types.h> does not define. */
1109#undef pid_t
1110
1111/* Define to `int' if <signal.h> does not define. */
1112#undef sig_atomic_t
1113
1114/* Define to `unsigned' if <sys/types.h> does not define. */
1115#undef size_t
1116
1117/* define to snprintf routine */
1118#undef snprintf
1119
1120/* Define like ber_socklen_t if <sys/socket.h> does not define. */
1121#undef socklen_t
1122
1123/* Define to `signed int' if <sys/types.h> does not define. */
1124#undef ssize_t
1125
1126/* Define to `int' if <sys/types.h> doesn't define. */
1127#undef uid_t
1128
1129/* define as empty if volatile is not supported */
1130#undef volatile
1131
1132/* define to snprintf routine */
1133#undef vsnprintf
1134
1135
1136/* begin of portable.h.post */
1137
1138#ifdef _WIN32
1139	/* don't suck in all of the win32 api */
1140#	define WIN32_LEAN_AND_MEAN 1
1141#endif
1142
1143#ifndef LDAP_NEEDS_PROTOTYPES
1144/* force LDAP_P to always include prototypes */
1145#define LDAP_NEEDS_PROTOTYPES 1
1146#endif
1147
1148#ifndef LDAP_REL_ENG
1149#if (LDAP_VENDOR_VERSION == 000000) && !defined(LDAP_DEVEL)
1150#define LDAP_DEVEL
1151#endif
1152#if defined(LDAP_DEVEL) && !defined(LDAP_TEST)
1153#define LDAP_TEST
1154#endif
1155#endif
1156
1157#ifdef HAVE_STDDEF_H
1158#	include <stddef.h>
1159#endif
1160
1161#ifdef HAVE_EBCDIC
1162/* ASCII/EBCDIC converting replacements for stdio funcs
1163 * vsnprintf and snprintf are used too, but they are already
1164 * checked by the configure script
1165 */
1166#define fputs ber_pvt_fputs
1167#define fgets ber_pvt_fgets
1168#define printf ber_pvt_printf
1169#define fprintf ber_pvt_fprintf
1170#define vfprintf ber_pvt_vfprintf
1171#define vsprintf ber_pvt_vsprintf
1172#endif
1173
1174#include "ac/fdset.h"
1175
1176#include "ldap_cdefs.h"
1177#include "ldap_features.h"
1178
1179#include "ac/assert.h"
1180#include "ac/localize.h"
1181
1182#endif /* _LDAP_PORTABLE_H */
1183/* end of portable.h.post */
1184
1185