xref: /netbsd-src/external/bsd/openldap/dist/include/portable.hin (revision 775257d3afc686718dcf13a3a953345907273c0c)
1/* include/portable.hin.  Generated from configure.ac 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-2021 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 if building universal (internal helper macro) */
52#undef AC_APPLE_UNIVERSAL_BUILD
53
54/* define to use both <string.h> and <strings.h> */
55#undef BOTH_STRINGS_H
56
57/* define if cross compiling */
58#undef CROSS_COMPILING
59
60/* set to the number of arguments ctime_r() expects */
61#undef CTIME_R_NARGS
62
63/* define if toupper() requires islower() */
64#undef C_UPPER_LOWER
65
66/* define if sys_errlist is not declared in stdio.h or errno.h */
67#undef DECL_SYS_ERRLIST
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 <argon2.h> header file. */
88#undef HAVE_ARGON2_H
89
90/* Define to 1 if you have the <arpa/inet.h> header file. */
91#undef HAVE_ARPA_INET_H
92
93/* Define to 1 if you have the <arpa/nameser.h> header file. */
94#undef HAVE_ARPA_NAMESER_H
95
96/* Define to 1 if you have the <assert.h> header file. */
97#undef HAVE_ASSERT_H
98
99/* Define to 1 if you have the `bcopy' function. */
100#undef HAVE_BCOPY
101
102/* Define to 1 if you have the <bits/types.h> header file. */
103#undef HAVE_BITS_TYPES_H
104
105/* Define to 1 if you have the `chroot' function. */
106#undef HAVE_CHROOT
107
108/* Define to 1 if you have the `clock_gettime' function. */
109#undef HAVE_CLOCK_GETTIME
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 if crypt_r() is also available */
124#undef HAVE_CRYPT_R
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 if your system supports /dev/poll */
133#undef HAVE_DEVPOLL
134
135/* Define to 1 if you have the <direct.h> header file. */
136#undef HAVE_DIRECT_H
137
138/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
139   */
140#undef HAVE_DIRENT_H
141
142/* Define to 1 if you have the <dlfcn.h> header file. */
143#undef HAVE_DLFCN_H
144
145/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
146#undef HAVE_DOPRNT
147
148/* define if system uses EBCDIC instead of ASCII */
149#undef HAVE_EBCDIC
150
151/* Define to 1 if you have the `endgrent' function. */
152#undef HAVE_ENDGRENT
153
154/* Define to 1 if you have the `endpwent' function. */
155#undef HAVE_ENDPWENT
156
157/* define if your system supports epoll */
158#undef HAVE_EPOLL
159
160/* Define to 1 if you have the <errno.h> header file. */
161#undef HAVE_ERRNO_H
162
163/* Define to 1 if you have the `fcntl' function. */
164#undef HAVE_FCNTL
165
166/* Define to 1 if you have the <fcntl.h> header file. */
167#undef HAVE_FCNTL_H
168
169#if 0	/* NETBSD: API incompatible */
170/* define if you actually have FreeBSD fetch(3) */
171#undef HAVE_FETCH
172#endif
173
174/* Define to 1 if you have the <filio.h> header file. */
175#undef HAVE_FILIO_H
176
177/* Define to 1 if you have the `flock' function. */
178#undef HAVE_FLOCK
179
180/* Define to 1 if you have the `fmemopen' function. */
181#undef HAVE_FMEMOPEN
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 to you inet_aton(3) is available */
262#undef HAVE_INET_ATON
263
264/* Define to 1 if you have the `inet_ntoa_b' function. */
265#undef HAVE_INET_NTOA_B
266
267/* Define to 1 if you have the `inet_ntop' function. */
268#undef HAVE_INET_NTOP
269
270/* Define to 1 if you have the `initgroups' function. */
271#undef HAVE_INITGROUPS
272
273/* Define to 1 if you have the <inttypes.h> header file. */
274#undef HAVE_INTTYPES_H
275
276/* Define to 1 if you have the `ioctl' function. */
277#undef HAVE_IOCTL
278
279/* Define to 1 if you have the <io.h> header file. */
280#undef HAVE_IO_H
281
282/* define if your system supports kqueue */
283#undef HAVE_KQUEUE
284
285/* define if you have libargon2 */
286#undef HAVE_LIBARGON2
287
288/* define if you have -levent */
289#undef HAVE_LIBEVENT
290
291/* Define to 1 if you have the `gen' library (-lgen). */
292#undef HAVE_LIBGEN
293
294/* Define to 1 if you have the `gmp' library (-lgmp). */
295#undef HAVE_LIBGMP
296
297/* Define to 1 if you have the `inet' library (-linet). */
298#undef HAVE_LIBINET
299
300/* define if you have libtool -ltdl */
301#undef HAVE_LIBLTDL
302
303/* Define to 1 if you have the `net' library (-lnet). */
304#undef HAVE_LIBNET
305
306/* Define to 1 if you have the `nsl' library (-lnsl). */
307#undef HAVE_LIBNSL
308
309/* Define to 1 if you have the `nsl_s' library (-lnsl_s). */
310#undef HAVE_LIBNSL_S
311
312/* Define to 1 if you have the `socket' library (-lsocket). */
313#undef HAVE_LIBSOCKET
314
315/* define if you have libsodium */
316#undef HAVE_LIBSODIUM
317
318/* Define to 1 if you have the <libutil.h> header file. */
319#undef HAVE_LIBUTIL_H
320
321/* Define to 1 if you have the `V3' library (-lV3). */
322#undef HAVE_LIBV3
323
324/* Define to 1 if you have the <limits.h> header file. */
325#undef HAVE_LIMITS_H
326
327/* if you have LinuxThreads */
328#undef HAVE_LINUX_THREADS
329
330/* Define to 1 if you have the <locale.h> header file. */
331#undef HAVE_LOCALE_H
332
333/* Define to 1 if you have the `localtime_r' function. */
334#undef HAVE_LOCALTIME_R
335
336/* Define to 1 if you have the `lockf' function. */
337#undef HAVE_LOCKF
338
339/* Define to 1 if the system has the type `long long'. */
340#undef HAVE_LONG_LONG
341
342/* Define to 1 if you have the <ltdl.h> header file. */
343#undef HAVE_LTDL_H
344
345/* Define to 1 if you have the <malloc.h> header file. */
346#undef HAVE_MALLOC_H
347
348/* Define to 1 if you have the `memcpy' function. */
349#undef HAVE_MEMCPY
350
351/* Define to 1 if you have the `memmove' function. */
352#undef HAVE_MEMMOVE
353
354/* Define to 1 if you have the <memory.h> header file. */
355#undef HAVE_MEMORY_H
356
357/* Define to 1 if you have the `memrchr' function. */
358#undef HAVE_MEMRCHR
359
360/* Define to 1 if you have the `mkstemp' function. */
361#undef HAVE_MKSTEMP
362
363/* Define to 1 if you have the `mktemp' function. */
364#undef HAVE_MKTEMP
365
366/* define this if you have mkversion */
367#undef HAVE_MKVERSION
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/* if you have NT Event Log */
379#undef HAVE_NT_EVENT_LOG
380
381/* if you have NT Service Manager */
382#undef HAVE_NT_SERVICE_MANAGER
383
384/* if you have NT Threads */
385#undef HAVE_NT_THREADS
386
387/* define if you have OpenSSL */
388#undef HAVE_OPENSSL
389
390/* Define to 1 if you have the <openssl/bn.h> header file. */
391#undef HAVE_OPENSSL_BN_H
392
393/* Define to 1 if you have the <openssl/crypto.h> header file. */
394#undef HAVE_OPENSSL_CRYPTO_H
395
396/* Define to 1 if you have the <openssl/ssl.h> header file. */
397#undef HAVE_OPENSSL_SSL_H
398
399/* Define to 1 if you have the `pipe' function. */
400#undef HAVE_PIPE
401
402/* Define to 1 if you have the `poll' function. */
403#undef HAVE_POLL
404
405/* Define to 1 if you have the <poll.h> header file. */
406#undef HAVE_POLL_H
407
408/* Define to 1 if you have the <process.h> header file. */
409#undef HAVE_PROCESS_H
410
411/* Define to 1 if you have the <psap.h> header file. */
412#undef HAVE_PSAP_H
413
414/* define to pthreads API spec revision */
415#undef HAVE_PTHREADS
416
417/* define if you have pthread_detach function */
418#undef HAVE_PTHREAD_DETACH
419
420/* Define to 1 if you have the `pthread_getconcurrency' function. */
421#undef HAVE_PTHREAD_GETCONCURRENCY
422
423/* Define to 1 if you have the <pthread.h> header file. */
424#undef HAVE_PTHREAD_H
425
426/* Define to 1 if you have the `pthread_kill' function. */
427#undef HAVE_PTHREAD_KILL
428
429/* Define to 1 if you have the `pthread_kill_other_threads_np' function. */
430#undef HAVE_PTHREAD_KILL_OTHER_THREADS_NP
431
432/* define if you have pthread_rwlock_destroy function */
433#undef HAVE_PTHREAD_RWLOCK_DESTROY
434
435/* Define to 1 if you have the `pthread_setconcurrency' function. */
436#undef HAVE_PTHREAD_SETCONCURRENCY
437
438/* Define to 1 if you have the `pthread_yield' function. */
439#undef HAVE_PTHREAD_YIELD
440
441/* Define to 1 if you have the <pth.h> header file. */
442#undef HAVE_PTH_H
443
444/* Define to 1 if the system has the type `ptrdiff_t'. */
445#undef HAVE_PTRDIFF_T
446
447/* Define to 1 if you have the <pwd.h> header file. */
448#undef HAVE_PWD_H
449
450/* Define to 1 if you have the `read' function. */
451#undef HAVE_READ
452
453/* Define to 1 if you have the `recv' function. */
454#undef HAVE_RECV
455
456/* Define to 1 if you have the `recvfrom' function. */
457#undef HAVE_RECVFROM
458
459/* Define to 1 if you have the <regex.h> header file. */
460#undef HAVE_REGEX_H
461
462/* Define to 1 if you have the <resolv.h> header file. */
463#undef HAVE_RESOLV_H
464
465/* define if you have res_query() */
466#undef HAVE_RES_QUERY
467
468/* Define to 1 if you have the <sasl.h> header file. */
469#undef HAVE_SASL_H
470
471/* Define to 1 if you have the <sasl/sasl.h> header file. */
472#undef HAVE_SASL_SASL_H
473
474/* define if your SASL library has sasl_version() */
475#undef HAVE_SASL_VERSION
476
477/* Define to 1 if you have the <sched.h> header file. */
478#undef HAVE_SCHED_H
479
480/* Define to 1 if you have the `sched_yield' function. */
481#undef HAVE_SCHED_YIELD
482
483/* Define to 1 if you have the `send' function. */
484#undef HAVE_SEND
485
486/* Define to 1 if you have the `sendmsg' function. */
487#undef HAVE_SENDMSG
488
489/* Define to 1 if you have the `sendto' function. */
490#undef HAVE_SENDTO
491
492/* Define to 1 if you have the `setegid' function. */
493#undef HAVE_SETEGID
494
495/* Define to 1 if you have the `seteuid' function. */
496#undef HAVE_SETEUID
497
498/* Define to 1 if you have the `setgid' function. */
499#undef HAVE_SETGID
500
501/* Define to 1 if you have the `setpwfile' function. */
502#undef HAVE_SETPWFILE
503
504/* Define to 1 if you have the `setsid' function. */
505#undef HAVE_SETSID
506
507/* Define to 1 if you have the `setuid' function. */
508#undef HAVE_SETUID
509
510/* Define to 1 if you have the <sgtty.h> header file. */
511#undef HAVE_SGTTY_H
512
513/* Define to 1 if you have the <shadow.h> header file. */
514#undef HAVE_SHADOW_H
515
516/* Define to 1 if you have the `sigaction' function. */
517#undef HAVE_SIGACTION
518
519/* Define to 1 if you have the `signal' function. */
520#undef HAVE_SIGNAL
521
522/* Define to 1 if you have the `sigset' function. */
523#undef HAVE_SIGSET
524
525/* define if you have -lslp */
526#undef HAVE_SLP
527
528/* Define to 1 if you have the <slp.h> header file. */
529#undef HAVE_SLP_H
530
531/* Define to 1 if you have the `snprintf' function. */
532#undef HAVE_SNPRINTF
533
534/* Define to 1 if you have the <sodium.h> header file. */
535#undef HAVE_SODIUM_H
536
537/* if you have spawnlp() */
538#undef HAVE_SPAWNLP
539
540/* Define to 1 if you have the <sqlext.h> header file. */
541#undef HAVE_SQLEXT_H
542
543/* Define to 1 if you have the <sql.h> header file. */
544#undef HAVE_SQL_H
545
546/* Define to 1 if you have the <stddef.h> header file. */
547#undef HAVE_STDDEF_H
548
549/* Define to 1 if you have the <stdint.h> header file. */
550#undef HAVE_STDINT_H
551
552/* Define to 1 if you have the <stdlib.h> header file. */
553#undef HAVE_STDLIB_H
554
555/* Define to 1 if you have the `strdup' function. */
556#undef HAVE_STRDUP
557
558/* Define to 1 if you have the `strerror' function. */
559#undef HAVE_STRERROR
560
561/* Define to 1 if you have the `strerror_r' function. */
562#undef HAVE_STRERROR_R
563
564/* Define to 1 if you have the `strftime' function. */
565#undef HAVE_STRFTIME
566
567/* Define to 1 if you have the <strings.h> header file. */
568#undef HAVE_STRINGS_H
569
570/* Define to 1 if you have the <string.h> header file. */
571#undef HAVE_STRING_H
572
573/* Define to 1 if you have the `strpbrk' function. */
574#undef HAVE_STRPBRK
575
576/* Define to 1 if you have the `strrchr' function. */
577#undef HAVE_STRRCHR
578
579/* Define to 1 if you have the `strsep' function. */
580#undef HAVE_STRSEP
581
582/* Define to 1 if you have the `strspn' function. */
583#undef HAVE_STRSPN
584
585/* Define to 1 if you have the `strstr' function. */
586#undef HAVE_STRSTR
587
588/* Define to 1 if you have the `strtol' function. */
589#undef HAVE_STRTOL
590
591/* Define to 1 if you have the `strtoll' function. */
592#undef HAVE_STRTOLL
593
594/* Define to 1 if you have the `strtoq' function. */
595#undef HAVE_STRTOQ
596
597/* Define to 1 if you have the `strtoul' function. */
598#undef HAVE_STRTOUL
599
600/* Define to 1 if you have the `strtoull' function. */
601#undef HAVE_STRTOULL
602
603/* Define to 1 if you have the `strtouq' function. */
604#undef HAVE_STRTOUQ
605
606/* Define to 1 if `msg_accrightslen' is a member of `struct msghdr'. */
607#undef HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTSLEN
608
609/* Define to 1 if `msg_control' is a member of `struct msghdr'. */
610#undef HAVE_STRUCT_MSGHDR_MSG_CONTROL
611
612/* Define to 1 if `pw_gecos' is a member of `struct passwd'. */
613#undef HAVE_STRUCT_PASSWD_PW_GECOS
614
615/* Define to 1 if `pw_passwd' is a member of `struct passwd'. */
616#undef HAVE_STRUCT_PASSWD_PW_PASSWD
617
618/* Define to 1 if `st_blksize' is a member of `struct stat'. */
619#undef HAVE_STRUCT_STAT_ST_BLKSIZE
620
621/* Define to 1 if `st_fstype' is a member of `struct stat'. */
622#undef HAVE_STRUCT_STAT_ST_FSTYPE
623
624/* define to 1 if st_fstype is char * */
625#undef HAVE_STRUCT_STAT_ST_FSTYPE_CHAR
626
627/* define to 1 if st_fstype is int */
628#undef HAVE_STRUCT_STAT_ST_FSTYPE_INT
629
630/* Define to 1 if `st_vfstype' is a member of `struct stat'. */
631#undef HAVE_STRUCT_STAT_ST_VFSTYPE
632
633/* Define to 1 if you have the <synch.h> header file. */
634#undef HAVE_SYNCH_H
635
636/* Define to 1 if you have the `sysconf' function. */
637#undef HAVE_SYSCONF
638
639/* Define to 1 if you have the <sysexits.h> header file. */
640#undef HAVE_SYSEXITS_H
641
642/* Define to 1 if you have the <syslog.h> header file. */
643#undef HAVE_SYSLOG_H
644
645/* define if you have systemd */
646#undef HAVE_SYSTEMD
647
648/* Define to 1 if you have the <systemd/sd-daemon.h> header file. */
649#undef HAVE_SYSTEMD_SD_DAEMON_H
650
651/* Define to 1 if you have the <sys/devpoll.h> header file. */
652#undef HAVE_SYS_DEVPOLL_H
653
654/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
655   */
656#undef HAVE_SYS_DIR_H
657
658/* Define to 1 if you have the <sys/epoll.h> header file. */
659#undef HAVE_SYS_EPOLL_H
660
661/* define if you actually have sys_errlist in your libs */
662#undef HAVE_SYS_ERRLIST
663
664/* Define to 1 if you have the <sys/errno.h> header file. */
665#undef HAVE_SYS_ERRNO_H
666
667/* Define to 1 if you have the <sys/event.h> header file. */
668#undef HAVE_SYS_EVENT_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 */
759/* define if you have TLS */
760#undef HAVE_TLS
761#endif
762
763/* Define to 1 if you have the <unistd.h> header file. */
764#undef HAVE_UNISTD_H
765
766/* Define to 1 if you have the <utime.h> header file. */
767#undef HAVE_UTIME_H
768
769/* define if you have uuid_generate() */
770#undef HAVE_UUID_GENERATE
771
772/* define if you have uuid_to_str() */
773#undef HAVE_UUID_TO_STR
774
775/* Define to 1 if you have the <uuid/uuid.h> header file. */
776#undef HAVE_UUID_UUID_H
777
778/* Define to 1 if you have the `vprintf' function. */
779#undef HAVE_VPRINTF
780
781/* Define to 1 if you have the `vsnprintf' function. */
782#undef HAVE_VSNPRINTF
783
784/* Define to 1 if you have the `wait4' function. */
785#undef HAVE_WAIT4
786
787/* Define to 1 if you have the `waitpid' function. */
788#undef HAVE_WAITPID
789
790/* define if you have winsock */
791#undef HAVE_WINSOCK
792
793/* define if you have winsock2 */
794#undef HAVE_WINSOCK2
795
796/* Define to 1 if you have the <winsock2.h> header file. */
797#undef HAVE_WINSOCK2_H
798
799/* Define to 1 if you have the <winsock.h> header file. */
800#undef HAVE_WINSOCK_H
801
802/* Define to 1 if you have the `write' function. */
803#undef HAVE_WRITE
804
805/* define if select implicitly yields */
806#undef HAVE_YIELDING_SELECT
807
808/* Define to 1 if you have the `_vsnprintf' function. */
809#undef HAVE__VSNPRINTF
810
811/* define to 32-bit or greater integer type */
812#undef LBER_INT_T
813
814/* define to large integer type */
815#undef LBER_LEN_T
816
817/* define to socket descriptor type */
818#undef LBER_SOCKET_T
819
820/* define to large integer type */
821#undef LBER_TAG_T
822
823/* define to 1 if library is reentrant */
824#undef LDAP_API_FEATURE_X_OPENLDAP_REENTRANT
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 to add SLAPI code */
845#undef LDAP_SLAPI
846
847/* define this to add syslog code */
848#undef LDAP_SYSLOG
849
850/* Version */
851#undef LDAP_VENDOR_VERSION
852
853/* Major */
854#undef LDAP_VENDOR_VERSION_MAJOR
855
856/* Minor */
857#undef LDAP_VENDOR_VERSION_MINOR
858
859/* Patch */
860#undef LDAP_VENDOR_VERSION_PATCH
861
862/* Define to the sub-directory where libtool stores uninstalled libraries. */
863#undef LT_OBJDIR
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 home page for this package. */
893#undef PACKAGE_URL
894
895/* Define to the version of this package. */
896#undef PACKAGE_VERSION
897
898/* define if sched_yield yields the entire process */
899#undef REPLACE_BROKEN_YIELD
900
901/* Define as the return type of signal handlers (`int' or `void'). */
902#undef RETSIGTYPE
903
904/* Define to the type of arg 1 for `select'. */
905#undef SELECT_TYPE_ARG1
906
907/* Define to the type of args 2, 3 and 4 for `select'. */
908#undef SELECT_TYPE_ARG234
909
910/* Define to the type of arg 5 for `select'. */
911#undef SELECT_TYPE_ARG5
912
913/* The size of `int', as computed by sizeof. */
914#undef SIZEOF_INT
915
916/* The size of `long', as computed by sizeof. */
917#undef SIZEOF_LONG
918
919/* The size of `long long', as computed by sizeof. */
920#undef SIZEOF_LONG_LONG
921
922/* The size of `short', as computed by sizeof. */
923#undef SIZEOF_SHORT
924
925/* The size of `wchar_t', as computed by sizeof. */
926#undef SIZEOF_WCHAR_T
927
928/* define to support per-object ACIs */
929#undef SLAPD_ACI_ENABLED
930
931/* define to support LDAP Async Metadirectory backend */
932#undef SLAPD_ASYNCMETA
933
934/* define to support cleartext passwords */
935#undef SLAPD_CLEARTEXT
936
937/* define to support crypt(3) passwords */
938#undef SLAPD_CRYPT
939
940/* define to support DNS SRV backend */
941#undef SLAPD_DNSSRV
942
943/* define to support LDAP backend */
944#undef SLAPD_LDAP
945
946/* define to support MDB backend */
947#undef SLAPD_MDB
948
949/* define to support LDAP Metadirectory backend */
950#undef SLAPD_META
951
952/* define to support modules */
953#undef SLAPD_MODULES
954
955/* dynamically linked module */
956#undef SLAPD_MOD_DYNAMIC
957
958/* statically linked module */
959#undef SLAPD_MOD_STATIC
960
961/* define to support NDB backend */
962#undef SLAPD_NDB
963
964/* define to support NULL backend */
965#undef SLAPD_NULL
966
967/* define for In-Directory Access Logging overlay */
968#undef SLAPD_OVER_ACCESSLOG
969
970/* define for Audit Logging overlay */
971#undef SLAPD_OVER_AUDITLOG
972
973/* define for Automatic Certificate Authority overlay */
974#undef SLAPD_OVER_AUTOCA
975
976/* define for Collect overlay */
977#undef SLAPD_OVER_COLLECT
978
979/* define for Attribute Constraint overlay */
980#undef SLAPD_OVER_CONSTRAINT
981
982/* define for Dynamic Directory Services overlay */
983#undef SLAPD_OVER_DDS
984
985/* define for Dynamic Directory Services overlay */
986#undef SLAPD_OVER_DEREF
987
988/* define for Dynamic Group overlay */
989#undef SLAPD_OVER_DYNGROUP
990
991/* define for Dynamic List overlay */
992#undef SLAPD_OVER_DYNLIST
993
994/* define for Home Directory Management overlay */
995#undef SLAPD_OVER_HOMEDIR
996
997/* define for Reverse Group Membership overlay */
998#undef SLAPD_OVER_MEMBEROF
999
1000/* define for OTP 2-factor Authentication overlay */
1001#undef SLAPD_OVER_OTP
1002
1003/* define for Password Policy overlay */
1004#undef SLAPD_OVER_PPOLICY
1005
1006/* define for Proxy Cache overlay */
1007#undef SLAPD_OVER_PROXYCACHE
1008
1009/* define for Referential Integrity overlay */
1010#undef SLAPD_OVER_REFINT
1011
1012/* define for Deferred Authentication overlay */
1013#undef SLAPD_OVER_REMOTEAUTH
1014
1015/* define for Return Code overlay */
1016#undef SLAPD_OVER_RETCODE
1017
1018/* define for Rewrite/Remap overlay */
1019#undef SLAPD_OVER_RWM
1020
1021/* define for Sequential Modify overlay */
1022#undef SLAPD_OVER_SEQMOD
1023
1024/* define for ServerSideSort/VLV overlay */
1025#undef SLAPD_OVER_SSSVLV
1026
1027/* define for Syncrepl Provider overlay */
1028#undef SLAPD_OVER_SYNCPROV
1029
1030/* define for Translucent Proxy overlay */
1031#undef SLAPD_OVER_TRANSLUCENT
1032
1033/* define for Attribute Uniqueness overlay */
1034#undef SLAPD_OVER_UNIQUE
1035
1036/* define for Value Sorting overlay */
1037#undef SLAPD_OVER_VALSORT
1038
1039/* define to support PASSWD backend */
1040#undef SLAPD_PASSWD
1041
1042/* define to support PERL backend */
1043#undef SLAPD_PERL
1044
1045/* define for Argon2 Password hashing module */
1046#undef SLAPD_PWMOD_PW_ARGON2
1047
1048/* define to support relay backend */
1049#undef SLAPD_RELAY
1050
1051/* define to support reverse lookups */
1052#undef SLAPD_RLOOKUPS
1053
1054/* define to support SOCK backend */
1055#undef SLAPD_SOCK
1056
1057/* define to support SASL passwords */
1058#undef SLAPD_SPASSWD
1059
1060/* define to support SQL backend */
1061#undef SLAPD_SQL
1062
1063/* define to support WiredTiger backend */
1064#undef SLAPD_WT
1065
1066/* define to support run-time loadable ACL */
1067#undef SLAP_DYNACL
1068
1069/* Define to 1 if you have the ANSI C header files. */
1070#undef STDC_HEADERS
1071
1072/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
1073#undef TIME_WITH_SYS_TIME
1074
1075/* Define to 1 if your <sys/time.h> declares `struct tm'. */
1076#undef TM_IN_SYS_TIME
1077
1078/* set to urandom device */
1079#undef URANDOM_DEVICE
1080
1081/* define to use OpenSSL BIGNUM for MP */
1082#undef USE_MP_BIGNUM
1083
1084/* define to use GMP for MP */
1085#undef USE_MP_GMP
1086
1087/* define to use 'long' for MP */
1088#undef USE_MP_LONG
1089
1090/* define to use 'long long' for MP */
1091#undef USE_MP_LONG_LONG
1092
1093/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
1094   significant byte first (like Motorola and SPARC, unlike Intel). */
1095#if defined(AC_APPLE_UNIVERSAL_BUILD) || defined(__NetBSD__)
1096# if defined __BIG_ENDIAN__
1097#  define WORDS_BIGENDIAN 1
1098# endif
1099#else
1100# ifndef WORDS_BIGENDIAN
1101#  undef WORDS_BIGENDIAN
1102# endif
1103#endif
1104
1105/* Define to the type of arg 3 for `accept'. */
1106#undef ber_socklen_t
1107
1108/* Define to `char *' if <sys/types.h> does not define. */
1109#undef caddr_t
1110
1111/* Define to empty if `const' does not conform to ANSI C. */
1112#undef const
1113
1114/* Define to `int' if <sys/types.h> doesn't define. */
1115#undef gid_t
1116
1117/* Define to `int' if <sys/types.h> does not define. */
1118#undef mode_t
1119
1120/* Define to `long' if <sys/types.h> does not define. */
1121#undef off_t
1122
1123/* Define to `int' if <sys/types.h> does not define. */
1124#undef pid_t
1125
1126/* Define to `int' if <signal.h> does not define. */
1127#undef sig_atomic_t
1128
1129/* Define to `unsigned' if <sys/types.h> does not define. */
1130#undef size_t
1131
1132/* define to snprintf routine */
1133#undef snprintf
1134
1135/* Define like ber_socklen_t if <sys/socket.h> does not define. */
1136#undef socklen_t
1137
1138/* Define to `signed int' if <sys/types.h> does not define. */
1139#undef ssize_t
1140
1141/* Define to `int' if <sys/types.h> doesn't define. */
1142#undef uid_t
1143
1144/* define as empty if volatile is not supported */
1145#undef volatile
1146
1147/* define to snprintf routine */
1148#undef vsnprintf
1149
1150
1151/* begin of portable.h.post */
1152
1153#ifdef _WIN32
1154	/* don't suck in all of the win32 api */
1155#	define WIN32_LEAN_AND_MEAN 1
1156#endif
1157
1158#ifndef LDAP_NEEDS_PROTOTYPES
1159/* force LDAP_P to always include prototypes */
1160#define LDAP_NEEDS_PROTOTYPES 1
1161#endif
1162
1163#ifndef LDAP_REL_ENG
1164#if (LDAP_VENDOR_VERSION == 000000) && !defined(LDAP_DEVEL)
1165#define LDAP_DEVEL
1166#endif
1167#if defined(LDAP_DEVEL) && !defined(LDAP_TEST)
1168#define LDAP_TEST
1169#endif
1170#endif
1171
1172#ifdef HAVE_STDDEF_H
1173#	include <stddef.h>
1174#endif
1175
1176#ifdef HAVE_EBCDIC
1177/* ASCII/EBCDIC converting replacements for stdio funcs
1178 * vsnprintf and snprintf are used too, but they are already
1179 * checked by the configure script
1180 */
1181#define fputs ber_pvt_fputs
1182#define fgets ber_pvt_fgets
1183#define printf ber_pvt_printf
1184#define fprintf ber_pvt_fprintf
1185#define vfprintf ber_pvt_vfprintf
1186#define vsprintf ber_pvt_vsprintf
1187#endif
1188
1189#include "ac/fdset.h"
1190
1191#include "ldap_cdefs.h"
1192#include "ldap_features.h"
1193
1194#include "ac/assert.h"
1195#include "ac/localize.h"
1196
1197#endif /* _LDAP_PORTABLE_H */
1198/* end of portable.h.post */
1199
1200