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