/* include/portable.h. Generated from portable.hin by configure. */1/* include/portable.hin. Generated from configure.ac by autoheader. */234/* begin of portable.h.pre */5/* This work is part of OpenLDAP Software <http://www.openldap.org/>.6*7* Copyright 1998-2021 The OpenLDAP Foundation8* All rights reserved.9*10* Redistribution and use in source and binary forms, with or without11* modification, are permitted only as authorized by the OpenLDAP12* Public License.13*14* A copy of this license is available in the file LICENSE in the15* top-level directory of the distribution or, alternatively, at16* <http://www.OpenLDAP.org/license.html>.17*/1819#ifndef _LDAP_PORTABLE_H20#define _LDAP_PORTABLE_H2122/* define this if needed to get reentrant functions */23#ifndef REENTRANT24/* #undef REENTRANT */25#endif26#ifndef _REENTRANT27/* #undef _REENTRANT */28#endif2930/* define this if needed to get threadsafe functions */31#ifndef THREADSAFE32/* #undef THREADSAFE */33#endif34#ifndef _THREADSAFE35/* #undef _THREADSAFE */36#endif37#ifndef THREAD_SAFE38/* #undef THREAD_SAFE */39#endif40#ifndef _THREAD_SAFE41/* #undef _THREAD_SAFE */42#endif4344#ifndef _SGI_MP_SOURCE45/* #undef _SGI_MP_SOURCE */46#endif4748/* end of portable.h.pre */495051/* Define if building universal (internal helper macro) */52/* #undef AC_APPLE_UNIVERSAL_BUILD */5354/* define to use both <string.h> and <strings.h> */55/* #undef BOTH_STRINGS_H */5657/* define if cross compiling */58#define CROSS_COMPILING 15960/* set to the number of arguments ctime_r() expects */61/* #undef CTIME_R_NARGS */6263/* define if toupper() requires islower() */64#define C_UPPER_LOWER 16566/* define if sys_errlist is not declared in stdio.h or errno.h */67/* #undef DECL_SYS_ERRLIST */6869/* define to enable slapi library */70/* #undef ENABLE_SLAPI */7172/* defined to be the EXE extension */73#define EXEEXT ".exe"7475/* set to the number of arguments gethostbyaddr_r() expects */76/* #undef GETHOSTBYADDR_R_NARGS */7778/* set to the number of arguments gethostbyname_r() expects */79/* #undef GETHOSTBYNAME_R_NARGS */8081/* Define to 1 if `TIOCGWINSZ' requires <sys/ioctl.h>. */82/* #undef GWINSZ_IN_SYS_IOCTL */8384/* define if you have AIX security lib */85/* #undef HAVE_AIX_SECURITY */8687/* Define to 1 if you have the <argon2.h> header file. */88/* #undef HAVE_ARGON2_H */8990/* Define to 1 if you have the <arpa/inet.h> header file. */91/* #undef HAVE_ARPA_INET_H */9293/* Define to 1 if you have the <arpa/nameser.h> header file. */94/* #undef HAVE_ARPA_NAMESER_H */9596/* Define to 1 if you have the <assert.h> header file. */97#define HAVE_ASSERT_H 19899/* Define to 1 if you have the `bcopy' function. */100/* #undef HAVE_BCOPY */101102/* Define to 1 if you have the <bits/types.h> header file. */103/* #undef HAVE_BITS_TYPES_H */104105/* Define to 1 if you have the `chroot' function. */106/* #undef HAVE_CHROOT */107108/* Define to 1 if you have the `clock_gettime' function. */109/* #undef HAVE_CLOCK_GETTIME */110111/* Define to 1 if you have the `closesocket' function. */112#define HAVE_CLOSESOCKET 1113114/* Define to 1 if you have the <conio.h> header file. */115#define HAVE_CONIO_H 1116117/* define if crypt(3) is available */118/* #undef HAVE_CRYPT */119120/* Define to 1 if you have the <crypt.h> header file. */121/* #undef HAVE_CRYPT_H */122123/* define if crypt_r() is also available */124/* #undef HAVE_CRYPT_R */125126/* Define to 1 if you have the `ctime_r' function. */127/* #undef HAVE_CTIME_R */128129/* define if you have Cyrus SASL */130/* #undef HAVE_CYRUS_SASL */131#define HAVE_CYRUS_SASL 1132133/* define if your system supports /dev/poll */134/* #undef HAVE_DEVPOLL */135136/* Define to 1 if you have the <direct.h> header file. */137#define HAVE_DIRECT_H 1138139/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.140*/141#define HAVE_DIRENT_H 1142143/* Define to 1 if you have the <dlfcn.h> header file. */144/* #undef HAVE_DLFCN_H */145146/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */147/* #undef HAVE_DOPRNT */148149/* define if system uses EBCDIC instead of ASCII */150/* #undef HAVE_EBCDIC */151152/* Define to 1 if you have the `endgrent' function. */153/* #undef HAVE_ENDGRENT */154155/* Define to 1 if you have the `endpwent' function. */156/* #undef HAVE_ENDPWENT */157158/* define if your system supports epoll */159/* #undef HAVE_EPOLL */160161/* Define to 1 if you have the <errno.h> header file. */162#define HAVE_ERRNO_H 1163164/* Define to 1 if you have the `fcntl' function. */165/* #undef HAVE_FCNTL */166167/* Define to 1 if you have the <fcntl.h> header file. */168#define HAVE_FCNTL_H 1169170/* define if you actually have FreeBSD fetch(3) */171/* #undef HAVE_FETCH */172173/* Define to 1 if you have the <filio.h> header file. */174/* #undef HAVE_FILIO_H */175176/* Define to 1 if you have the `flock' function. */177/* #undef HAVE_FLOCK */178179/* Define to 1 if you have the `fmemopen' function. */180/* #undef HAVE_FMEMOPEN */181182/* Define to 1 if you have the `fstat' function. */183#define HAVE_FSTAT 1184185/* Define to 1 if you have the `gai_strerror' function. */186/* #undef HAVE_GAI_STRERROR */187188/* Define to 1 if you have the `getaddrinfo' function. */189#define HAVE_GETADDRINFO 1190191/* Define to 1 if you have the `getdtablesize' function. */192/* #undef HAVE_GETDTABLESIZE */193194/* Define to 1 if you have the `geteuid' function. */195/* #undef HAVE_GETEUID */196197/* Define to 1 if you have the `getgrgid' function. */198/* #undef HAVE_GETGRGID */199200/* Define to 1 if you have the `gethostbyaddr_r' function. */201/* #undef HAVE_GETHOSTBYADDR_R */202203/* Define to 1 if you have the `gethostbyname_r' function. */204/* #undef HAVE_GETHOSTBYNAME_R */205206/* Define to 1 if you have the `gethostname' function. */207#define HAVE_GETHOSTNAME 1208209/* Define to 1 if you have the `getnameinfo' function. */210#define HAVE_GETNAMEINFO 1211212/* Define to 1 if you have the `getopt' function. */213/* #undef HAVE_GETOPT */214215/* Define to 1 if you have the <getopt.h> header file. */216/* #undef HAVE_GETOPT_H */217218/* Define to 1 if you have the `getpassphrase' function. */219/* #undef HAVE_GETPASSPHRASE */220221/* Define to 1 if you have the `getpeereid' function. */222/* #undef HAVE_GETPEEREID */223224/* Define to 1 if you have the `getpeerucred' function. */225/* #undef HAVE_GETPEERUCRED */226227/* Define to 1 if you have the `getpwnam' function. */228/* #undef HAVE_GETPWNAM */229230/* Define to 1 if you have the `getpwuid' function. */231/* #undef HAVE_GETPWUID */232233/* Define to 1 if you have the `getspnam' function. */234/* #undef HAVE_GETSPNAM */235236/* Define to 1 if you have the `gettimeofday' function. */237#define HAVE_GETTIMEOFDAY 1238239/* Define to 1 if you have the <gmp.h> header file. */240/* #undef HAVE_GMP_H */241242/* Define to 1 if you have the `gmtime_r' function. */243/* #undef HAVE_GMTIME_R */244245/* define if you have GNUtls */246/* #undef HAVE_GNUTLS */247248/* Define to 1 if you have the <gnutls/gnutls.h> header file. */249/* #undef HAVE_GNUTLS_GNUTLS_H */250251/* if you have GNU Pth */252/* #undef HAVE_GNU_PTH */253254/* Define to 1 if you have the <grp.h> header file. */255/* #undef HAVE_GRP_H */256257/* Define to 1 if you have the `hstrerror' function. */258/* #undef HAVE_HSTRERROR */259260/* define to you inet_aton(3) is available */261/* #undef HAVE_INET_ATON */262263/* Define to 1 if you have the `inet_ntoa_b' function. */264/* #undef HAVE_INET_NTOA_B */265266/* Define to 1 if you have the `inet_ntop' function. */267#define HAVE_INET_NTOP 1268269/* Define to 1 if you have the `initgroups' function. */270/* #undef HAVE_INITGROUPS */271272/* Define to 1 if you have the <inttypes.h> header file. */273#define HAVE_INTTYPES_H 1274275/* Define to 1 if you have the `ioctl' function. */276/* #undef HAVE_IOCTL */277278/* Define to 1 if you have the <io.h> header file. */279#define HAVE_IO_H 1280281/* define if your system supports kqueue */282/* #undef HAVE_KQUEUE */283284/* define if you have libargon2 */285/* #undef HAVE_LIBARGON2 */286287/* define if you have -levent */288/* #undef HAVE_LIBEVENT */289290/* Define to 1 if you have the `gen' library (-lgen). */291/* #undef HAVE_LIBGEN */292293/* Define to 1 if you have the `gmp' library (-lgmp). */294/* #undef HAVE_LIBGMP */295296/* Define to 1 if you have the `inet' library (-linet). */297/* #undef HAVE_LIBINET */298299/* define if you have libtool -ltdl */300/* #undef HAVE_LIBLTDL */301302/* Define to 1 if you have the `net' library (-lnet). */303/* #undef HAVE_LIBNET */304305/* Define to 1 if you have the `nsl' library (-lnsl). */306/* #undef HAVE_LIBNSL */307308/* Define to 1 if you have the `nsl_s' library (-lnsl_s). */309/* #undef HAVE_LIBNSL_S */310311/* Define to 1 if you have the `socket' library (-lsocket). */312/* #undef HAVE_LIBSOCKET */313314/* define if you have libsodium */315/* #undef HAVE_LIBSODIUM */316317/* Define to 1 if you have the <libutil.h> header file. */318/* #undef HAVE_LIBUTIL_H */319320/* Define to 1 if you have the `V3' library (-lV3). */321/* #undef HAVE_LIBV3 */322323/* Define to 1 if you have the <limits.h> header file. */324#define HAVE_LIMITS_H 1325326/* if you have LinuxThreads */327/* #undef HAVE_LINUX_THREADS */328329/* Define to 1 if you have the <locale.h> header file. */330#define HAVE_LOCALE_H 1331332/* Define to 1 if you have the `localtime_r' function. */333/* #undef HAVE_LOCALTIME_R */334335/* Define to 1 if you have the `lockf' function. */336/* #undef HAVE_LOCKF */337338/* Define to 1 if the system has the type `long long'. */339#define HAVE_LONG_LONG 1340341/* Define to 1 if you have the <ltdl.h> header file. */342/* #undef HAVE_LTDL_H */343344/* Define to 1 if you have the <malloc.h> header file. */345#define HAVE_MALLOC_H 1346347/* Define to 1 if you have the `memcpy' function. */348#define HAVE_MEMCPY 1349350/* Define to 1 if you have the `memmove' function. */351#define HAVE_MEMMOVE 1352353/* Define to 1 if you have the <memory.h> header file. */354#define HAVE_MEMORY_H 1355356/* Define to 1 if you have the `memrchr' function. */357/* #undef HAVE_MEMRCHR */358359/* Define to 1 if you have the `mkstemp' function. */360#define HAVE_MKSTEMP 1361362/* Define to 1 if you have the `mktemp' function. */363#define HAVE_MKTEMP 1364365/* define this if you have mkversion */366#define HAVE_MKVERSION 1367368/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */369/* #undef HAVE_NDIR_H */370371/* Define to 1 if you have the <netinet/tcp.h> header file. */372/* #undef HAVE_NETINET_TCP_H */373374/* define if strerror_r returns char* instead of int */375/* #undef HAVE_NONPOSIX_STRERROR_R */376377/* if you have NT Event Log */378#define HAVE_NT_EVENT_LOG 1379380/* if you have NT Service Manager */381#define HAVE_NT_SERVICE_MANAGER 1382383/* if you have NT Threads */384#define HAVE_NT_THREADS 1385386/* define if you have OpenSSL */387/* #undef HAVE_OPENSSL */388389/* Define to 1 if you have the <openssl/bn.h> header file. */390/* #undef HAVE_OPENSSL_BN_H */391392/* Define to 1 if you have the <openssl/crypto.h> header file. */393/* #undef HAVE_OPENSSL_CRYPTO_H */394395/* Define to 1 if you have the <openssl/ssl.h> header file. */396/* #undef HAVE_OPENSSL_SSL_H */397398/* Define to 1 if you have the `pipe' function. */399/* #undef HAVE_PIPE */400401/* Define to 1 if you have the `poll' function. */402/* #undef HAVE_POLL */403404/* Define to 1 if you have the <poll.h> header file. */405/* #undef HAVE_POLL_H */406407/* Define to 1 if you have the <process.h> header file. */408#define HAVE_PROCESS_H 1409410/* Define to 1 if you have the <psap.h> header file. */411/* #undef HAVE_PSAP_H */412413/* define to pthreads API spec revision */414/* #undef HAVE_PTHREADS */415416/* define if you have pthread_detach function */417/* #undef HAVE_PTHREAD_DETACH */418419/* Define to 1 if you have the `pthread_getconcurrency' function. */420/* #undef HAVE_PTHREAD_GETCONCURRENCY */421422/* Define to 1 if you have the <pthread.h> header file. */423/* #undef HAVE_PTHREAD_H */424425/* Define to 1 if you have the `pthread_kill' function. */426/* #undef HAVE_PTHREAD_KILL */427428/* Define to 1 if you have the `pthread_kill_other_threads_np' function. */429/* #undef HAVE_PTHREAD_KILL_OTHER_THREADS_NP */430431/* define if you have pthread_rwlock_destroy function */432/* #undef HAVE_PTHREAD_RWLOCK_DESTROY */433434/* Define to 1 if you have the `pthread_setconcurrency' function. */435/* #undef HAVE_PTHREAD_SETCONCURRENCY */436437/* Define to 1 if you have the `pthread_yield' function. */438/* #undef HAVE_PTHREAD_YIELD */439440/* Define to 1 if you have the <pth.h> header file. */441/* #undef HAVE_PTH_H */442443/* Define to 1 if the system has the type `ptrdiff_t'. */444#define HAVE_PTRDIFF_T 1445446/* Define to 1 if you have the <pwd.h> header file. */447/* #undef HAVE_PWD_H */448449/* Define to 1 if you have the `read' function. */450#define HAVE_READ 1451452/* Define to 1 if you have the `recv' function. */453#define HAVE_RECV 1454455/* Define to 1 if you have the `recvfrom' function. */456#define HAVE_RECVFROM 1457458/* Define to 1 if you have the <regex.h> header file. */459/* #undef HAVE_REGEX_H */460461/* Define to 1 if you have the <resolv.h> header file. */462/* #undef HAVE_RESOLV_H */463464/* define if you have res_query() */465/* #undef HAVE_RES_QUERY */466467/* Define to 1 if you have the <sasl.h> header file. */468/* #undef HAVE_SASL_H */469470/* Define to 1 if you have the <sasl/sasl.h> header file. */471/* #undef HAVE_SASL_SASL_H */472473/* define if your SASL library has sasl_version() */474/* #undef HAVE_SASL_VERSION */475476/* Define to 1 if you have the <sched.h> header file. */477/* #undef HAVE_SCHED_H */478479/* Define to 1 if you have the `sched_yield' function. */480/* #undef HAVE_SCHED_YIELD */481482/* Define to 1 if you have the `send' function. */483#define HAVE_SEND 1484485/* Define to 1 if you have the `sendmsg' function. */486/* #undef HAVE_SENDMSG */487488/* Define to 1 if you have the `sendto' function. */489#define HAVE_SENDTO 1490491/* Define to 1 if you have the `setegid' function. */492/* #undef HAVE_SETEGID */493494/* Define to 1 if you have the `seteuid' function. */495/* #undef HAVE_SETEUID */496497/* Define to 1 if you have the `setgid' function. */498/* #undef HAVE_SETGID */499500/* Define to 1 if you have the `setpwfile' function. */501/* #undef HAVE_SETPWFILE */502503/* Define to 1 if you have the `setsid' function. */504/* #undef HAVE_SETSID */505506/* Define to 1 if you have the `setuid' function. */507/* #undef HAVE_SETUID */508509/* Define to 1 if you have the <sgtty.h> header file. */510/* #undef HAVE_SGTTY_H */511512/* Define to 1 if you have the <shadow.h> header file. */513/* #undef HAVE_SHADOW_H */514515/* Define to 1 if you have the `sigaction' function. */516/* #undef HAVE_SIGACTION */517518/* Define to 1 if you have the `signal' function. */519#define HAVE_SIGNAL 1520521/* Define to 1 if you have the `sigset' function. */522/* #undef HAVE_SIGSET */523524/* define if you have -lslp */525/* #undef HAVE_SLP */526527/* Define to 1 if you have the <slp.h> header file. */528/* #undef HAVE_SLP_H */529530/* Define to 1 if you have the `snprintf' function. */531#define HAVE_SNPRINTF 1532533/* Define to 1 if you have the <sodium.h> header file. */534/* #undef HAVE_SODIUM_H */535536/* if you have spawnlp() */537#define HAVE_SPAWNLP 1538539/* Define to 1 if you have the <sqlext.h> header file. */540/* #undef HAVE_SQLEXT_H */541542/* Define to 1 if you have the <sql.h> header file. */543/* #undef HAVE_SQL_H */544545/* Define to 1 if you have the <stddef.h> header file. */546#define HAVE_STDDEF_H 1547548/* Define to 1 if you have the <stdint.h> header file. */549#define HAVE_STDINT_H 1550551/* Define to 1 if you have the <stdio.h> header file. */552/* #undef HAVE_STDIO_H */553554/* Define to 1 if you have the <stdlib.h> header file. */555#define HAVE_STDLIB_H 1556557/* Define to 1 if you have the `strdup' function. */558#define HAVE_STRDUP 1559560/* Define to 1 if you have the `strerror' function. */561#define HAVE_STRERROR 1562563/* Define to 1 if you have the `strerror_r' function. */564/* #undef HAVE_STRERROR_R */565566/* Define to 1 if you have the `strftime' function. */567#define HAVE_STRFTIME 1568569/* Define to 1 if you have the <strings.h> header file. */570#define HAVE_STRINGS_H 1571572/* Define to 1 if you have the <string.h> header file. */573#define HAVE_STRING_H 1574575/* Define to 1 if you have the `strpbrk' function. */576#define HAVE_STRPBRK 1577578/* Define to 1 if you have the `strrchr' function. */579#define HAVE_STRRCHR 1580581/* Define to 1 if you have the `strsep' function. */582/* #undef HAVE_STRSEP */583584/* Define to 1 if you have the `strspn' function. */585#define HAVE_STRSPN 1586587/* Define to 1 if you have the `strstr' function. */588#define HAVE_STRSTR 1589590/* Define to 1 if you have the `strtol' function. */591#define HAVE_STRTOL 1592593/* Define to 1 if you have the `strtoll' function. */594#define HAVE_STRTOLL 1595596/* Define to 1 if you have the `strtoq' function. */597/* #undef HAVE_STRTOQ */598599/* Define to 1 if you have the `strtoul' function. */600#define HAVE_STRTOUL 1601602/* Define to 1 if you have the `strtoull' function. */603#define HAVE_STRTOULL 1604605/* Define to 1 if you have the `strtouq' function. */606/* #undef HAVE_STRTOUQ */607608/* Define to 1 if `msg_accrightslen' is a member of `struct msghdr'. */609/* #undef HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTSLEN */610611/* Define to 1 if `msg_control' is a member of `struct msghdr'. */612/* #undef HAVE_STRUCT_MSGHDR_MSG_CONTROL */613614/* Define to 1 if `pw_gecos' is a member of `struct passwd'. */615/* #undef HAVE_STRUCT_PASSWD_PW_GECOS */616617/* Define to 1 if `pw_passwd' is a member of `struct passwd'. */618/* #undef HAVE_STRUCT_PASSWD_PW_PASSWD */619620/* Define to 1 if `st_blksize' is a member of `struct stat'. */621/* #undef HAVE_STRUCT_STAT_ST_BLKSIZE */622623/* Define to 1 if `st_fstype' is a member of `struct stat'. */624/* #undef HAVE_STRUCT_STAT_ST_FSTYPE */625626/* define to 1 if st_fstype is char * */627/* #undef HAVE_STRUCT_STAT_ST_FSTYPE_CHAR */628629/* define to 1 if st_fstype is int */630/* #undef HAVE_STRUCT_STAT_ST_FSTYPE_INT */631632/* Define to 1 if `st_vfstype' is a member of `struct stat'. */633/* #undef HAVE_STRUCT_STAT_ST_VFSTYPE */634635/* Define to 1 if you have the <synch.h> header file. */636/* #undef HAVE_SYNCH_H */637638/* Define to 1 if you have the `sysconf' function. */639/* #undef HAVE_SYSCONF */640641/* Define to 1 if you have the <sysexits.h> header file. */642/* #undef HAVE_SYSEXITS_H */643644/* Define to 1 if you have the <syslog.h> header file. */645/* #undef HAVE_SYSLOG_H */646647/* define if you have systemd */648/* #undef HAVE_SYSTEMD */649650/* Define to 1 if you have the <systemd/sd-daemon.h> header file. */651/* #undef HAVE_SYSTEMD_SD_DAEMON_H */652653/* Define to 1 if you have the <sys/devpoll.h> header file. */654/* #undef HAVE_SYS_DEVPOLL_H */655656/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.657*/658/* #undef HAVE_SYS_DIR_H */659660/* Define to 1 if you have the <sys/epoll.h> header file. */661/* #undef HAVE_SYS_EPOLL_H */662663/* define if you actually have sys_errlist in your libs */664/* #undef HAVE_SYS_ERRLIST */665666/* Define to 1 if you have the <sys/errno.h> header file. */667/* #undef HAVE_SYS_ERRNO_H */668669/* Define to 1 if you have the <sys/event.h> header file. */670/* #undef HAVE_SYS_EVENT_H */671672/* Define to 1 if you have the <sys/file.h> header file. */673/* #undef HAVE_SYS_FILE_H */674675/* Define to 1 if you have the <sys/filio.h> header file. */676/* #undef HAVE_SYS_FILIO_H */677678/* Define to 1 if you have the <sys/fstyp.h> header file. */679/* #undef HAVE_SYS_FSTYP_H */680681/* Define to 1 if you have the <sys/ioctl.h> header file. */682/* #undef HAVE_SYS_IOCTL_H */683684/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.685*/686/* #undef HAVE_SYS_NDIR_H */687688/* Define to 1 if you have the <sys/param.h> header file. */689/* #undef HAVE_SYS_PARAM_H */690691/* Define to 1 if you have the <sys/poll.h> header file. */692/* #undef HAVE_SYS_POLL_H */693694/* Define to 1 if you have the <sys/privgrp.h> header file. */695/* #undef HAVE_SYS_PRIVGRP_H */696697/* Define to 1 if you have the <sys/resource.h> header file. */698/* #undef HAVE_SYS_RESOURCE_H */699700/* Define to 1 if you have the <sys/select.h> header file. */701/* #undef HAVE_SYS_SELECT_H */702703/* Define to 1 if you have the <sys/socket.h> header file. */704/* #undef HAVE_SYS_SOCKET_H */705706/* Define to 1 if you have the <sys/stat.h> header file. */707#define HAVE_SYS_STAT_H 1708709/* Define to 1 if you have the <sys/syslog.h> header file. */710/* #undef HAVE_SYS_SYSLOG_H */711712/* Define to 1 if you have the <sys/time.h> header file. */713/* #undef HAVE_SYS_TIME_H */714715/* Define to 1 if you have the <sys/types.h> header file. */716#define HAVE_SYS_TYPES_H 1717718/* Define to 1 if you have the <sys/ucred.h> header file. */719/* #undef HAVE_SYS_UCRED_H */720721/* Define to 1 if you have the <sys/uio.h> header file. */722/* #undef HAVE_SYS_UIO_H */723724/* Define to 1 if you have the <sys/un.h> header file. */725/* #undef HAVE_SYS_UN_H */726727/* Define to 1 if you have the <sys/uuid.h> header file. */728/* #undef HAVE_SYS_UUID_H */729730/* Define to 1 if you have the <sys/vmount.h> header file. */731/* #undef HAVE_SYS_VMOUNT_H */732733/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */734/* #undef HAVE_SYS_WAIT_H */735736/* define if you have -lwrap */737/* #undef HAVE_TCPD */738739/* Define to 1 if you have the <tcpd.h> header file. */740/* #undef HAVE_TCPD_H */741742/* Define to 1 if you have the <termios.h> header file. */743/* #undef HAVE_TERMIOS_H */744745/* if you have Solaris LWP (thr) package */746/* #undef HAVE_THR */747748/* Define to 1 if you have the <thread.h> header file. */749/* #undef HAVE_THREAD_H */750751/* Define to 1 if you have the `thr_getconcurrency' function. */752/* #undef HAVE_THR_GETCONCURRENCY */753754/* Define to 1 if you have the `thr_setconcurrency' function. */755/* #undef HAVE_THR_SETCONCURRENCY */756757/* Define to 1 if you have the `thr_yield' function. */758/* #undef HAVE_THR_YIELD */759760/* define if you have TLS */761#define HAVE_TLS 1762763/* Define to 1 if you have the <unistd.h> header file. */764#define HAVE_UNISTD_H 1765766/* Define to 1 if you have the <utime.h> header file. */767#define HAVE_UTIME_H 1768769/* define if you have uuid_generate() */770/* #undef HAVE_UUID_GENERATE */771772/* define if you have uuid_to_str() */773/* #undef HAVE_UUID_TO_STR */774775/* Define to 1 if you have the <uuid/uuid.h> header file. */776/* #undef HAVE_UUID_UUID_H */777778/* Define to 1 if you have the `vprintf' function. */779#define HAVE_VPRINTF 1780781/* Define to 1 if you have the `vsnprintf' function. */782#define HAVE_VSNPRINTF 1783784/* Define to 1 if you have the `wait4' function. */785/* #undef HAVE_WAIT4 */786787/* Define to 1 if you have the `waitpid' function. */788/* #undef HAVE_WAITPID */789790/* define if you have winsock */791#define HAVE_WINSOCK 1792793/* define if you have winsock2 */794#define HAVE_WINSOCK2 1795796/* Define to 1 if you have the <winsock2.h> header file. */797#define HAVE_WINSOCK2_H 1798799/* Define to 1 if you have the <winsock.h> header file. */800#define HAVE_WINSOCK_H 1801802/* Define to 1 if you have the `write' function. */803#define HAVE_WRITE 1804805/* define if select implicitly yields */806#define HAVE_YIELDING_SELECT 1807808/* Define to 1 if you have the `_vsnprintf' function. */809#define HAVE__VSNPRINTF 1810811/* define to 32-bit or greater integer type */812#define LBER_INT_T int813814/* define to large integer type */815/* #undef LBER_LEN_T */816817/* define to socket descriptor type */818#define LBER_SOCKET_T int819820/* define to large integer type */821/* #undef LBER_TAG_T */822823/* define to 1 if library is reentrant */824#define LDAP_API_FEATURE_X_OPENLDAP_REENTRANT 1825826/* define to 1 if library is thread safe */827#define LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE 1828829/* define to LDAP VENDOR VERSION */830/* #undef LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS */831832/* define this to add debugging code */833/* #undef LDAP_DEBUG */834835/* define if LDAP libs are dynamic */836/* #undef LDAP_LIBS_DYNAMIC */837838/* define to support PF_INET6 */839/* #undef LDAP_PF_INET6 */840841/* define to support PF_LOCAL */842/* #undef LDAP_PF_LOCAL */843844/* define this to add SLAPI code */845/* #undef LDAP_SLAPI */846847/* define this to add syslog code */848/* #undef LDAP_SYSLOG */849850/* Version */851#define LDAP_VENDOR_VERSION 000000852853/* Major */854#define LDAP_VENDOR_VERSION_MAJOR 2855856/* Minor */857#define LDAP_VENDOR_VERSION_MINOR X858859/* Patch */860#define LDAP_VENDOR_VERSION_PATCH X861862/* Define to the sub-directory where libtool stores uninstalled libraries. */863#define LT_OBJDIR ".libs/"864865/* define if memcmp is not 8-bit clean or is otherwise broken */866/* #undef NEED_MEMCMP_REPLACEMENT */867868/* define if you have (or want) no threads */869/* #undef NO_THREADS */870871/* define to use the original debug style */872/* #undef OLD_DEBUG */873874/* Package */875#define OPENLDAP_PACKAGE "OpenLDAP"876877/* Version */878#define OPENLDAP_VERSION "2.X"879880/* Define to the address where bug reports for this package should be sent. */881#define PACKAGE_BUGREPORT ""882883/* Define to the full name of this package. */884#define PACKAGE_NAME ""885886/* Define to the full name and version of this package. */887#define PACKAGE_STRING ""888889/* Define to the one symbol short name of this package. */890#define PACKAGE_TARNAME ""891892/* Define to the home page for this package. */893#define PACKAGE_URL ""894895/* Define to the version of this package. */896#define PACKAGE_VERSION ""897898/* define if sched_yield yields the entire process */899/* #undef REPLACE_BROKEN_YIELD */900901/* Define to the type of arg 1 for `select'. */902/* #undef SELECT_TYPE_ARG1 */903904/* Define to the type of args 2, 3 and 4 for `select'. */905/* #undef SELECT_TYPE_ARG234 */906907/* Define to the type of arg 5 for `select'. */908/* #undef SELECT_TYPE_ARG5 */909910/* The size of `int', as computed by sizeof. */911#define SIZEOF_INT 4912913/* The size of `long', as computed by sizeof. */914#define SIZEOF_LONG 4915916/* The size of `long long', as computed by sizeof. */917#define SIZEOF_LONG_LONG 8918919/* The size of `short', as computed by sizeof. */920#define SIZEOF_SHORT 2921922/* The size of `wchar_t', as computed by sizeof. */923#define SIZEOF_WCHAR_T 2924925/* define to support per-object ACIs */926/* #undef SLAPD_ACI_ENABLED */927928/* define to support LDAP Async Metadirectory backend */929/* #undef SLAPD_ASYNCMETA */930931/* define to support cleartext passwords */932/* #undef SLAPD_CLEARTEXT */933934/* define to support crypt(3) passwords */935/* #undef SLAPD_CRYPT */936937/* define to support DNS SRV backend */938/* #undef SLAPD_DNSSRV */939940/* define to support LDAP backend */941/* #undef SLAPD_LDAP */942943/* define to support MDB backend */944/* #undef SLAPD_MDB */945946/* define to support LDAP Metadirectory backend */947/* #undef SLAPD_META */948949/* define to support modules */950/* #undef SLAPD_MODULES */951952/* dynamically linked module */953#define SLAPD_MOD_DYNAMIC 2954955/* statically linked module */956#define SLAPD_MOD_STATIC 1957958/* define to support NDB backend */959/* #undef SLAPD_NDB */960961/* define to support NULL backend */962/* #undef SLAPD_NULL */963964/* define for In-Directory Access Logging overlay */965/* #undef SLAPD_OVER_ACCESSLOG */966967/* define for Audit Logging overlay */968/* #undef SLAPD_OVER_AUDITLOG */969970/* define for Automatic Certificate Authority overlay */971/* #undef SLAPD_OVER_AUTOCA */972973/* define for Collect overlay */974/* #undef SLAPD_OVER_COLLECT */975976/* define for Attribute Constraint overlay */977/* #undef SLAPD_OVER_CONSTRAINT */978979/* define for Dynamic Directory Services overlay */980/* #undef SLAPD_OVER_DDS */981982/* define for Dynamic Directory Services overlay */983/* #undef SLAPD_OVER_DEREF */984985/* define for Dynamic Group overlay */986/* #undef SLAPD_OVER_DYNGROUP */987988/* define for Dynamic List overlay */989/* #undef SLAPD_OVER_DYNLIST */990991/* define for Home Directory Management overlay */992/* #undef SLAPD_OVER_HOMEDIR */993994/* define for Reverse Group Membership overlay */995/* #undef SLAPD_OVER_MEMBEROF */996997/* define for OTP 2-factor Authentication overlay */998/* #undef SLAPD_OVER_OTP */9991000/* define for Password Policy overlay */1001/* #undef SLAPD_OVER_PPOLICY */10021003/* define for Proxy Cache overlay */1004/* #undef SLAPD_OVER_PROXYCACHE */10051006/* define for Referential Integrity overlay */1007/* #undef SLAPD_OVER_REFINT */10081009/* define for Deferred Authentication overlay */1010/* #undef SLAPD_OVER_REMOTEAUTH */10111012/* define for Return Code overlay */1013/* #undef SLAPD_OVER_RETCODE */10141015/* define for Rewrite/Remap overlay */1016/* #undef SLAPD_OVER_RWM */10171018/* define for Sequential Modify overlay */1019/* #undef SLAPD_OVER_SEQMOD */10201021/* define for ServerSideSort/VLV overlay */1022/* #undef SLAPD_OVER_SSSVLV */10231024/* define for Syncrepl Provider overlay */1025/* #undef SLAPD_OVER_SYNCPROV */10261027/* define for Translucent Proxy overlay */1028/* #undef SLAPD_OVER_TRANSLUCENT */10291030/* define for Attribute Uniqueness overlay */1031/* #undef SLAPD_OVER_UNIQUE */10321033/* define for Value Sorting overlay */1034/* #undef SLAPD_OVER_VALSORT */10351036/* define to support PASSWD backend */1037/* #undef SLAPD_PASSWD */10381039/* define to support PERL backend */1040/* #undef SLAPD_PERL */10411042/* define for Argon2 Password hashing module */1043/* #undef SLAPD_PWMOD_PW_ARGON2 */10441045/* define to support relay backend */1046/* #undef SLAPD_RELAY */10471048/* define to support reverse lookups */1049/* #undef SLAPD_RLOOKUPS */10501051/* define to support SHELL backend */1052/* #undef SLAPD_SHELL */10531054/* define to support SOCK backend */1055/* #undef SLAPD_SOCK */10561057/* define to support SASL passwords */1058/* #undef SLAPD_SPASSWD */10591060/* define to support SQL backend */1061/* #undef SLAPD_SQL */10621063/* define to support WiredTiger backend */1064/* #undef SLAPD_WT */10651066/* define to support run-time loadable ACL */1067/* #undef SLAP_DYNACL */10681069/* Define to 1 if all of the C90 standard headers exist (not just the ones1070required in a freestanding environment). This macro is provided for1071backward compatibility; new code need not use it. */1072#define STDC_HEADERS 110731074/* Define to 1 if your <sys/time.h> declares `struct tm'. */1075/* #undef TM_IN_SYS_TIME */10761077/* set to urandom device */1078/* #undef URANDOM_DEVICE */10791080/* define to use OpenSSL BIGNUM for MP */1081/* #undef USE_MP_BIGNUM */10821083/* define to use GMP for MP */1084/* #undef USE_MP_GMP */10851086/* define to use 'long' for MP */1087/* #undef USE_MP_LONG */10881089/* define to use 'long long' for MP */1090#define USE_MP_LONG_LONG 110911092/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most1093significant byte first (like Motorola and SPARC, unlike Intel). */1094#if defined AC_APPLE_UNIVERSAL_BUILD1095# if defined __BIG_ENDIAN__1096# define WORDS_BIGENDIAN 11097# endif1098#else1099# ifndef WORDS_BIGENDIAN1100/* # undef WORDS_BIGENDIAN */1101# endif1102#endif11031104/* Define to the type of arg 3 for `accept'. */1105#define ber_socklen_t int11061107/* Define to `char *' if <sys/types.h> does not define. */1108#define caddr_t char *11091110/* Define to empty if `const' does not conform to ANSI C. */1111/* #undef const */11121113/* Define to `int' if <sys/types.h> doesn't define. */1114#define gid_t int11151116/* Define to `int' if <sys/types.h> does not define. */1117/* #undef mode_t */11181119/* Define to `long' if <sys/types.h> does not define. */1120/* #undef off_t */11211122/* Define to `int' if <sys/types.h> does not define. */1123/* #undef pid_t */11241125/* Define to `int' if <signal.h> does not define. */1126/* #undef sig_atomic_t */11271128/* Define to `unsigned' if <sys/types.h> does not define. */1129/* #undef size_t */11301131/* define to snprintf routine */1132/* #define snprintf _snprintf */11331134/* Define like ber_socklen_t if <sys/socket.h> does not define. */1135/* #undef socklen_t */11361137/* Define to `signed int' if <sys/types.h> does not define. */1138/* #undef ssize_t */11391140/* Define to `int' if <sys/types.h> doesn't define. */1141#define uid_t int11421143/* define as empty if volatile is not supported */1144/* #undef volatile */11451146/* define to snprintf routine */1147/* #undef vsnprintf */114811491150/* begin of portable.h.post */11511152#define RETSIGTYPE void11531154#ifdef _WIN321155/* don't suck in all of the win32 api */1156# define WIN32_LEAN_AND_MEAN 11157#endif11581159#ifndef LDAP_NEEDS_PROTOTYPES1160/* force LDAP_P to always include prototypes */1161#define LDAP_NEEDS_PROTOTYPES 11162#endif11631164#ifndef LDAP_REL_ENG1165#if (LDAP_VENDOR_VERSION == 000000) && !defined(LDAP_DEVEL)1166#define LDAP_DEVEL1167#endif1168#if defined(LDAP_DEVEL) && !defined(LDAP_TEST)1169#define LDAP_TEST1170#endif1171#endif11721173#ifdef HAVE_STDDEF_H1174# include <stddef.h>1175#endif11761177#ifdef HAVE_EBCDIC1178/* ASCII/EBCDIC converting replacements for stdio funcs1179* vsnprintf and snprintf are used too, but they are already1180* checked by the configure script1181*/1182#define fputs ber_pvt_fputs1183#define fgets ber_pvt_fgets1184#define printf ber_pvt_printf1185#define fprintf ber_pvt_fprintf1186#define vfprintf ber_pvt_vfprintf1187#define vsprintf ber_pvt_vsprintf1188#endif11891190#include "ac/fdset.h"11911192#include "ldap_cdefs.h"1193#include "ldap_features.h"11941195#include "ac/assert.h"1196#include "ac/localize.h"11971198#endif /* _LDAP_PORTABLE_H */1199/* end of portable.h.post */120012011202