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