]> git.sur5r.net Git - openldap/blob - include/portable.hin
syncinfo_free must be able to free multiple syncinfos
[openldap] / include / portable.hin
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-2007 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 /* define if you actually have FreeBSD fetch(3) */
173 #undef HAVE_FETCH
174
175 /* Define to 1 if you have the <filio.h> header file. */
176 #undef HAVE_FILIO_H
177
178 /* Define to 1 if you have the `flock' function. */
179 #undef HAVE_FLOCK
180
181 /* Define to 1 if you have the `fstat' function. */
182 #undef HAVE_FSTAT
183
184 /* Define to 1 if you have the `gai_strerror' function. */
185 #undef HAVE_GAI_STRERROR
186
187 /* Define to 1 if you have the `getaddrinfo' function. */
188 #undef HAVE_GETADDRINFO
189
190 /* Define to 1 if you have the `getdtablesize' function. */
191 #undef HAVE_GETDTABLESIZE
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 `getpass' function. */
215 #undef HAVE_GETPASS
216
217 /* Define to 1 if you have the `getpassphrase' function. */
218 #undef HAVE_GETPASSPHRASE
219
220 /* Define to 1 if you have the `getpeereid' function. */
221 #undef HAVE_GETPEEREID
222
223 /* Define to 1 if you have the `getpeerucred' function. */
224 #undef HAVE_GETPEERUCRED
225
226 /* Define to 1 if you have the `getpwnam' function. */
227 #undef HAVE_GETPWNAM
228
229 /* Define to 1 if you have the `getpwuid' function. */
230 #undef HAVE_GETPWUID
231
232 /* Define to 1 if you have the `getspnam' function. */
233 #undef HAVE_GETSPNAM
234
235 /* Define to 1 if you have the `gettimeofday' function. */
236 #undef HAVE_GETTIMEOFDAY
237
238 /* Define to 1 if you have the <gmp.h> header file. */
239 #undef HAVE_GMP_H
240
241 /* if you have GNU Pth */
242 #undef HAVE_GNU_PTH
243
244 /* Define to 1 if you have the <grp.h> header file. */
245 #undef HAVE_GRP_H
246
247 /* Define to 1 if you have the `hstrerror' function. */
248 #undef HAVE_HSTRERROR
249
250 /* define if you actually have ICU */
251 #undef HAVE_ICU
252
253 /* define to you inet_aton(3) is available */
254 #undef HAVE_INET_ATON
255
256 /* Define to 1 if you have the `inet_ntoa_b' function. */
257 #undef HAVE_INET_NTOA_B
258
259 /* Define to 1 if you have the `inet_ntop' function. */
260 #undef HAVE_INET_NTOP
261
262 /* Define to 1 if you have the `initgroups' function. */
263 #undef HAVE_INITGROUPS
264
265 /* Define to 1 if you have the <inttypes.h> header file. */
266 #undef HAVE_INTTYPES_H
267
268 /* Define to 1 if you have the `ioctl' function. */
269 #undef HAVE_IOCTL
270
271 /* Define to 1 if you have the <io.h> header file. */
272 #undef HAVE_IO_H
273
274 /* Define to 1 if you have the `gen' library (-lgen). */
275 #undef HAVE_LIBGEN
276
277 /* Define to 1 if you have the `gmp' library (-lgmp). */
278 #undef HAVE_LIBGMP
279
280 /* Define to 1 if you have the `inet' library (-linet). */
281 #undef HAVE_LIBINET
282
283 /* define if you have libtool -ltdl */
284 #undef HAVE_LIBLTDL
285
286 /* Define to 1 if you have the `net' library (-lnet). */
287 #undef HAVE_LIBNET
288
289 /* Define to 1 if you have the `nsl' library (-lnsl). */
290 #undef HAVE_LIBNSL
291
292 /* Define to 1 if you have the `nsl_s' library (-lnsl_s). */
293 #undef HAVE_LIBNSL_S
294
295 /* Define to 1 if you have the `socket' library (-lsocket). */
296 #undef HAVE_LIBSOCKET
297
298 /* Define to 1 if you have the <libutil.h> header file. */
299 #undef HAVE_LIBUTIL_H
300
301 /* Define to 1 if you have the `V3' library (-lV3). */
302 #undef HAVE_LIBV3
303
304 /* Define to 1 if you have the <limits.h> header file. */
305 #undef HAVE_LIMITS_H
306
307 /* if you have LinuxThreads */
308 #undef HAVE_LINUX_THREADS
309
310 /* Define to 1 if you have the <locale.h> header file. */
311 #undef HAVE_LOCALE_H
312
313 /* Define to 1 if you have the `lockf' function. */
314 #undef HAVE_LOCKF
315
316 /* Define to 1 if the system has the type `long long'. */
317 #undef HAVE_LONG_LONG
318
319 /* Define to 1 if you have the <ltdl.h> header file. */
320 #undef HAVE_LTDL_H
321
322 /* if you have SunOS LWP package */
323 #undef HAVE_LWP
324
325 /* Define to 1 if you have the <lwp/lwp.h> header file. */
326 #undef HAVE_LWP_LWP_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 to 1 if you have the `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 to 1 if you have the `send' function. */
479 #undef HAVE_SEND
480
481 /* Define to 1 if you have the `sendmsg' function. */
482 #undef HAVE_SENDMSG
483
484 /* Define to 1 if you have the `sendto' function. */
485 #undef HAVE_SENDTO
486
487 /* Define to 1 if you have the `setegid' function. */
488 #undef HAVE_SETEGID
489
490 /* Define to 1 if you have the `seteuid' function. */
491 #undef HAVE_SETEUID
492
493 /* Define to 1 if you have the `setgid' function. */
494 #undef HAVE_SETGID
495
496 /* define if setproctitle(3) is available */
497 #undef HAVE_SETPROCTITLE
498
499 /* Define to 1 if you have the `setpwfile' function. */
500 #undef HAVE_SETPWFILE
501
502 /* Define to 1 if you have the `setsid' function. */
503 #undef HAVE_SETSID
504
505 /* Define to 1 if you have the `setuid' function. */
506 #undef HAVE_SETUID
507
508 /* Define to 1 if you have the <sgtty.h> header file. */
509 #undef HAVE_SGTTY_H
510
511 /* Define to 1 if you have the <shadow.h> header file. */
512 #undef HAVE_SHADOW_H
513
514 /* Define to 1 if you have the `sigaction' function. */
515 #undef HAVE_SIGACTION
516
517 /* Define to 1 if you have the `signal' function. */
518 #undef HAVE_SIGNAL
519
520 /* Define to 1 if you have the `sigset' function. */
521 #undef HAVE_SIGSET
522
523 /* define if you have -lslp */
524 #undef HAVE_SLP
525
526 /* Define to 1 if you have the <slp.h> header file. */
527 #undef HAVE_SLP_H
528
529 /* Define to 1 if you have the `snprintf' function. */
530 #undef HAVE_SNPRINTF
531
532 /* if you have spawnlp() */
533 #undef HAVE_SPAWNLP
534
535 /* Define to 1 if you have the <sqlext.h> header file. */
536 #undef HAVE_SQLEXT_H
537
538 /* Define to 1 if you have the <sql.h> header file. */
539 #undef HAVE_SQL_H
540
541 /* Define to 1 if you have the <stddef.h> header file. */
542 #undef HAVE_STDDEF_H
543
544 /* Define to 1 if you have the <stdint.h> header file. */
545 #undef HAVE_STDINT_H
546
547 /* Define to 1 if you have the <stdlib.h> header file. */
548 #undef HAVE_STDLIB_H
549
550 /* Define to 1 if you have the `strdup' function. */
551 #undef HAVE_STRDUP
552
553 /* Define to 1 if you have the `strerror' function. */
554 #undef HAVE_STRERROR
555
556 /* Define to 1 if you have the `strerror_r' function. */
557 #undef HAVE_STRERROR_R
558
559 /* Define to 1 if you have the `strftime' function. */
560 #undef HAVE_STRFTIME
561
562 /* Define to 1 if you have the <strings.h> header file. */
563 #undef HAVE_STRINGS_H
564
565 /* Define to 1 if you have the <string.h> header file. */
566 #undef HAVE_STRING_H
567
568 /* Define to 1 if you have the `strpbrk' function. */
569 #undef HAVE_STRPBRK
570
571 /* Define to 1 if you have the `strrchr' function. */
572 #undef HAVE_STRRCHR
573
574 /* Define to 1 if you have the `strsep' function. */
575 #undef HAVE_STRSEP
576
577 /* Define to 1 if you have the `strspn' function. */
578 #undef HAVE_STRSPN
579
580 /* Define to 1 if you have the `strstr' function. */
581 #undef HAVE_STRSTR
582
583 /* Define to 1 if you have the `strtol' function. */
584 #undef HAVE_STRTOL
585
586 /* Define to 1 if you have the `strtoll' function. */
587 #undef HAVE_STRTOLL
588
589 /* Define to 1 if you have the `strtoq' function. */
590 #undef HAVE_STRTOQ
591
592 /* Define to 1 if you have the `strtoul' function. */
593 #undef HAVE_STRTOUL
594
595 /* Define to 1 if you have the `strtouq' function. */
596 #undef HAVE_STRTOUQ
597
598 /* Define to 1 if `msg_accrightslen' is member of `struct msghdr'. */
599 #undef HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTSLEN
600
601 /* Define to 1 if `msg_control' is member of `struct msghdr'. */
602 #undef HAVE_STRUCT_MSGHDR_MSG_CONTROL
603
604 /* Define to 1 if `pw_gecos' is member of `struct passwd'. */
605 #undef HAVE_STRUCT_PASSWD_PW_GECOS
606
607 /* Define to 1 if `pw_passwd' is member of `struct passwd'. */
608 #undef HAVE_STRUCT_PASSWD_PW_PASSWD
609
610 /* Define to 1 if `st_blksize' is member of `struct stat'. */
611 #undef HAVE_STRUCT_STAT_ST_BLKSIZE
612
613 /* Define to 1 if you have the <synch.h> header file. */
614 #undef HAVE_SYNCH_H
615
616 /* Define to 1 if you have the `sysconf' function. */
617 #undef HAVE_SYSCONF
618
619 /* Define to 1 if you have the <sysexits.h> header file. */
620 #undef HAVE_SYSEXITS_H
621
622 /* Define to 1 if you have the <syslog.h> header file. */
623 #undef HAVE_SYSLOG_H
624
625 /* Define to 1 if you have the <sys/devpoll.h> header file. */
626 #undef HAVE_SYS_DEVPOLL_H
627
628 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
629    */
630 #undef HAVE_SYS_DIR_H
631
632 /* Define to 1 if you have the <sys/epoll.h> header file. */
633 #undef HAVE_SYS_EPOLL_H
634
635 /* define if you actually have sys_errlist in your libs */
636 #undef HAVE_SYS_ERRLIST
637
638 /* Define to 1 if you have the <sys/errno.h> header file. */
639 #undef HAVE_SYS_ERRNO_H
640
641 /* Define to 1 if you have the <sys/file.h> header file. */
642 #undef HAVE_SYS_FILE_H
643
644 /* Define to 1 if you have the <sys/filio.h> header file. */
645 #undef HAVE_SYS_FILIO_H
646
647 /* Define to 1 if you have the <sys/ioctl.h> header file. */
648 #undef HAVE_SYS_IOCTL_H
649
650 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
651    */
652 #undef HAVE_SYS_NDIR_H
653
654 /* Define to 1 if you have the <sys/param.h> header file. */
655 #undef HAVE_SYS_PARAM_H
656
657 /* Define to 1 if you have the <sys/poll.h> header file. */
658 #undef HAVE_SYS_POLL_H
659
660 /* Define to 1 if you have the <sys/resource.h> header file. */
661 #undef HAVE_SYS_RESOURCE_H
662
663 /* Define to 1 if you have the <sys/select.h> header file. */
664 #undef HAVE_SYS_SELECT_H
665
666 /* Define to 1 if you have the <sys/socket.h> header file. */
667 #undef HAVE_SYS_SOCKET_H
668
669 /* Define to 1 if you have the <sys/stat.h> header file. */
670 #undef HAVE_SYS_STAT_H
671
672 /* Define to 1 if you have the <sys/syslog.h> header file. */
673 #undef HAVE_SYS_SYSLOG_H
674
675 /* Define to 1 if you have the <sys/time.h> header file. */
676 #undef HAVE_SYS_TIME_H
677
678 /* Define to 1 if you have the <sys/types.h> header file. */
679 #undef HAVE_SYS_TYPES_H
680
681 /* Define to 1 if you have the <sys/ucred.h> header file. */
682 #undef HAVE_SYS_UCRED_H
683
684 /* Define to 1 if you have the <sys/uio.h> header file. */
685 #undef HAVE_SYS_UIO_H
686
687 /* Define to 1 if you have the <sys/un.h> header file. */
688 #undef HAVE_SYS_UN_H
689
690 /* Define to 1 if you have the <sys/uuid.h> header file. */
691 #undef HAVE_SYS_UUID_H
692
693 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
694 #undef HAVE_SYS_WAIT_H
695
696 /* define if you have -lwrap */
697 #undef HAVE_TCPD
698
699 /* Define to 1 if you have the <tcpd.h> header file. */
700 #undef HAVE_TCPD_H
701
702 /* Define to 1 if you have the <termios.h> header file. */
703 #undef HAVE_TERMIOS_H
704
705 /* if you have Solaris LWP (thr) package */
706 #undef HAVE_THR
707
708 /* Define to 1 if you have the <thread.h> header file. */
709 #undef HAVE_THREAD_H
710
711 /* Define to 1 if you have the `thr_getconcurrency' function. */
712 #undef HAVE_THR_GETCONCURRENCY
713
714 /* Define to 1 if you have the `thr_setconcurrency' function. */
715 #undef HAVE_THR_SETCONCURRENCY
716
717 /* Define to 1 if you have the `thr_yield' function. */
718 #undef HAVE_THR_YIELD
719
720 /* define if you have TLS */
721 #undef HAVE_TLS
722
723 /* Define to 1 if you have the <unicode/utypes.h> header file. */
724 #undef HAVE_UNICODE_UTYPES_H
725
726 /* Define to 1 if you have the <unistd.h> header file. */
727 #undef HAVE_UNISTD_H
728
729 /* Define to 1 if you have the <utime.h> header file. */
730 #undef HAVE_UTIME_H
731
732 /* define if you have uuid_to_str() */
733 #undef HAVE_UUID_TO_STR
734
735 /* Define to 1 if you have the `vprintf' function. */
736 #undef HAVE_VPRINTF
737
738 /* Define to 1 if you have the `vsnprintf' function. */
739 #undef HAVE_VSNPRINTF
740
741 /* Define to 1 if you have the `wait4' function. */
742 #undef HAVE_WAIT4
743
744 /* Define to 1 if you have the `waitpid' function. */
745 #undef HAVE_WAITPID
746
747 /* define if you have winsock */
748 #undef HAVE_WINSOCK
749
750 /* define if you have winsock2 */
751 #undef HAVE_WINSOCK2
752
753 /* Define to 1 if you have the <winsock2.h> header file. */
754 #undef HAVE_WINSOCK2_H
755
756 /* Define to 1 if you have the <winsock.h> header file. */
757 #undef HAVE_WINSOCK_H
758
759 /* Define to 1 if you have the `write' function. */
760 #undef HAVE_WRITE
761
762 /* define if select implicitly yields */
763 #undef HAVE_YIELDING_SELECT
764
765 /* define to 32-bit or greater integer type */
766 #undef LBER_INT_T
767
768 /* define to large integer type */
769 #undef LBER_LEN_T
770
771 /* define to socket descriptor type */
772 #undef LBER_SOCKET_T
773
774 /* define to large integer type */
775 #undef LBER_TAG_T
776
777 /* define to 1 if library is thread safe */
778 #undef LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE
779
780 /* define to LDAP VENDOR VERSION */
781 #undef LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS
782
783 /* define this to add debugging code */
784 #undef LDAP_DEBUG
785
786 /* define if LDAP libs are dynamic */
787 #undef LDAP_LIBS_DYNAMIC
788
789 /* define to support PF_INET6 */
790 #undef LDAP_PF_INET6
791
792 /* define to support PF_LOCAL */
793 #undef LDAP_PF_LOCAL
794
795 /* define this for LDAP process title support */
796 #undef LDAP_PROCTITLE
797
798 /* define this to add SLAPI code */
799 #undef LDAP_SLAPI
800
801 /* define this to add syslog code */
802 #undef LDAP_SYSLOG
803
804 /* Version */
805 #undef LDAP_VENDOR_VERSION
806
807 /* Major */
808 #undef LDAP_VENDOR_VERSION_MAJOR
809
810 /* Minor */
811 #undef LDAP_VENDOR_VERSION_MINOR
812
813 /* Patch */
814 #undef LDAP_VENDOR_VERSION_PATCH
815
816 /* define if memcmp is not 8-bit clean or is otherwise broken */
817 #undef NEED_MEMCMP_REPLACEMENT
818
819 /* define if you have (or want) no threads */
820 #undef NO_THREADS
821
822 /* define to use the original debug style */
823 #undef OLD_DEBUG
824
825 /* Package */
826 #undef OPENLDAP_PACKAGE
827
828 /* Version */
829 #undef OPENLDAP_VERSION
830
831 /* Define to the address where bug reports for this package should be sent. */
832 #undef PACKAGE_BUGREPORT
833
834 /* Define to the full name of this package. */
835 #undef PACKAGE_NAME
836
837 /* Define to the full name and version of this package. */
838 #undef PACKAGE_STRING
839
840 /* Define to the one symbol short name of this package. */
841 #undef PACKAGE_TARNAME
842
843 /* Define to the version of this package. */
844 #undef PACKAGE_VERSION
845
846 /* define if sched_yield yields the entire process */
847 #undef REPLACE_BROKEN_YIELD
848
849 /* Define as the return type of signal handlers (`int' or `void'). */
850 #undef RETSIGTYPE
851
852 /* Define to the type of arg 1 for `select'. */
853 #undef SELECT_TYPE_ARG1
854
855 /* Define to the type of args 2, 3 and 4 for `select'. */
856 #undef SELECT_TYPE_ARG234
857
858 /* Define to the type of arg 5 for `select'. */
859 #undef SELECT_TYPE_ARG5
860
861 /* The size of a `int', as computed by sizeof. */
862 #undef SIZEOF_INT
863
864 /* The size of a `long', as computed by sizeof. */
865 #undef SIZEOF_LONG
866
867 /* The size of a `long long', as computed by sizeof. */
868 #undef SIZEOF_LONG_LONG
869
870 /* The size of a `short', as computed by sizeof. */
871 #undef SIZEOF_SHORT
872
873 /* The size of a `wchar_t', as computed by sizeof. */
874 #undef SIZEOF_WCHAR_T
875
876 /* define to support per-object ACIs */
877 #undef SLAPD_ACI_ENABLED
878
879 /* define to support BDB backend */
880 #undef SLAPD_BDB
881
882 /* define to support cleartext passwords */
883 #undef SLAPD_CLEARTEXT
884
885 /* define to support crypt(3) passwords */
886 #undef SLAPD_CRYPT
887
888 /* define to support DNS SRV backend */
889 #undef SLAPD_DNSSRV
890
891 /* define to support HDB backend */
892 #undef SLAPD_HDB
893
894 /* define to support LDAP backend */
895 #undef SLAPD_LDAP
896
897 /* define to support LAN Manager passwords */
898 #undef SLAPD_LMHASH
899
900 /* define to support LDAP Metadirectory backend */
901 #undef SLAPD_META
902
903 /* define to support modules */
904 #undef SLAPD_MODULES
905
906 /* dynamically linked module */
907 #undef SLAPD_MOD_DYNAMIC
908
909 /* statically linked module */
910 #undef SLAPD_MOD_STATIC
911
912 /* define to support cn=Monitor backend */
913 #undef SLAPD_MONITOR
914
915 /* define to support NULL backend */
916 #undef SLAPD_NULL
917
918 /* define for In-Directory Access Logging overlay */
919 #undef SLAPD_OVER_ACCESSLOG
920
921 /* define for Audit Logging overlay */
922 #undef SLAPD_OVER_AUDITLOG
923
924 /* define for Attribute Constraint overlay */
925 #undef SLAPD_OVER_CONSTRAINT
926
927 /* define for Dynamic Directory Services overlay */
928 #undef SLAPD_OVER_DDS
929
930 /* define for Dynamic Group overlay */
931 #undef SLAPD_OVER_DYNGROUP
932
933 /* define for Dynamic List overlay */
934 #undef SLAPD_OVER_DYNLIST
935
936 /* define for Password Policy overlay */
937 #undef SLAPD_OVER_PPOLICY
938
939 /* define for Proxy Cache overlay */
940 #undef SLAPD_OVER_PROXYCACHE
941
942 /* define for Referential Integrity overlay */
943 #undef SLAPD_OVER_REFINT
944
945 /* define for Referential Integrity overlay */
946 #undef SLAPD_OVER_RETCODE
947
948 /* define for Rewrite/Remap overlay */
949 #undef SLAPD_OVER_RWM
950
951 /* define for Sequential Modify overlay */
952 #undef SLAPD_OVER_SEQMOD
953
954 /* define for Syncrepl Provider overlay */
955 #undef SLAPD_OVER_SYNCPROV
956
957 /* define for Translucent Proxy overlay */
958 #undef SLAPD_OVER_TRANSLUCENT
959
960 /* define for Attribute Uniqueness overlay */
961 #undef SLAPD_OVER_UNIQUE
962
963 /* define for Value Sorting overlay */
964 #undef SLAPD_OVER_VALSORT
965
966 /* define to support PASSWD backend */
967 #undef SLAPD_PASSWD
968
969 /* define to support PERL backend */
970 #undef SLAPD_PERL
971
972 /* define to support relay backend */
973 #undef SLAPD_RELAY
974
975 /* define to support reverse lookups */
976 #undef SLAPD_RLOOKUPS
977
978 /* define to support SHELL backend */
979 #undef SLAPD_SHELL
980
981 /* define to support SASL passwords */
982 #undef SLAPD_SPASSWD
983
984 /* define to support SQL backend */
985 #undef SLAPD_SQL
986
987 /* define to support run-time loadable ACL */
988 #undef SLAP_DYNACL
989
990 /* Define to 1 if you have the ANSI C header files. */
991 #undef STDC_HEADERS
992
993 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
994 #undef TIME_WITH_SYS_TIME
995
996 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
997 #undef TM_IN_SYS_TIME
998
999 /* set to urandom device */
1000 #undef URANDOM_DEVICE
1001
1002 /* define to use OpenSSL BIGNUM for MP */
1003 #undef USE_MP_BIGNUM
1004
1005 /* define to use GMP for MP */
1006 #undef USE_MP_GMP
1007
1008 /* define to use 'long' for MP */
1009 #undef USE_MP_LONG
1010
1011 /* define to use 'long long' for MP */
1012 #undef USE_MP_LONG_LONG
1013
1014 /* Define to 1 if your processor stores words with the most significant byte
1015    first (like Motorola and SPARC, unlike Intel and VAX). */
1016 #undef WORDS_BIGENDIAN
1017
1018 /* Define to `char *' if <sys/types.h> does not define. */
1019 #undef caddr_t
1020
1021 /* Define to empty if `const' does not conform to ANSI C. */
1022 #undef const
1023
1024 /* Define to `int' if <sys/types.h> doesn't define. */
1025 #undef gid_t
1026
1027 /* Define to `int' if <sys/types.h> does not define. */
1028 #undef mode_t
1029
1030 /* Define to `long' if <sys/types.h> does not define. */
1031 #undef off_t
1032
1033 /* Define to `int' if <sys/types.h> does not define. */
1034 #undef pid_t
1035
1036 /* Define to `int' if <signal.h> does not define. */
1037 #undef sig_atomic_t
1038
1039 /* Define to `unsigned' if <sys/types.h> does not define. */
1040 #undef size_t
1041
1042 /* define to snprintf routine */
1043 #undef snprintf
1044
1045 /* Define to `int' if <sys/socket.h> does not define. */
1046 #undef socklen_t
1047
1048 /* Define to `signed int' if <sys/types.h> does not define. */
1049 #undef ssize_t
1050
1051 /* Define to `int' if <sys/types.h> doesn't define. */
1052 #undef uid_t
1053
1054 /* define as empty if volatile is not supported */
1055 #undef volatile
1056
1057 /* define to snprintf routine */
1058 #undef vsnprintf
1059
1060
1061 /* begin of portable.h.post */
1062
1063 #ifdef _WIN32
1064         /* don't suck in all of the win32 api */
1065 #       define WIN32_LEAN_AND_MEAN 1
1066 #endif
1067
1068 #ifndef LDAP_NEEDS_PROTOTYPES
1069 /* force LDAP_P to always include prototypes */
1070 #define LDAP_NEEDS_PROTOTYPES 1
1071 #endif
1072
1073 #ifndef LDAP_REL_ENG
1074 #if (LDAP_VENDOR_VERSION == 000000) && !defined(LDAP_DEVEL)
1075 #define LDAP_DEVEL
1076 #endif
1077 #if defined(LDAP_DEVEL) && !defined(LDAP_TEST)
1078 #define LDAP_TEST
1079 #endif
1080 #endif
1081
1082 #ifdef HAVE_STDDEF_H
1083 #       include <stddef.h>
1084 #endif
1085
1086 #ifdef HAVE_EBCDIC 
1087 /* ASCII/EBCDIC converting replacements for stdio funcs
1088  * vsnprintf and snprintf are used too, but they are already
1089  * checked by the configure script
1090  */
1091 #define fputs ber_pvt_fputs
1092 #define fgets ber_pvt_fgets
1093 #define printf ber_pvt_printf
1094 #define fprintf ber_pvt_fprintf
1095 #define vfprintf ber_pvt_vfprintf
1096 #define vsprintf ber_pvt_vsprintf
1097 #endif
1098
1099 #include "ac/fdset.h"
1100
1101 #include "ldap_cdefs.h"
1102 #include "ldap_features.h"
1103
1104 #include "ac/assert.h"
1105 #include "ac/localize.h"
1106
1107 #endif /* _LDAP_PORTABLE_H */
1108 /* end of portable.h.post */
1109