1 /* include/portable.h. Generated by configure. */
2 /* include/portable.hin. Generated from configure.in by autoheader. */
5 /* begin of portable.h.pre */
6 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
8 * Copyright 1998-2008 The OpenLDAP Foundation
11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted only as authorized by the OpenLDAP
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>.
20 #ifndef _LDAP_PORTABLE_H
21 #define _LDAP_PORTABLE_H
23 /* define this if needed to get reentrant functions */
31 /* define this if needed to get threadsafe functions */
42 #define _THREAD_SAFE 1
45 #ifndef _SGI_MP_SOURCE
46 #define _SGI_MP_SOURCE 1
49 /* end of portable.h.pre */
52 /* define to use both <string.h> and <strings.h> */
53 /* #undef BOTH_STRINGS_H */
55 /* define if cross compiling */
56 /* #undef CROSS_COMPILING */
58 /* set to the number of arguments ctime_r() expects */
59 #define CTIME_R_NARGS 2
61 /* define if toupper() requires islower() */
62 /* #undef C_UPPER_LOWER */
64 /* define if sys_errlist is not declared in stdio.h or errno.h */
65 /* #undef DECL_SYS_ERRLIST */
67 /* define to enable rewriting in back-ldap and back-meta */
68 /* #undef ENABLE_REWRITE */
70 /* define to enable slapi library */
71 /* #undef ENABLE_SLAPI */
73 /* defined to be the EXE extension */
76 /* set to the number of arguments gethostbyaddr_r() expects */
77 /* #undef GETHOSTBYADDR_R_NARGS */
79 /* set to the number of arguments gethostbyname_r() expects */
80 /* #undef GETHOSTBYNAME_R_NARGS */
82 /* Define to 1 if `TIOCGWINSZ' requires <sys/ioctl.h>. */
83 /* #undef GWINSZ_IN_SYS_IOCTL */
85 /* define if you have AIX security lib */
86 /* #undef HAVE_AIX_SECURITY */
88 /* Define to 1 if you have the <arpa/inet.h> header file. */
89 #define HAVE_ARPA_INET_H 1
91 /* Define to 1 if you have the <arpa/nameser.h> header file. */
92 #define HAVE_ARPA_NAMESER_H 1
94 /* Define to 1 if you have the <assert.h> header file. */
95 #define HAVE_ASSERT_H 1
97 /* Define to 1 if you have the `bcopy' function. */
100 /* define this if Berkeley DB is available */
101 /* #undef HAVE_BERKELEY_DB */
103 /* define if Berkeley DB has DB_THREAD support */
104 /* #undef HAVE_BERKELEY_DB_THREAD */
106 /* Define to 1 if you have the <bits/types.h> header file. */
107 /* #undef HAVE_BITS_TYPES_H */
109 /* Define to 1 if you have the `chroot' function. */
110 #define HAVE_CHROOT 1
112 /* Define to 1 if you have the `closesocket' function. */
113 /* #undef HAVE_CLOSESOCKET */
115 /* Define to 1 if you have the <conio.h> header file. */
116 /* #undef HAVE_CONIO_H */
118 /* define if crypt(3) is available */
119 /* #undef HAVE_CRYPT */
121 /* Define to 1 if you have the <crypt.h> header file. */
122 /* #undef HAVE_CRYPT_H */
124 /* Define to 1 if you have the <cthreads.h> header file. */
125 /* #undef HAVE_CTHREADS_H */
127 /* Define to 1 if you have the `ctime_r' function. */
128 #define HAVE_CTIME_R 1
130 /* define if you have Cyrus SASL */
131 /* #undef HAVE_CYRUS_SASL */
133 /* Define to 1 if you have the <db.h> header file. */
134 /* #undef HAVE_DB_H */
136 /* define if your system supports /dev/poll */
137 /* #undef HAVE_DEVPOLL */
139 /* Define to 1 if you have the <direct.h> header file. */
140 /* #undef HAVE_DIRECT_H */
142 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
144 #define HAVE_DIRENT_H 1
146 /* Define to 1 if you have the <dlfcn.h> header file. */
147 #define HAVE_DLFCN_H 1
149 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
150 /* #undef HAVE_DOPRNT */
152 /* define if system uses EBCDIC instead of ASCII */
153 /* #undef HAVE_EBCDIC */
155 /* Define to 1 if you have the `endgrent' function. */
156 #define HAVE_ENDGRENT 1
158 /* Define to 1 if you have the `endpwent' function. */
159 #define HAVE_ENDPWENT 1
161 /* define if your system supports epoll */
162 /* #undef HAVE_EPOLL */
164 /* Define to 1 if you have the <errno.h> header file. */
165 #define HAVE_ERRNO_H 1
167 /* Define to 1 if you have the `fcntl' function. */
170 /* Define to 1 if you have the <fcntl.h> header file. */
171 #define HAVE_FCNTL_H 1
173 /* define if you actually have FreeBSD fetch(3) */
174 /* #undef HAVE_FETCH */
176 /* Define to 1 if you have the <filio.h> header file. */
177 /* #undef HAVE_FILIO_H */
179 /* Define to 1 if you have the `flock' function. */
182 /* Define to 1 if you have the `fstat' function. */
185 /* Define to 1 if you have the `gai_strerror' function. */
186 #define HAVE_GAI_STRERROR 1
188 /* Define to 1 if you have the `getaddrinfo' function. */
189 #define HAVE_GETADDRINFO 1
191 /* Define to 1 if you have the `getdtablesize' function. */
192 #define HAVE_GETDTABLESIZE 1
194 /* Define to 1 if you have the `getgrgid' function. */
195 #define HAVE_GETGRGID 1
197 /* Define to 1 if you have the `gethostbyaddr_r' function. */
198 /* #undef HAVE_GETHOSTBYADDR_R */
200 /* Define to 1 if you have the `gethostbyname_r' function. */
201 /* #undef HAVE_GETHOSTBYNAME_R */
203 /* Define to 1 if you have the `gethostname' function. */
204 #define HAVE_GETHOSTNAME 1
206 /* Define to 1 if you have the `getnameinfo' function. */
207 #define HAVE_GETNAMEINFO 1
209 /* Define to 1 if you have the `getopt' function. */
210 #define HAVE_GETOPT 1
212 /* Define to 1 if you have the <getopt.h> header file. */
213 #define HAVE_GETOPT_H 1
215 /* Define to 1 if you have the `getpass' function. */
216 #define HAVE_GETPASS 1
218 /* Define to 1 if you have the `getpassphrase' function. */
219 /* #undef HAVE_GETPASSPHRASE */
221 /* Define to 1 if you have the `getpeereid' function. */
222 #define HAVE_GETPEEREID 1
224 /* Define to 1 if you have the `getpeerucred' function. */
225 /* #undef HAVE_GETPEERUCRED */
227 /* Define to 1 if you have the `getpwnam' function. */
228 #define HAVE_GETPWNAM 1
230 /* Define to 1 if you have the `getpwuid' function. */
231 #define HAVE_GETPWUID 1
233 /* Define to 1 if you have the `getspnam' function. */
234 /* #undef HAVE_GETSPNAM */
236 /* Define to 1 if you have the `gettimeofday' function. */
237 #define HAVE_GETTIMEOFDAY 1
239 /* Define to 1 if you have the <gmp.h> header file. */
240 /* #undef HAVE_GMP_H */
242 /* define if you have GNUtls */
243 /* #undef HAVE_GNUTLS */
245 /* Define to 1 if you have the <gnutls/gnutls.h> header file. */
246 /* #undef HAVE_GNUTLS_GNUTLS_H */
248 /* if you have GNU Pth */
249 /* #undef HAVE_GNU_PTH */
251 /* Define to 1 if you have the <grp.h> header file. */
254 /* Define to 1 if you have the `hstrerror' function. */
255 #define HAVE_HSTRERROR 1
257 /* define if you actually have ICU */
258 /* #undef HAVE_ICU */
260 /* define to you inet_aton(3) is available */
261 #define HAVE_INET_ATON 1
263 /* Define to 1 if you have the `inet_ntoa_b' function. */
264 /* #undef HAVE_INET_NTOA_B */
266 /* Define to 1 if you have the `inet_ntop' function. */
267 #define HAVE_INET_NTOP 1
269 /* Define to 1 if you have the `initgroups' function. */
270 #define HAVE_INITGROUPS 1
272 /* Define to 1 if you have the <inttypes.h> header file. */
273 #define HAVE_INTTYPES_H 1
275 /* Define to 1 if you have the `ioctl' function. */
278 /* Define to 1 if you have the <io.h> header file. */
279 /* #undef HAVE_IO_H */
281 /* Define to 1 if you have the `gen' library (-lgen). */
282 /* #undef HAVE_LIBGEN */
284 /* Define to 1 if you have the `gmp' library (-lgmp). */
285 /* #undef HAVE_LIBGMP */
287 /* Define to 1 if you have the `inet' library (-linet). */
288 /* #undef HAVE_LIBINET */
290 /* define if you have libtool -ltdl */
291 /* #undef HAVE_LIBLTDL */
293 /* Define to 1 if you have the `net' library (-lnet). */
294 /* #undef HAVE_LIBNET */
296 /* Define to 1 if you have the `nsl' library (-lnsl). */
297 /* #undef HAVE_LIBNSL */
299 /* Define to 1 if you have the `nsl_s' library (-lnsl_s). */
300 /* #undef HAVE_LIBNSL_S */
302 /* Define to 1 if you have the `socket' library (-lsocket). */
303 /* #undef HAVE_LIBSOCKET */
305 /* Define to 1 if you have the <libutil.h> header file. */
306 /* #undef HAVE_LIBUTIL_H */
308 /* Define to 1 if you have the `V3' library (-lV3). */
309 /* #undef HAVE_LIBV3 */
311 /* Define to 1 if you have the <limits.h> header file. */
312 #define HAVE_LIMITS_H 1
314 /* if you have LinuxThreads */
315 /* #undef HAVE_LINUX_THREADS */
317 /* Define to 1 if you have the <locale.h> header file. */
318 #define HAVE_LOCALE_H 1
320 /* Define to 1 if you have the `lockf' function. */
323 /* Define to 1 if the system has the type `long long'. */
324 #define HAVE_LONG_LONG 1
326 /* Define to 1 if you have the <ltdl.h> header file. */
327 /* #undef HAVE_LTDL_H */
329 /* if you have SunOS LWP package */
330 /* #undef HAVE_LWP */
332 /* Define to 1 if you have the <lwp/lwp.h> header file. */
333 /* #undef HAVE_LWP_LWP_H */
335 /* define if you have Mach Cthreads */
336 /* #undef HAVE_MACH_CTHREADS */
338 /* Define to 1 if you have the <mach/cthreads.h> header file. */
339 /* #undef HAVE_MACH_CTHREADS_H */
341 /* Define to 1 if you have the <malloc.h> header file. */
342 #define HAVE_MALLOC_H 1
344 /* Define to 1 if you have the `memcpy' function. */
345 #define HAVE_MEMCPY 1
347 /* Define to 1 if you have the `memmove' function. */
348 #define HAVE_MEMMOVE 1
350 /* Define to 1 if you have the <memory.h> header file. */
351 #define HAVE_MEMORY_H 1
353 /* Define to 1 if you have the `memrchr' function. */
354 /* #undef HAVE_MEMRCHR */
356 /* Define to 1 if you have the `mkstemp' function. */
357 #define HAVE_MKSTEMP 1
359 /* Define to 1 if you have the `mktemp' function. */
360 #define HAVE_MKTEMP 1
362 /* define this if you have mkversion */
363 #define HAVE_MKVERSION 1
365 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
366 /* #undef HAVE_NDIR_H */
368 /* Define to 1 if you have the <netinet/tcp.h> header file. */
369 #define HAVE_NETINET_TCP_H 1
371 /* define if strerror_r returns char* instead of int */
372 /* #undef HAVE_NONPOSIX_STRERROR_R */
374 /* if you have NT Event Log */
375 /* #undef HAVE_NT_EVENT_LOG */
377 /* if you have NT Service Manager */
378 /* #undef HAVE_NT_SERVICE_MANAGER */
380 /* if you have NT Threads */
381 /* #undef HAVE_NT_THREADS */
383 /* define if you have OpenSSL */
384 #define HAVE_OPENSSL 1
386 /* Define to 1 if you have the <openssl/bn.h> header file. */
387 /* #undef HAVE_OPENSSL_BN_H */
389 /* define if you have OpenSSL with CRL checking capability */
390 #define HAVE_OPENSSL_CRL 1
392 /* Define to 1 if you have the <openssl/crypto.h> header file. */
393 /* #undef HAVE_OPENSSL_CRYPTO_H */
395 /* Define to 1 if you have the <openssl/ssl.h> header file. */
396 #define HAVE_OPENSSL_SSL_H 1
398 /* Define to 1 if you have the `pipe' function. */
401 /* Define to 1 if you have the `poll' function. */
404 /* Define to 1 if you have the <poll.h> header file. */
405 #define HAVE_POLL_H 1
407 /* Define to 1 if you have the <process.h> header file. */
408 /* #undef HAVE_PROCESS_H */
410 /* Define to 1 if you have the <psap.h> header file. */
411 /* #undef HAVE_PSAP_H */
413 /* define to pthreads API spec revision */
414 #define HAVE_PTHREADS 10
416 /* define if you have pthread_detach function */
417 #define HAVE_PTHREAD_DETACH 1
419 /* Define to 1 if you have the `pthread_getconcurrency' function. */
420 /* #undef HAVE_PTHREAD_GETCONCURRENCY */
422 /* Define to 1 if you have the <pthread.h> header file. */
423 #define HAVE_PTHREAD_H 1
425 /* Define to 1 if you have the `pthread_kill' function. */
426 #define HAVE_PTHREAD_KILL 1
428 /* Define to 1 if you have the `pthread_kill_other_threads_np' function. */
429 /* #undef HAVE_PTHREAD_KILL_OTHER_THREADS_NP */
431 /* define if you have pthread_rwlock_destroy function */
432 #define HAVE_PTHREAD_RWLOCK_DESTROY 1
434 /* Define to 1 if you have the `pthread_setconcurrency' function. */
435 /* #undef HAVE_PTHREAD_SETCONCURRENCY */
437 /* Define to 1 if you have the `pthread_yield' function. */
438 /* #undef HAVE_PTHREAD_YIELD */
440 /* Define to 1 if you have the <pth.h> header file. */
441 /* #undef HAVE_PTH_H */
443 /* Define to 1 if the system has the type `ptrdiff_t'. */
444 #define HAVE_PTRDIFF_T 1
446 /* Define to 1 if you have the <pwd.h> header file. */
449 /* Define to 1 if you have the `read' function. */
452 /* Define to 1 if you have the `recv' function. */
455 /* Define to 1 if you have the `recvfrom' function. */
456 #define HAVE_RECVFROM 1
458 /* Define to 1 if you have the <regex.h> header file. */
459 #define HAVE_REGEX_H 1
461 /* Define to 1 if you have the <resolv.h> header file. */
462 #define HAVE_RESOLV_H 1
464 /* define if you have res_query() */
465 #define HAVE_RES_QUERY 1
467 /* define if OpenSSL needs RSAref */
468 /* #undef HAVE_RSAREF */
470 /* Define to 1 if you have the <sasl.h> header file. */
471 /* #undef HAVE_SASL_H */
473 /* Define to 1 if you have the <sasl/sasl.h> header file. */
474 /* #undef HAVE_SASL_SASL_H */
476 /* define if your SASL library has sasl_version() */
477 /* #undef HAVE_SASL_VERSION */
479 /* Define to 1 if you have the <sched.h> header file. */
480 #define HAVE_SCHED_H 1
482 /* Define to 1 if you have the `sched_yield' function. */
483 #define HAVE_SCHED_YIELD 1
485 /* Define to 1 if you have the `send' function. */
488 /* Define to 1 if you have the `sendmsg' function. */
489 #define HAVE_SENDMSG 1
491 /* Define to 1 if you have the `sendto' function. */
492 #define HAVE_SENDTO 1
494 /* Define to 1 if you have the `setegid' function. */
495 #define HAVE_SETEGID 1
497 /* Define to 1 if you have the `seteuid' function. */
498 #define HAVE_SETEUID 1
500 /* Define to 1 if you have the `setgid' function. */
501 #define HAVE_SETGID 1
503 /* define if setproctitle(3) is available */
504 #define HAVE_SETPROCTITLE 1
506 /* Define to 1 if you have the `setpwfile' function. */
507 /* #undef HAVE_SETPWFILE */
509 /* Define to 1 if you have the `setsid' function. */
510 #define HAVE_SETSID 1
512 /* Define to 1 if you have the `setuid' function. */
513 #define HAVE_SETUID 1
515 /* Define to 1 if you have the <sgtty.h> header file. */
516 #define HAVE_SGTTY_H 1
518 /* Define to 1 if you have the <shadow.h> header file. */
519 /* #undef HAVE_SHADOW_H */
521 /* Define to 1 if you have the `sigaction' function. */
522 #define HAVE_SIGACTION 1
524 /* Define to 1 if you have the `signal' function. */
525 #define HAVE_SIGNAL 1
527 /* Define to 1 if you have the `sigset' function. */
528 #define HAVE_SIGSET 1
530 /* define if you have -lslp */
531 /* #undef HAVE_SLP */
533 /* Define to 1 if you have the <slp.h> header file. */
534 /* #undef HAVE_SLP_H */
536 /* Define to 1 if you have the `snprintf' function. */
537 #define HAVE_SNPRINTF 1
539 /* if you have spawnlp() */
540 /* #undef HAVE_SPAWNLP */
542 /* Define to 1 if you have the <sqlext.h> header file. */
543 /* #undef HAVE_SQLEXT_H */
545 /* Define to 1 if you have the <sql.h> header file. */
546 /* #undef HAVE_SQL_H */
548 /* Define to 1 if you have the <stddef.h> header file. */
549 #define HAVE_STDDEF_H 1
551 /* Define to 1 if you have the <stdint.h> header file. */
552 #define HAVE_STDINT_H 1
554 /* Define to 1 if you have the <stdlib.h> header file. */
555 #define HAVE_STDLIB_H 1
557 /* Define to 1 if you have the `strdup' function. */
558 #define HAVE_STRDUP 1
560 /* Define to 1 if you have the `strerror' function. */
561 #define HAVE_STRERROR 1
563 /* Define to 1 if you have the `strerror_r' function. */
564 #define HAVE_STRERROR_R 1
566 /* Define to 1 if you have the `strftime' function. */
567 #define HAVE_STRFTIME 1
569 /* Define to 1 if you have the <strings.h> header file. */
570 #define HAVE_STRINGS_H 1
572 /* Define to 1 if you have the <string.h> header file. */
573 #define HAVE_STRING_H 1
575 /* Define to 1 if you have the `strpbrk' function. */
576 #define HAVE_STRPBRK 1
578 /* Define to 1 if you have the `strrchr' function. */
579 #define HAVE_STRRCHR 1
581 /* Define to 1 if you have the `strsep' function. */
582 #define HAVE_STRSEP 1
584 /* Define to 1 if you have the `strspn' function. */
585 #define HAVE_STRSPN 1
587 /* Define to 1 if you have the `strstr' function. */
588 #define HAVE_STRSTR 1
590 /* Define to 1 if you have the `strtol' function. */
591 #define HAVE_STRTOL 1
593 /* Define to 1 if you have the `strtoll' function. */
594 #define HAVE_STRTOLL 1
596 /* Define to 1 if you have the `strtoq' function. */
597 #define HAVE_STRTOQ 1
599 /* Define to 1 if you have the `strtoul' function. */
600 #define HAVE_STRTOUL 1
602 /* Define to 1 if you have the `strtouq' function. */
603 #define HAVE_STRTOUQ 1
605 /* Define to 1 if `msg_accrightslen' is member of `struct msghdr'. */
606 /* #undef HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTSLEN */
608 /* Define to 1 if `msg_control' is member of `struct msghdr'. */
609 #define HAVE_STRUCT_MSGHDR_MSG_CONTROL 1
611 /* Define to 1 if `pw_gecos' is member of `struct passwd'. */
612 #define HAVE_STRUCT_PASSWD_PW_GECOS 1
614 /* Define to 1 if `pw_passwd' is member of `struct passwd'. */
615 #define HAVE_STRUCT_PASSWD_PW_PASSWD 1
617 /* Define to 1 if `st_blksize' is member of `struct stat'. */
618 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
620 /* Define to 1 if `st_fstype' is member of `struct stat'. */
621 /* #undef HAVE_STRUCT_STAT_ST_FSTYPE */
623 /* define to 1 if st_fstype is char * */
624 /* #undef HAVE_STRUCT_STAT_ST_FSTYPE_CHAR */
626 /* define to 1 if st_fstype is int */
627 /* #undef HAVE_STRUCT_STAT_ST_FSTYPE_INT */
629 /* Define to 1 if `st_vfstype' is member of `struct stat'. */
630 /* #undef HAVE_STRUCT_STAT_ST_VFSTYPE */
632 /* Define to 1 if you have the <synch.h> header file. */
633 /* #undef HAVE_SYNCH_H */
635 /* Define to 1 if you have the `sysconf' function. */
636 #define HAVE_SYSCONF 1
638 /* Define to 1 if you have the <sysexits.h> header file. */
639 #define HAVE_SYSEXITS_H 1
641 /* Define to 1 if you have the <syslog.h> header file. */
642 #define HAVE_SYSLOG_H 1
644 /* Define to 1 if you have the <sys/devpoll.h> header file. */
645 /* #undef HAVE_SYS_DEVPOLL_H */
647 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
649 /* #undef HAVE_SYS_DIR_H */
651 /* Define to 1 if you have the <sys/epoll.h> header file. */
652 /* #undef HAVE_SYS_EPOLL_H */
654 /* define if you actually have sys_errlist in your libs */
655 #define HAVE_SYS_ERRLIST 1
657 /* Define to 1 if you have the <sys/errno.h> header file. */
658 #define HAVE_SYS_ERRNO_H 1
660 /* Define to 1 if you have the <sys/file.h> header file. */
661 #define HAVE_SYS_FILE_H 1
663 /* Define to 1 if you have the <sys/filio.h> header file. */
664 #define HAVE_SYS_FILIO_H 1
666 /* Define to 1 if you have the <sys/fstyp.h> header file. */
667 /* #undef HAVE_SYS_FSTYP_H */
669 /* Define to 1 if you have the <sys/ioctl.h> header file. */
670 #define HAVE_SYS_IOCTL_H 1
672 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
674 /* #undef HAVE_SYS_NDIR_H */
676 /* Define to 1 if you have the <sys/param.h> header file. */
677 #define HAVE_SYS_PARAM_H 1
679 /* Define to 1 if you have the <sys/poll.h> header file. */
680 #define HAVE_SYS_POLL_H 1
682 /* Define to 1 if you have the <sys/privgrp.h> header file. */
683 /* #undef HAVE_SYS_PRIVGRP_H */
685 /* Define to 1 if you have the <sys/resource.h> header file. */
686 #define HAVE_SYS_RESOURCE_H 1
688 /* Define to 1 if you have the <sys/select.h> header file. */
689 #define HAVE_SYS_SELECT_H 1
691 /* Define to 1 if you have the <sys/socket.h> header file. */
692 #define HAVE_SYS_SOCKET_H 1
694 /* Define to 1 if you have the <sys/stat.h> header file. */
695 #define HAVE_SYS_STAT_H 1
697 /* Define to 1 if you have the <sys/syslog.h> header file. */
698 #define HAVE_SYS_SYSLOG_H 1
700 /* Define to 1 if you have the <sys/time.h> header file. */
701 #define HAVE_SYS_TIME_H 1
703 /* Define to 1 if you have the <sys/types.h> header file. */
704 #define HAVE_SYS_TYPES_H 1
706 /* Define to 1 if you have the <sys/ucred.h> header file. */
707 #define HAVE_SYS_UCRED_H 1
709 /* Define to 1 if you have the <sys/uio.h> header file. */
710 #define HAVE_SYS_UIO_H 1
712 /* Define to 1 if you have the <sys/un.h> header file. */
713 #define HAVE_SYS_UN_H 1
715 /* Define to 1 if you have the <sys/uuid.h> header file. */
716 #define HAVE_SYS_UUID_H 1
718 /* Define to 1 if you have the <sys/vmount.h> header file. */
719 /* #undef HAVE_SYS_VMOUNT_H */
721 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
722 #define HAVE_SYS_WAIT_H 1
724 /* define if you have -lwrap */
725 /* #undef HAVE_TCPD */
727 /* Define to 1 if you have the <tcpd.h> header file. */
728 /* #undef HAVE_TCPD_H */
730 /* Define to 1 if you have the <termios.h> header file. */
731 #define HAVE_TERMIOS_H 1
733 /* if you have Solaris LWP (thr) package */
734 /* #undef HAVE_THR */
736 /* Define to 1 if you have the <thread.h> header file. */
737 /* #undef HAVE_THREAD_H */
739 /* Define to 1 if you have the `thr_getconcurrency' function. */
740 /* #undef HAVE_THR_GETCONCURRENCY */
742 /* Define to 1 if you have the `thr_setconcurrency' function. */
743 /* #undef HAVE_THR_SETCONCURRENCY */
745 /* Define to 1 if you have the `thr_yield' function. */
746 /* #undef HAVE_THR_YIELD */
748 #if 0 /* Define this in the Makefile */
749 /* define if you have TLS */
753 /* Define to 1 if you have the <unicode/utypes.h> header file. */
754 /* #undef HAVE_UNICODE_UTYPES_H */
756 /* Define to 1 if you have the <unistd.h> header file. */
757 #define HAVE_UNISTD_H 1
759 /* Define to 1 if you have the <utime.h> header file. */
760 #define HAVE_UTIME_H 1
762 /* define if you have uuid_generate() */
763 /* #undef HAVE_UUID_GENERATE */
765 /* define if you have uuid_to_str() */
766 /* #undef HAVE_UUID_TO_STR */
768 /* Define to 1 if you have the <uuid/uuid.h> header file. */
769 /* #undef HAVE_UUID_UUID_H */
771 /* Define to 1 if you have the `vprintf' function. */
772 #define HAVE_VPRINTF 1
774 /* Define to 1 if you have the `vsnprintf' function. */
775 #define HAVE_VSNPRINTF 1
777 /* Define to 1 if you have the `wait4' function. */
780 /* Define to 1 if you have the `waitpid' function. */
781 #define HAVE_WAITPID 1
783 /* define if you have winsock */
784 /* #undef HAVE_WINSOCK */
786 /* define if you have winsock2 */
787 /* #undef HAVE_WINSOCK2 */
789 /* Define to 1 if you have the <winsock2.h> header file. */
790 /* #undef HAVE_WINSOCK2_H */
792 /* Define to 1 if you have the <winsock.h> header file. */
793 /* #undef HAVE_WINSOCK_H */
795 /* Define to 1 if you have the `write' function. */
798 /* define if select implicitly yields */
799 #define HAVE_YIELDING_SELECT 1
801 /* define to 32-bit or greater integer type */
802 #define LBER_INT_T int
804 /* define to large integer type */
805 #define LBER_LEN_T long
807 /* define to socket descriptor type */
808 #define LBER_SOCKET_T int
810 /* define to large integer type */
811 #define LBER_TAG_T long
813 /* define to 1 if library is thread safe */
814 #define LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE 1
816 /* define to LDAP VENDOR VERSION */
817 /* #undef LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS */
819 /* define this to add debugging code */
822 /* define if LDAP libs are dynamic */
823 #define LDAP_LIBS_DYNAMIC 1
825 /* define to support PF_INET6 */
826 #define LDAP_PF_INET6 1
828 /* define to support PF_LOCAL */
829 #define LDAP_PF_LOCAL 1
831 /* define this for LDAP process title support */
832 #define LDAP_PROCTITLE 1
834 /* define this to add SLAPI code */
835 /* #undef LDAP_SLAPI */
837 /* define this to add syslog code */
838 #define LDAP_SYSLOG 1
841 #define LDAP_VENDOR_VERSION 20411
844 #define LDAP_VENDOR_VERSION_MAJOR 2
847 #define LDAP_VENDOR_VERSION_MINOR 4
850 #define LDAP_VENDOR_VERSION_PATCH 11
852 /* define if memcmp is not 8-bit clean or is otherwise broken */
853 /* #undef NEED_MEMCMP_REPLACEMENT */
855 /* define if you have (or want) no threads */
856 /* #undef NO_THREADS */
858 /* define to use the original debug style */
859 /* #undef OLD_DEBUG */
862 #define OPENLDAP_PACKAGE "OpenLDAP"
865 #define OPENLDAP_VERSION "2.4.11"
867 /* Define to the address where bug reports for this package should be sent. */
868 #define PACKAGE_BUGREPORT ""
870 /* Define to the full name of this package. */
871 #define PACKAGE_NAME ""
873 /* Define to the full name and version of this package. */
874 #define PACKAGE_STRING ""
876 /* Define to the one symbol short name of this package. */
877 #define PACKAGE_TARNAME ""
879 /* Define to the version of this package. */
880 #define PACKAGE_VERSION ""
882 /* define if sched_yield yields the entire process */
883 /* #undef REPLACE_BROKEN_YIELD */
885 /* Define as the return type of signal handlers (`int' or `void'). */
886 #define RETSIGTYPE void
888 /* Define to the type of arg 1 for `select'. */
889 #define SELECT_TYPE_ARG1 int
891 /* Define to the type of args 2, 3 and 4 for `select'. */
892 #define SELECT_TYPE_ARG234 (fd_set *)
894 /* Define to the type of arg 5 for `select'. */
895 #define SELECT_TYPE_ARG5 (struct timeval *)
897 /* The size of a `int', as computed by sizeof. */
900 /* The size of a `long', as computed by sizeof. */
901 #define SIZEOF_LONG 4
903 /* The size of a `long long', as computed by sizeof. */
904 #define SIZEOF_LONG_LONG 8
906 /* The size of a `short', as computed by sizeof. */
907 #define SIZEOF_SHORT 2
909 /* The size of a `wchar_t', as computed by sizeof. */
910 #define SIZEOF_WCHAR_T 4
912 /* define to support per-object ACIs */
913 /* #undef SLAPD_ACI_ENABLED */
915 /* define to support BDB backend */
916 /* #undef SLAPD_BDB */
918 /* define to support cleartext passwords */
919 #define SLAPD_CLEARTEXT 1
921 /* define to support crypt(3) passwords */
922 /* #undef SLAPD_CRYPT */
924 /* define to support DNS SRV backend */
925 /* #undef SLAPD_DNSSRV */
927 /* define to support HDB backend */
928 /* #undef SLAPD_HDB */
930 /* define to support LDAP backend */
931 /* #undef SLAPD_LDAP */
933 /* define to support LAN Manager passwords */
934 /* #undef SLAPD_LMHASH */
936 /* define to support LDAP Metadirectory backend */
937 /* #undef SLAPD_META */
939 /* define to support modules */
940 /* #undef SLAPD_MODULES */
942 /* dynamically linked module */
943 #define SLAPD_MOD_DYNAMIC 2
945 /* statically linked module */
946 #define SLAPD_MOD_STATIC 1
948 /* define to support cn=Monitor backend */
949 /* #undef SLAPD_MONITOR */
951 /* define to support NULL backend */
952 /* #undef SLAPD_NULL */
954 /* define for In-Directory Access Logging overlay */
955 /* #undef SLAPD_OVER_ACCESSLOG */
957 /* define for Audit Logging overlay */
958 /* #undef SLAPD_OVER_AUDITLOG */
960 /* define for Attribute Constraint overlay */
961 /* #undef SLAPD_OVER_CONSTRAINT */
963 /* define for Dynamic Directory Services overlay */
964 /* #undef SLAPD_OVER_DDS */
966 /* define for Dynamic Group overlay */
967 /* #undef SLAPD_OVER_DYNGROUP */
969 /* define for Dynamic List overlay */
970 /* #undef SLAPD_OVER_DYNLIST */
972 /* define for Reverse Group Membership overlay */
973 /* #undef SLAPD_OVER_MEMBEROF */
975 /* define for Password Policy overlay */
976 /* #undef SLAPD_OVER_PPOLICY */
978 /* define for Proxy Cache overlay */
979 /* #undef SLAPD_OVER_PROXYCACHE */
981 /* define for Referential Integrity overlay */
982 /* #undef SLAPD_OVER_REFINT */
984 /* define for Referential Integrity overlay */
985 /* #undef SLAPD_OVER_RETCODE */
987 /* define for Rewrite/Remap overlay */
988 /* #undef SLAPD_OVER_RWM */
990 /* define for Sequential Modify overlay */
991 /* #undef SLAPD_OVER_SEQMOD */
993 /* define for Syncrepl Provider overlay */
994 /* #undef SLAPD_OVER_SYNCPROV */
996 /* define for Translucent Proxy overlay */
997 /* #undef SLAPD_OVER_TRANSLUCENT */
999 /* define for Attribute Uniqueness overlay */
1000 /* #undef SLAPD_OVER_UNIQUE */
1002 /* define for Value Sorting overlay */
1003 /* #undef SLAPD_OVER_VALSORT */
1005 /* define to support PASSWD backend */
1006 /* #undef SLAPD_PASSWD */
1008 /* define to support PERL backend */
1009 /* #undef SLAPD_PERL */
1011 /* define to support relay backend */
1012 /* #undef SLAPD_RELAY */
1014 /* define to support reverse lookups */
1015 /* #undef SLAPD_RLOOKUPS */
1017 /* define to support SHELL backend */
1018 /* #undef SLAPD_SHELL */
1020 /* define to support SOCK backend */
1021 /* #undef SLAPD_SOCK */
1023 /* define to support SASL passwords */
1024 /* #undef SLAPD_SPASSWD */
1026 /* define to support SQL backend */
1027 /* #undef SLAPD_SQL */
1029 /* define to support run-time loadable ACL */
1030 /* #undef SLAP_DYNACL */
1032 /* Define to 1 if you have the ANSI C header files. */
1033 #define STDC_HEADERS 1
1035 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
1036 #define TIME_WITH_SYS_TIME 1
1038 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
1039 /* #undef TM_IN_SYS_TIME */
1041 /* set to urandom device */
1042 #define URANDOM_DEVICE "/dev/urandom"
1044 /* define to use OpenSSL BIGNUM for MP */
1045 /* #undef USE_MP_BIGNUM */
1047 /* define to use GMP for MP */
1048 /* #undef USE_MP_GMP */
1050 /* define to use 'long' for MP */
1051 /* #undef USE_MP_LONG */
1053 /* define to use 'long long' for MP */
1054 #define USE_MP_LONG_LONG 1
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 */
1060 /* Define to the type of arg 3 for `accept'. */
1061 #define ber_socklen_t socklen_t
1063 /* Define to `char *' if <sys/types.h> does not define. */
1064 /* #undef caddr_t */
1066 /* Define to empty if `const' does not conform to ANSI C. */
1069 /* Define to `int' if <sys/types.h> doesn't define. */
1072 /* Define to `int' if <sys/types.h> does not define. */
1075 /* Define to `long' if <sys/types.h> does not define. */
1078 /* Define to `int' if <sys/types.h> does not define. */
1081 /* Define to `int' if <signal.h> does not define. */
1082 /* #undef sig_atomic_t */
1084 /* Define to `unsigned' if <sys/types.h> does not define. */
1087 /* define to snprintf routine */
1088 #define snprintf _snprintf
1090 /* Define like ber_socklen_t if <sys/socket.h> does not define. */
1091 /* #undef socklen_t */
1093 /* Define to `signed int' if <sys/types.h> does not define. */
1094 /* #undef ssize_t */
1096 /* Define to `int' if <sys/types.h> doesn't define. */
1099 /* define as empty if volatile is not supported */
1100 /* #undef volatile */
1102 /* define to snprintf routine */
1103 #define vsnprintf _vsnprintf
1106 /* begin of portable.h.post */
1109 /* don't suck in all of the win32 api */
1110 # define WIN32_LEAN_AND_MEAN 1
1113 #ifndef LDAP_NEEDS_PROTOTYPES
1114 /* force LDAP_P to always include prototypes */
1115 #define LDAP_NEEDS_PROTOTYPES 1
1118 #ifndef LDAP_REL_ENG
1119 #if (LDAP_VENDOR_VERSION == 000000) && !defined(LDAP_DEVEL)
1122 #if defined(LDAP_DEVEL) && !defined(LDAP_TEST)
1127 #ifdef HAVE_STDDEF_H
1128 # include <stddef.h>
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
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
1144 #include "ac/fdset.h"
1146 #include "ldap_cdefs.h"
1147 #include "ldap_features.h"
1149 #include "ac/assert.h"
1150 #include "ac/localize.h"
1152 #endif /* _LDAP_PORTABLE_H */
1153 /* end of portable.h.post */