1 /* include/portable.hin. Generated from configure.in by autoheader. */
4 /* begin of portable.h.pre */
5 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
7 * Copyright 1998-2017 The OpenLDAP Foundation
10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted only as authorized by the OpenLDAP
14 * A copy of this license is available in the file LICENSE in the
15 * top-level directory of the distribution or, alternatively, at
16 * <http://www.OpenLDAP.org/license.html>.
19 #ifndef _LDAP_PORTABLE_H
20 #define _LDAP_PORTABLE_H
22 /* define this if needed to get reentrant functions */
30 /* define this if needed to get threadsafe functions */
44 #ifndef _SGI_MP_SOURCE
48 /* end of portable.h.pre */
51 /* define to use both <string.h> and <strings.h> */
54 /* define if cross compiling */
55 #undef CROSS_COMPILING
57 /* set to the number of arguments ctime_r() expects */
60 /* define if toupper() requires islower() */
63 /* define if sys_errlist is not declared in stdio.h or errno.h */
64 #undef DECL_SYS_ERRLIST
66 /* define to enable rewriting in back-ldap and back-meta */
69 /* define to enable slapi library */
72 /* defined to be the EXE extension */
75 /* set to the number of arguments gethostbyaddr_r() expects */
76 #undef GETHOSTBYADDR_R_NARGS
78 /* set to the number of arguments gethostbyname_r() expects */
79 #undef GETHOSTBYNAME_R_NARGS
81 /* Define to 1 if `TIOCGWINSZ' requires <sys/ioctl.h>. */
82 #undef GWINSZ_IN_SYS_IOCTL
84 /* define if you have AIX security lib */
85 #undef HAVE_AIX_SECURITY
87 /* Define to 1 if you have the <arpa/inet.h> header file. */
88 #undef HAVE_ARPA_INET_H
90 /* Define to 1 if you have the <arpa/nameser.h> header file. */
91 #undef HAVE_ARPA_NAMESER_H
93 /* Define to 1 if you have the <assert.h> header file. */
96 /* Define to 1 if you have the `bcopy' function. */
99 /* define this if Berkeley DB is available */
100 #undef HAVE_BERKELEY_DB
102 /* define if Berkeley DB has DB_THREAD support */
103 #undef HAVE_BERKELEY_DB_THREAD
105 /* Define to 1 if you have the <bits/types.h> header file. */
106 #undef HAVE_BITS_TYPES_H
108 /* Define to 1 if you have the `chroot' function. */
111 /* Define to 1 if you have the `closesocket' function. */
112 #undef HAVE_CLOSESOCKET
114 /* Define to 1 if you have the <conio.h> header file. */
117 /* define if crypt(3) is available */
120 /* Define to 1 if you have the <crypt.h> header file. */
123 /* Define to 1 if you have the <cthreads.h> header file. */
124 #undef HAVE_CTHREADS_H
126 /* Define to 1 if you have the `ctime_r' function. */
129 /* define if you have Cyrus SASL */
130 #undef HAVE_CYRUS_SASL
132 /* Define to 1 if you have the <db.h> header file. */
135 /* define if your system supports /dev/poll */
138 /* Define to 1 if you have the <direct.h> header file. */
141 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
145 /* Define to 1 if you have the <dlfcn.h> header file. */
148 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
151 /* define if system uses EBCDIC instead of ASCII */
154 /* Define to 1 if you have the `endgrent' function. */
157 /* Define to 1 if you have the `endpwent' function. */
160 /* define if your system supports epoll */
163 /* Define to 1 if you have the <errno.h> header file. */
166 /* Define to 1 if you have the `fcntl' function. */
169 /* Define to 1 if you have the <fcntl.h> header file. */
172 /* define if you actually have FreeBSD fetch(3) */
175 /* Define to 1 if you have the <filio.h> header file. */
178 /* Define to 1 if you have the `flock' function. */
181 /* Define to 1 if you have the `fstat' function. */
184 /* Define to 1 if you have the `gai_strerror' function. */
185 #undef HAVE_GAI_STRERROR
187 /* Define to 1 if you have the `getaddrinfo' function. */
188 #undef HAVE_GETADDRINFO
190 /* Define to 1 if you have the `getdtablesize' function. */
191 #undef HAVE_GETDTABLESIZE
193 /* Define to 1 if you have the `geteuid' function. */
196 /* Define to 1 if you have the `getgrgid' function. */
199 /* Define to 1 if you have the `gethostbyaddr_r' function. */
200 #undef HAVE_GETHOSTBYADDR_R
202 /* Define to 1 if you have the `gethostbyname_r' function. */
203 #undef HAVE_GETHOSTBYNAME_R
205 /* Define to 1 if you have the `gethostname' function. */
206 #undef HAVE_GETHOSTNAME
208 /* Define to 1 if you have the `getnameinfo' function. */
209 #undef HAVE_GETNAMEINFO
211 /* Define to 1 if you have the `getopt' function. */
214 /* Define to 1 if you have the <getopt.h> header file. */
217 /* Define to 1 if you have the `getpassphrase' function. */
218 #undef HAVE_GETPASSPHRASE
220 /* Define to 1 if you have the `getpeereid' function. */
221 #undef HAVE_GETPEEREID
223 /* Define to 1 if you have the `getpeerucred' function. */
224 #undef HAVE_GETPEERUCRED
226 /* Define to 1 if you have the `getpwnam' function. */
229 /* Define to 1 if you have the `getpwuid' function. */
232 /* Define to 1 if you have the `getspnam' function. */
235 /* Define to 1 if you have the `gettimeofday' function. */
236 #undef HAVE_GETTIMEOFDAY
238 /* Define to 1 if you have the <gmp.h> header file. */
241 /* Define to 1 if you have the `gmtime_r' function. */
244 /* define if you have GNUtls */
247 /* Define to 1 if you have the <gnutls/gnutls.h> header file. */
248 #undef HAVE_GNUTLS_GNUTLS_H
250 /* if you have GNU Pth */
253 /* Define to 1 if you have the <grp.h> header file. */
256 /* Define to 1 if you have the `hstrerror' function. */
257 #undef HAVE_HSTRERROR
259 /* define if you actually have ICU */
262 /* define to you inet_aton(3) is available */
263 #undef HAVE_INET_ATON
265 /* Define to 1 if you have the `inet_ntoa_b' function. */
266 #undef HAVE_INET_NTOA_B
268 /* Define to 1 if you have the `inet_ntop' function. */
269 #undef HAVE_INET_NTOP
271 /* Define to 1 if you have the `initgroups' function. */
272 #undef HAVE_INITGROUPS
274 /* Define to 1 if you have the <inttypes.h> header file. */
275 #undef HAVE_INTTYPES_H
277 /* Define to 1 if you have the `ioctl' function. */
280 /* Define to 1 if you have the <io.h> header file. */
283 /* Define to 1 if you have the `gen' library (-lgen). */
286 /* Define to 1 if you have the `gmp' library (-lgmp). */
289 /* Define to 1 if you have the `inet' library (-linet). */
292 /* define if you have libtool -ltdl */
295 /* Define to 1 if you have the `net' library (-lnet). */
298 /* Define to 1 if you have the `nsl' library (-lnsl). */
301 /* Define to 1 if you have the `nsl_s' library (-lnsl_s). */
304 /* Define to 1 if you have the `socket' library (-lsocket). */
305 #undef HAVE_LIBSOCKET
307 /* Define to 1 if you have the <libutil.h> header file. */
308 #undef HAVE_LIBUTIL_H
310 /* Define to 1 if you have the `V3' library (-lV3). */
313 /* Define to 1 if you have the <limits.h> header file. */
316 /* if you have LinuxThreads */
317 #undef HAVE_LINUX_THREADS
319 /* Define to 1 if you have the <locale.h> header file. */
322 /* Define to 1 if you have the `localtime_r' function. */
323 #undef HAVE_LOCALTIME_R
325 /* Define to 1 if you have the `lockf' function. */
328 /* Define to 1 if the system has the type `long long'. */
329 #undef HAVE_LONG_LONG
331 /* Define to 1 if you have the <ltdl.h> header file. */
334 /* define if you have Mach Cthreads */
335 #undef HAVE_MACH_CTHREADS
337 /* Define to 1 if you have the <mach/cthreads.h> header file. */
338 #undef HAVE_MACH_CTHREADS_H
340 /* Define to 1 if you have the <malloc.h> header file. */
343 /* Define to 1 if you have the `memcpy' function. */
346 /* Define to 1 if you have the `memmove' function. */
349 /* Define to 1 if you have the <memory.h> header file. */
352 /* Define to 1 if you have the `memrchr' function. */
355 /* Define to 1 if you have the `mkstemp' function. */
358 /* Define to 1 if you have the `mktemp' function. */
361 /* define this if you have mkversion */
362 #undef HAVE_MKVERSION
364 /* define if you have MozNSS */
367 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
370 /* Define to 1 if you have the <netinet/tcp.h> header file. */
371 #undef HAVE_NETINET_TCP_H
373 /* define if strerror_r returns char* instead of int */
374 #undef HAVE_NONPOSIX_STRERROR_R
376 /* Define to 1 if you have the <nssutil.h> header file. */
377 #undef HAVE_NSSUTIL_H
379 /* if you have NT Event Log */
380 #undef HAVE_NT_EVENT_LOG
382 /* if you have NT Service Manager */
383 #undef HAVE_NT_SERVICE_MANAGER
385 /* if you have NT Threads */
386 #undef HAVE_NT_THREADS
388 /* define if you have OpenSSL */
391 /* Define to 1 if you have the <openssl/bn.h> header file. */
392 #undef HAVE_OPENSSL_BN_H
394 /* define if you have OpenSSL with CRL checking capability */
395 #undef HAVE_OPENSSL_CRL
397 /* Define to 1 if you have the <openssl/crypto.h> header file. */
398 #undef HAVE_OPENSSL_CRYPTO_H
400 /* Define to 1 if you have the <openssl/ssl.h> header file. */
401 #undef HAVE_OPENSSL_SSL_H
403 /* Define to 1 if you have the `pipe' function. */
406 /* Define to 1 if you have the `poll' function. */
409 /* Define to 1 if you have the <poll.h> header file. */
412 /* Define to 1 if you have the <process.h> header file. */
413 #undef HAVE_PROCESS_H
415 /* Define to 1 if you have the <psap.h> header file. */
418 /* define to pthreads API spec revision */
421 /* define if you have pthread_detach function */
422 #undef HAVE_PTHREAD_DETACH
424 /* Define to 1 if you have the `pthread_getconcurrency' function. */
425 #undef HAVE_PTHREAD_GETCONCURRENCY
427 /* Define to 1 if you have the <pthread.h> header file. */
428 #undef HAVE_PTHREAD_H
430 /* Define to 1 if you have the `pthread_kill' function. */
431 #undef HAVE_PTHREAD_KILL
433 /* Define to 1 if you have the `pthread_kill_other_threads_np' function. */
434 #undef HAVE_PTHREAD_KILL_OTHER_THREADS_NP
436 /* define if you have pthread_rwlock_destroy function */
437 #undef HAVE_PTHREAD_RWLOCK_DESTROY
439 /* Define to 1 if you have the `pthread_setconcurrency' function. */
440 #undef HAVE_PTHREAD_SETCONCURRENCY
442 /* Define to 1 if you have the `pthread_yield' function. */
443 #undef HAVE_PTHREAD_YIELD
445 /* Define to 1 if you have the <pth.h> header file. */
448 /* Define to 1 if the system has the type `ptrdiff_t'. */
449 #undef HAVE_PTRDIFF_T
451 /* Define to 1 if you have the <pwd.h> header file. */
454 /* Define to 1 if you have the `read' function. */
457 /* Define to 1 if you have the `recv' function. */
460 /* Define to 1 if you have the `recvfrom' function. */
463 /* Define to 1 if you have the <regex.h> header file. */
466 /* Define to 1 if you have the <resolv.h> header file. */
469 /* define if you have res_query() */
470 #undef HAVE_RES_QUERY
472 /* define if OpenSSL needs RSAref */
475 /* Define to 1 if you have the <sasl.h> header file. */
478 /* Define to 1 if you have the <sasl/sasl.h> header file. */
479 #undef HAVE_SASL_SASL_H
481 /* define if your SASL library has sasl_version() */
482 #undef HAVE_SASL_VERSION
484 /* Define to 1 if you have the <sched.h> header file. */
487 /* Define to 1 if you have the `sched_yield' function. */
488 #undef HAVE_SCHED_YIELD
490 /* Define to 1 if you have the `send' function. */
493 /* Define to 1 if you have the `sendmsg' function. */
496 /* Define to 1 if you have the `sendto' function. */
499 /* Define to 1 if you have the `setegid' function. */
502 /* Define to 1 if you have the `seteuid' function. */
505 /* Define to 1 if you have the `setgid' function. */
508 /* define if setproctitle(3) is available */
509 #undef HAVE_SETPROCTITLE
511 /* Define to 1 if you have the `setpwfile' function. */
512 #undef HAVE_SETPWFILE
514 /* Define to 1 if you have the `setsid' function. */
517 /* Define to 1 if you have the `setuid' function. */
520 /* Define to 1 if you have the <sgtty.h> header file. */
523 /* Define to 1 if you have the <shadow.h> header file. */
526 /* Define to 1 if you have the `sigaction' function. */
527 #undef HAVE_SIGACTION
529 /* Define to 1 if you have the `signal' function. */
532 /* Define to 1 if you have the `sigset' function. */
535 /* define if you have -lslp */
538 /* Define to 1 if you have the <slp.h> header file. */
541 /* Define to 1 if you have the `snprintf' function. */
544 /* if you have spawnlp() */
547 /* Define to 1 if you have the <sqlext.h> header file. */
550 /* Define to 1 if you have the <sql.h> header file. */
553 /* Define to 1 if you have the <stddef.h> header file. */
556 /* Define to 1 if you have the <stdint.h> header file. */
559 /* Define to 1 if you have the <stdlib.h> header file. */
562 /* Define to 1 if you have the `strdup' function. */
565 /* Define to 1 if you have the `strerror' function. */
568 /* Define to 1 if you have the `strerror_r' function. */
569 #undef HAVE_STRERROR_R
571 /* Define to 1 if you have the `strftime' function. */
574 /* Define to 1 if you have the <strings.h> header file. */
575 #undef HAVE_STRINGS_H
577 /* Define to 1 if you have the <string.h> header file. */
580 /* Define to 1 if you have the `strpbrk' function. */
583 /* Define to 1 if you have the `strrchr' function. */
586 /* Define to 1 if you have the `strsep' function. */
589 /* Define to 1 if you have the `strspn' function. */
592 /* Define to 1 if you have the `strstr' function. */
595 /* Define to 1 if you have the `strtol' function. */
598 /* Define to 1 if you have the `strtoll' function. */
601 /* Define to 1 if you have the `strtoq' function. */
604 /* Define to 1 if you have the `strtoul' function. */
607 /* Define to 1 if you have the `strtoull' function. */
610 /* Define to 1 if you have the `strtouq' function. */
613 /* Define to 1 if `msg_accrightslen' is member of `struct msghdr'. */
614 #undef HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTSLEN
616 /* Define to 1 if `msg_control' is member of `struct msghdr'. */
617 #undef HAVE_STRUCT_MSGHDR_MSG_CONTROL
619 /* Define to 1 if `pw_gecos' is member of `struct passwd'. */
620 #undef HAVE_STRUCT_PASSWD_PW_GECOS
622 /* Define to 1 if `pw_passwd' is member of `struct passwd'. */
623 #undef HAVE_STRUCT_PASSWD_PW_PASSWD
625 /* Define to 1 if `st_blksize' is member of `struct stat'. */
626 #undef HAVE_STRUCT_STAT_ST_BLKSIZE
628 /* Define to 1 if `st_fstype' is member of `struct stat'. */
629 #undef HAVE_STRUCT_STAT_ST_FSTYPE
631 /* define to 1 if st_fstype is char * */
632 #undef HAVE_STRUCT_STAT_ST_FSTYPE_CHAR
634 /* define to 1 if st_fstype is int */
635 #undef HAVE_STRUCT_STAT_ST_FSTYPE_INT
637 /* Define to 1 if `st_vfstype' is member of `struct stat'. */
638 #undef HAVE_STRUCT_STAT_ST_VFSTYPE
640 /* Define to 1 if you have the <synch.h> header file. */
643 /* Define to 1 if you have the `sysconf' function. */
646 /* Define to 1 if you have the <sysexits.h> header file. */
647 #undef HAVE_SYSEXITS_H
649 /* Define to 1 if you have the <syslog.h> header file. */
652 /* Define to 1 if you have the <sys/devpoll.h> header file. */
653 #undef HAVE_SYS_DEVPOLL_H
655 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
657 #undef HAVE_SYS_DIR_H
659 /* Define to 1 if you have the <sys/epoll.h> header file. */
660 #undef HAVE_SYS_EPOLL_H
662 /* define if you actually have sys_errlist in your libs */
663 #undef HAVE_SYS_ERRLIST
665 /* Define to 1 if you have the <sys/errno.h> header file. */
666 #undef HAVE_SYS_ERRNO_H
668 /* Define to 1 if you have the <sys/file.h> header file. */
669 #undef HAVE_SYS_FILE_H
671 /* Define to 1 if you have the <sys/filio.h> header file. */
672 #undef HAVE_SYS_FILIO_H
674 /* Define to 1 if you have the <sys/fstyp.h> header file. */
675 #undef HAVE_SYS_FSTYP_H
677 /* Define to 1 if you have the <sys/ioctl.h> header file. */
678 #undef HAVE_SYS_IOCTL_H
680 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
682 #undef HAVE_SYS_NDIR_H
684 /* Define to 1 if you have the <sys/param.h> header file. */
685 #undef HAVE_SYS_PARAM_H
687 /* Define to 1 if you have the <sys/poll.h> header file. */
688 #undef HAVE_SYS_POLL_H
690 /* Define to 1 if you have the <sys/privgrp.h> header file. */
691 #undef HAVE_SYS_PRIVGRP_H
693 /* Define to 1 if you have the <sys/resource.h> header file. */
694 #undef HAVE_SYS_RESOURCE_H
696 /* Define to 1 if you have the <sys/select.h> header file. */
697 #undef HAVE_SYS_SELECT_H
699 /* Define to 1 if you have the <sys/socket.h> header file. */
700 #undef HAVE_SYS_SOCKET_H
702 /* Define to 1 if you have the <sys/stat.h> header file. */
703 #undef HAVE_SYS_STAT_H
705 /* Define to 1 if you have the <sys/syslog.h> header file. */
706 #undef HAVE_SYS_SYSLOG_H
708 /* Define to 1 if you have the <sys/time.h> header file. */
709 #undef HAVE_SYS_TIME_H
711 /* Define to 1 if you have the <sys/types.h> header file. */
712 #undef HAVE_SYS_TYPES_H
714 /* Define to 1 if you have the <sys/ucred.h> header file. */
715 #undef HAVE_SYS_UCRED_H
717 /* Define to 1 if you have the <sys/uio.h> header file. */
718 #undef HAVE_SYS_UIO_H
720 /* Define to 1 if you have the <sys/un.h> header file. */
723 /* Define to 1 if you have the <sys/uuid.h> header file. */
724 #undef HAVE_SYS_UUID_H
726 /* Define to 1 if you have the <sys/vmount.h> header file. */
727 #undef HAVE_SYS_VMOUNT_H
729 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
730 #undef HAVE_SYS_WAIT_H
732 /* define if you have -lwrap */
735 /* Define to 1 if you have the <tcpd.h> header file. */
738 /* Define to 1 if you have the <termios.h> header file. */
739 #undef HAVE_TERMIOS_H
741 /* if you have Solaris LWP (thr) package */
744 /* Define to 1 if you have the <thread.h> header file. */
747 /* Define to 1 if you have the `thr_getconcurrency' function. */
748 #undef HAVE_THR_GETCONCURRENCY
750 /* Define to 1 if you have the `thr_setconcurrency' function. */
751 #undef HAVE_THR_SETCONCURRENCY
753 /* Define to 1 if you have the `thr_yield' function. */
754 #undef HAVE_THR_YIELD
756 /* define if you have TLS */
759 /* Define to 1 if you have the <unicode/utypes.h> header file. */
760 #undef HAVE_UNICODE_UTYPES_H
762 /* Define to 1 if you have the <unistd.h> header file. */
765 /* Define to 1 if you have the <utime.h> header file. */
768 /* define if you have uuid_generate() */
769 #undef HAVE_UUID_GENERATE
771 /* define if you have uuid_to_str() */
772 #undef HAVE_UUID_TO_STR
774 /* Define to 1 if you have the <uuid/uuid.h> header file. */
775 #undef HAVE_UUID_UUID_H
777 /* Define to 1 if you have the `vprintf' function. */
780 /* Define to 1 if you have the `vsnprintf' function. */
781 #undef HAVE_VSNPRINTF
783 /* Define to 1 if you have the `wait4' function. */
786 /* Define to 1 if you have the `waitpid' function. */
789 /* define if you have winsock */
792 /* define if you have winsock2 */
795 /* Define to 1 if you have the <winsock2.h> header file. */
796 #undef HAVE_WINSOCK2_H
798 /* Define to 1 if you have the <winsock.h> header file. */
799 #undef HAVE_WINSOCK_H
801 /* Define to 1 if you have the `write' function. */
804 /* define if select implicitly yields */
805 #undef HAVE_YIELDING_SELECT
807 /* Define to 1 if you have the `_vsnprintf' function. */
808 #undef HAVE__VSNPRINTF
810 /* define to 32-bit or greater integer type */
813 /* define to large integer type */
816 /* define to socket descriptor type */
819 /* define to large integer type */
822 /* define to 1 if library is thread safe */
823 #undef LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE
825 /* define to LDAP VENDOR VERSION */
826 #undef LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS
828 /* define this to add debugging code */
831 /* define if LDAP libs are dynamic */
832 #undef LDAP_LIBS_DYNAMIC
834 /* define to support PF_INET6 */
837 /* define to support PF_LOCAL */
840 /* define this for LDAP process title support */
841 #undef LDAP_PROCTITLE
843 /* define this to add SLAPI code */
846 /* define this to add syslog code */
850 #undef LDAP_VENDOR_VERSION
853 #undef LDAP_VENDOR_VERSION_MAJOR
856 #undef LDAP_VENDOR_VERSION_MINOR
859 #undef LDAP_VENDOR_VERSION_PATCH
861 /* define if memcmp is not 8-bit clean or is otherwise broken */
862 #undef NEED_MEMCMP_REPLACEMENT
864 /* define if you have (or want) no threads */
867 /* define to use the original debug style */
871 #undef OPENLDAP_PACKAGE
874 #undef OPENLDAP_VERSION
876 /* Define to the address where bug reports for this package should be sent. */
877 #undef PACKAGE_BUGREPORT
879 /* Define to the full name of this package. */
882 /* Define to the full name and version of this package. */
883 #undef PACKAGE_STRING
885 /* Define to the one symbol short name of this package. */
886 #undef PACKAGE_TARNAME
888 /* Define to the version of this package. */
889 #undef PACKAGE_VERSION
891 /* define if sched_yield yields the entire process */
892 #undef REPLACE_BROKEN_YIELD
894 /* Define as the return type of signal handlers (`int' or `void'). */
897 /* Define to the type of arg 1 for `select'. */
898 #undef SELECT_TYPE_ARG1
900 /* Define to the type of args 2, 3 and 4 for `select'. */
901 #undef SELECT_TYPE_ARG234
903 /* Define to the type of arg 5 for `select'. */
904 #undef SELECT_TYPE_ARG5
906 /* The size of `int', as computed by sizeof. */
909 /* The size of `long', as computed by sizeof. */
912 /* The size of `long long', as computed by sizeof. */
913 #undef SIZEOF_LONG_LONG
915 /* The size of `short', as computed by sizeof. */
918 /* The size of `wchar_t', as computed by sizeof. */
919 #undef SIZEOF_WCHAR_T
921 /* define to support per-object ACIs */
922 #undef SLAPD_ACI_ENABLED
924 /* define to support BDB backend */
927 /* define to support cleartext passwords */
928 #undef SLAPD_CLEARTEXT
930 /* define to support crypt(3) passwords */
933 /* define to support DNS SRV backend */
936 /* define to support HDB backend */
939 /* define to support LDAP backend */
942 /* define to support LAN Manager passwords */
945 /* define to support MDB backend */
948 /* define to support LDAP Metadirectory backend */
951 /* define to support modules */
954 /* dynamically linked module */
955 #undef SLAPD_MOD_DYNAMIC
957 /* statically linked module */
958 #undef SLAPD_MOD_STATIC
960 /* define to support cn=Monitor backend */
963 /* define to support NDB backend */
966 /* define to support NULL backend */
969 /* define for In-Directory Access Logging overlay */
970 #undef SLAPD_OVER_ACCESSLOG
972 /* define for Audit Logging overlay */
973 #undef SLAPD_OVER_AUDITLOG
975 /* define for Collect overlay */
976 #undef SLAPD_OVER_COLLECT
978 /* define for Attribute Constraint overlay */
979 #undef SLAPD_OVER_CONSTRAINT
981 /* define for Dynamic Directory Services overlay */
982 #undef SLAPD_OVER_DDS
984 /* define for Dynamic Directory Services overlay */
985 #undef SLAPD_OVER_DEREF
987 /* define for Dynamic Group overlay */
988 #undef SLAPD_OVER_DYNGROUP
990 /* define for Dynamic List overlay */
991 #undef SLAPD_OVER_DYNLIST
993 /* define for Reverse Group Membership overlay */
994 #undef SLAPD_OVER_MEMBEROF
996 /* define for Password Policy overlay */
997 #undef SLAPD_OVER_PPOLICY
999 /* define for Proxy Cache overlay */
1000 #undef SLAPD_OVER_PROXYCACHE
1002 /* define for Referential Integrity overlay */
1003 #undef SLAPD_OVER_REFINT
1005 /* define for Referential Integrity overlay */
1006 #undef SLAPD_OVER_RETCODE
1008 /* define for Rewrite/Remap overlay */
1009 #undef SLAPD_OVER_RWM
1011 /* define for Sequential Modify overlay */
1012 #undef SLAPD_OVER_SEQMOD
1014 /* define for ServerSideSort/VLV overlay */
1015 #undef SLAPD_OVER_SSSVLV
1017 /* define for Syncrepl Provider overlay */
1018 #undef SLAPD_OVER_SYNCPROV
1020 /* define for Translucent Proxy overlay */
1021 #undef SLAPD_OVER_TRANSLUCENT
1023 /* define for Attribute Uniqueness overlay */
1024 #undef SLAPD_OVER_UNIQUE
1026 /* define for Value Sorting overlay */
1027 #undef SLAPD_OVER_VALSORT
1029 /* define to support PASSWD backend */
1032 /* define to support PERL backend */
1035 /* define to support relay backend */
1038 /* define to support reverse lookups */
1039 #undef SLAPD_RLOOKUPS
1041 /* define to support SHELL backend */
1044 /* define to support SOCK backend */
1047 /* define to support SASL passwords */
1048 #undef SLAPD_SPASSWD
1050 /* define to support SQL backend */
1053 /* define to support run-time loadable ACL */
1056 /* Define to 1 if you have the ANSI C header files. */
1059 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
1060 #undef TIME_WITH_SYS_TIME
1062 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
1063 #undef TM_IN_SYS_TIME
1065 /* set to urandom device */
1066 #undef URANDOM_DEVICE
1068 /* define to use OpenSSL BIGNUM for MP */
1069 #undef USE_MP_BIGNUM
1071 /* define to use GMP for MP */
1074 /* define to use 'long' for MP */
1077 /* define to use 'long long' for MP */
1078 #undef USE_MP_LONG_LONG
1080 /* Define to 1 if your processor stores words with the most significant byte
1081 first (like Motorola and SPARC, unlike Intel and VAX). */
1082 #undef WORDS_BIGENDIAN
1084 /* Define to the type of arg 3 for `accept'. */
1085 #undef ber_socklen_t
1087 /* Define to `char *' if <sys/types.h> does not define. */
1090 /* Define to empty if `const' does not conform to ANSI C. */
1093 /* Define to `int' if <sys/types.h> doesn't define. */
1096 /* Define to `int' if <sys/types.h> does not define. */
1099 /* Define to `long' if <sys/types.h> does not define. */
1102 /* Define to `int' if <sys/types.h> does not define. */
1105 /* Define to `int' if <signal.h> does not define. */
1108 /* Define to `unsigned' if <sys/types.h> does not define. */
1111 /* define to snprintf routine */
1114 /* Define like ber_socklen_t if <sys/socket.h> does not define. */
1117 /* Define to `signed int' if <sys/types.h> does not define. */
1120 /* Define to `int' if <sys/types.h> doesn't define. */
1123 /* define as empty if volatile is not supported */
1126 /* define to snprintf routine */
1130 /* begin of portable.h.post */
1133 /* don't suck in all of the win32 api */
1134 # define WIN32_LEAN_AND_MEAN 1
1137 #ifndef LDAP_NEEDS_PROTOTYPES
1138 /* force LDAP_P to always include prototypes */
1139 #define LDAP_NEEDS_PROTOTYPES 1
1142 #ifndef LDAP_REL_ENG
1143 #if (LDAP_VENDOR_VERSION == 000000) && !defined(LDAP_DEVEL)
1146 #if defined(LDAP_DEVEL) && !defined(LDAP_TEST)
1151 #ifdef HAVE_STDDEF_H
1152 # include <stddef.h>
1156 /* ASCII/EBCDIC converting replacements for stdio funcs
1157 * vsnprintf and snprintf are used too, but they are already
1158 * checked by the configure script
1160 #define fputs ber_pvt_fputs
1161 #define fgets ber_pvt_fgets
1162 #define printf ber_pvt_printf
1163 #define fprintf ber_pvt_fprintf
1164 #define vfprintf ber_pvt_vfprintf
1165 #define vsprintf ber_pvt_vsprintf
1168 #include "ac/fdset.h"
1170 #include "ldap_cdefs.h"
1171 #include "ldap_features.h"
1173 #include "ac/assert.h"
1174 #include "ac/localize.h"
1176 #endif /* _LDAP_PORTABLE_H */
1177 /* end of portable.h.post */