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