portable-linux.h 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191
  1. /* include/portable.h. Generated from portable.hin by configure. */
  2. /* include/portable.hin. Generated from configure.ac by autoheader. */
  3. /* begin of portable.h.pre */
  4. /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  5. *
  6. * Copyright 1998-2022 The OpenLDAP Foundation
  7. * All rights reserved.
  8. *
  9. * Redistribution and use in source and binary forms, with or without
  10. * modification, are permitted only as authorized by the OpenLDAP
  11. * Public License.
  12. *
  13. * A copy of this license is available in the file LICENSE in the
  14. * top-level directory of the distribution or, alternatively, at
  15. * <http://www.OpenLDAP.org/license.html>.
  16. */
  17. #ifndef _LDAP_PORTABLE_H
  18. #define _LDAP_PORTABLE_H
  19. /* define this if needed to get reentrant functions */
  20. #ifndef REENTRANT
  21. #define REENTRANT 1
  22. #endif
  23. #ifndef _REENTRANT
  24. #define _REENTRANT 1
  25. #endif
  26. /* define this if needed to get threadsafe functions */
  27. #ifndef THREADSAFE
  28. #define THREADSAFE 1
  29. #endif
  30. #ifndef _THREADSAFE
  31. #define _THREADSAFE 1
  32. #endif
  33. #ifndef THREAD_SAFE
  34. #define THREAD_SAFE 1
  35. #endif
  36. #ifndef _THREAD_SAFE
  37. #define _THREAD_SAFE 1
  38. #endif
  39. #ifndef _SGI_MP_SOURCE
  40. #define _SGI_MP_SOURCE 1
  41. #endif
  42. /* end of portable.h.pre */
  43. /* Define if building universal (internal helper macro) */
  44. /* #undef AC_APPLE_UNIVERSAL_BUILD */
  45. /* define to use both <string.h> and <strings.h> */
  46. /* #undef BOTH_STRINGS_H */
  47. /* define if cross compiling */
  48. /* #undef CROSS_COMPILING */
  49. /* set to the number of arguments ctime_r() expects */
  50. #define CTIME_R_NARGS 2
  51. /* define if toupper() requires islower() */
  52. /* #undef C_UPPER_LOWER */
  53. /* define if sys_errlist is not declared in stdio.h or errno.h */
  54. /* #undef DECL_SYS_ERRLIST */
  55. /* define to enable slapi library */
  56. /* #undef ENABLE_SLAPI */
  57. /* defined to be the EXE extension */
  58. #define EXEEXT ""
  59. /* set to the number of arguments gethostbyaddr_r() expects */
  60. #define GETHOSTBYADDR_R_NARGS 8
  61. /* set to the number of arguments gethostbyname_r() expects */
  62. #define GETHOSTBYNAME_R_NARGS 6
  63. /* Define to 1 if `TIOCGWINSZ' requires <sys/ioctl.h>. */
  64. #define GWINSZ_IN_SYS_IOCTL 1
  65. /* define if you have AIX security lib */
  66. /* #undef HAVE_AIX_SECURITY */
  67. /* Define to 1 if you have the <argon2.h> header file. */
  68. /* #undef HAVE_ARGON2_H */
  69. /* Define to 1 if you have the <arpa/inet.h> header file. */
  70. #define HAVE_ARPA_INET_H 1
  71. /* Define to 1 if you have the <arpa/nameser.h> header file. */
  72. #define HAVE_ARPA_NAMESER_H 1
  73. /* Define to 1 if you have the <assert.h> header file. */
  74. #define HAVE_ASSERT_H 1
  75. /* Define to 1 if you have the `bcopy' function. */
  76. #define HAVE_BCOPY 1
  77. /* Define to 1 if you have the <bits/types.h> header file. */
  78. #ifdef __linux__
  79. #define HAVE_BITS_TYPES_H 1
  80. #endif
  81. /* Define to 1 if you have the `chroot' function. */
  82. #define HAVE_CHROOT 1
  83. /* Define to 1 if you have the `clock_gettime' function. */
  84. #define HAVE_CLOCK_GETTIME 1
  85. /* Define to 1 if you have the `closesocket' function. */
  86. /* #undef HAVE_CLOSESOCKET */
  87. /* Define to 1 if you have the <conio.h> header file. */
  88. /* #undef HAVE_CONIO_H */
  89. /* define if crypt(3) is available */
  90. #define HAVE_CRYPT 1
  91. /* Define to 1 if you have the <crypt.h> header file. */
  92. #define HAVE_CRYPT_H 1
  93. /* define if crypt_r() is also available */
  94. #define HAVE_CRYPT_R 1
  95. /* Define to 1 if you have the `ctime_r' function. */
  96. #define HAVE_CTIME_R 1
  97. /* define if you have Cyrus SASL */
  98. #define HAVE_CYRUS_SASL 1
  99. /* define if your system supports /dev/poll */
  100. /* #undef HAVE_DEVPOLL */
  101. /* Define to 1 if you have the <direct.h> header file. */
  102. /* #undef HAVE_DIRECT_H */
  103. /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
  104. */
  105. #define HAVE_DIRENT_H 1
  106. /* Define to 1 if you have the <dlfcn.h> header file. */
  107. #define HAVE_DLFCN_H 1
  108. /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
  109. /* #undef HAVE_DOPRNT */
  110. /* define if system uses EBCDIC instead of ASCII */
  111. /* #undef HAVE_EBCDIC */
  112. /* Define to 1 if you have the `endgrent' function. */
  113. #define HAVE_ENDGRENT 1
  114. /* Define to 1 if you have the `endpwent' function. */
  115. #define HAVE_ENDPWENT 1
  116. /* define if your system supports epoll */
  117. #define HAVE_EPOLL 1
  118. /* Define to 1 if you have the <errno.h> header file. */
  119. #define HAVE_ERRNO_H 1
  120. /* Define to 1 if you have the `fcntl' function. */
  121. #define HAVE_FCNTL 1
  122. /* Define to 1 if you have the <fcntl.h> header file. */
  123. #define HAVE_FCNTL_H 1
  124. /* define if you actually have FreeBSD fetch(3) */
  125. /* #undef HAVE_FETCH */
  126. /* Define to 1 if you have the <filio.h> header file. */
  127. /* #undef HAVE_FILIO_H */
  128. /* Define to 1 if you have the `flock' function. */
  129. #define HAVE_FLOCK 1
  130. /* Define to 1 if you have the `fmemopen' function. */
  131. #define HAVE_FMEMOPEN 1
  132. /* Define to 1 if you have the `fstat' function. */
  133. #define HAVE_FSTAT 1
  134. /* Define to 1 if you have the `gai_strerror' function. */
  135. #define HAVE_GAI_STRERROR 1
  136. /* Define to 1 if you have the `getaddrinfo' function. */
  137. #define HAVE_GETADDRINFO 1
  138. /* Define to 1 if you have the `getdtablesize' function. */
  139. #define HAVE_GETDTABLESIZE 1
  140. /* Define to 1 if you have the `geteuid' function. */
  141. #define HAVE_GETEUID 1
  142. /* Define to 1 if you have the `getgrgid' function. */
  143. #define HAVE_GETGRGID 1
  144. /* Define to 1 if you have the `gethostbyaddr_r' function. */
  145. #define HAVE_GETHOSTBYADDR_R 1
  146. /* Define to 1 if you have the `gethostbyname_r' function. */
  147. #define HAVE_GETHOSTBYNAME_R 1
  148. /* Define to 1 if you have the `gethostname' function. */
  149. #define HAVE_GETHOSTNAME 1
  150. /* Define to 1 if you have the `getnameinfo' function. */
  151. #define HAVE_GETNAMEINFO 1
  152. /* Define to 1 if you have the `getopt' function. */
  153. #define HAVE_GETOPT 1
  154. /* Define to 1 if you have the <getopt.h> header file. */
  155. #define HAVE_GETOPT_H 1
  156. /* Define to 1 if you have the `getpassphrase' function. */
  157. /* #undef HAVE_GETPASSPHRASE */
  158. /* Define to 1 if you have the `getpeereid' function. */
  159. /* #undef HAVE_GETPEEREID */
  160. /* Define to 1 if you have the `getpeerucred' function. */
  161. /* #undef HAVE_GETPEERUCRED */
  162. /* Define to 1 if you have the `getpwnam' function. */
  163. #define HAVE_GETPWNAM 1
  164. /* Define to 1 if you have the `getpwuid' function. */
  165. #define HAVE_GETPWUID 1
  166. /* Define to 1 if you have the `getspnam' function. */
  167. #define HAVE_GETSPNAM 1
  168. /* Define to 1 if you have the `gettimeofday' function. */
  169. #define HAVE_GETTIMEOFDAY 1
  170. /* Define to 1 if you have the <gmp.h> header file. */
  171. /* #undef HAVE_GMP_H */
  172. /* Define to 1 if you have the `gmtime_r' function. */
  173. #define HAVE_GMTIME_R 1
  174. /* define if you have GNUtls */
  175. /* #undef HAVE_GNUTLS */
  176. /* Define to 1 if you have the <gnutls/gnutls.h> header file. */
  177. /* #undef HAVE_GNUTLS_GNUTLS_H */
  178. /* if you have GNU Pth */
  179. /* #undef HAVE_GNU_PTH */
  180. /* Define to 1 if you have the <grp.h> header file. */
  181. #define HAVE_GRP_H 1
  182. /* Define to 1 if you have the `hstrerror' function. */
  183. #define HAVE_HSTRERROR 1
  184. /* define to you inet_aton(3) is available */
  185. #define HAVE_INET_ATON 1
  186. /* Define to 1 if you have the `inet_ntoa_b' function. */
  187. /* #undef HAVE_INET_NTOA_B */
  188. /* Define to 1 if you have the `inet_ntop' function. */
  189. #define HAVE_INET_NTOP 1
  190. /* Define to 1 if you have the `initgroups' function. */
  191. #define HAVE_INITGROUPS 1
  192. /* Define to 1 if you have the <inttypes.h> header file. */
  193. #define HAVE_INTTYPES_H 1
  194. /* Define to 1 if you have the `ioctl' function. */
  195. #define HAVE_IOCTL 1
  196. /* Define to 1 if you have the <io.h> header file. */
  197. /* #undef HAVE_IO_H */
  198. /* define if your system supports kqueue */
  199. /* #undef HAVE_KQUEUE */
  200. /* define if you have libargon2 */
  201. /* #undef HAVE_LIBARGON2 */
  202. /* define if you have -levent */
  203. /* #undef HAVE_LIBEVENT */
  204. /* Define to 1 if you have the `gen' library (-lgen). */
  205. /* #undef HAVE_LIBGEN */
  206. /* Define to 1 if you have the `gmp' library (-lgmp). */
  207. /* #undef HAVE_LIBGMP */
  208. /* Define to 1 if you have the `inet' library (-linet). */
  209. /* #undef HAVE_LIBINET */
  210. /* define if you have libtool -ltdl */
  211. #define HAVE_LIBLTDL 1
  212. /* Define to 1 if you have the `net' library (-lnet). */
  213. /* #undef HAVE_LIBNET */
  214. /* Define to 1 if you have the `nsl' library (-lnsl). */
  215. /* #undef HAVE_LIBNSL */
  216. /* Define to 1 if you have the `nsl_s' library (-lnsl_s). */
  217. /* #undef HAVE_LIBNSL_S */
  218. /* Define to 1 if you have the `socket' library (-lsocket). */
  219. /* #undef HAVE_LIBSOCKET */
  220. /* define if you have libsodium */
  221. #define HAVE_LIBSODIUM 1
  222. /* Define to 1 if you have the <libutil.h> header file. */
  223. /* #undef HAVE_LIBUTIL_H */
  224. /* Define to 1 if you have the `V3' library (-lV3). */
  225. /* #undef HAVE_LIBV3 */
  226. /* Define to 1 if you have the <limits.h> header file. */
  227. #define HAVE_LIMITS_H 1
  228. /* if you have LinuxThreads */
  229. /* #undef HAVE_LINUX_THREADS */
  230. /* Define to 1 if you have the <locale.h> header file. */
  231. #define HAVE_LOCALE_H 1
  232. /* Define to 1 if you have the `localtime_r' function. */
  233. #define HAVE_LOCALTIME_R 1
  234. /* Define to 1 if you have the `lockf' function. */
  235. #define HAVE_LOCKF 1
  236. /* Define to 1 if the system has the type `long long'. */
  237. #define HAVE_LONG_LONG 1
  238. /* Define to 1 if you have the <ltdl.h> header file. */
  239. #define HAVE_LTDL_H 1
  240. /* Define to 1 if you have the <malloc.h> header file. */
  241. #define HAVE_MALLOC_H 1
  242. /* Define to 1 if you have the `memcpy' function. */
  243. #define HAVE_MEMCPY 1
  244. /* Define to 1 if you have the `memmove' function. */
  245. #define HAVE_MEMMOVE 1
  246. /* Define to 1 if you have the <memory.h> header file. */
  247. #define HAVE_MEMORY_H 1
  248. /* Define to 1 if you have the `memrchr' function. */
  249. #define HAVE_MEMRCHR 1
  250. /* Define to 1 if you have the `mkstemp' function. */
  251. #define HAVE_MKSTEMP 1
  252. /* Define to 1 if you have the `mktemp' function. */
  253. #define HAVE_MKTEMP 1
  254. /* define this if you have mkversion */
  255. #define HAVE_MKVERSION 1
  256. /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
  257. /* #undef HAVE_NDIR_H */
  258. /* Define to 1 if you have the <netinet/tcp.h> header file. */
  259. #define HAVE_NETINET_TCP_H 1
  260. /* define if strerror_r returns char* instead of int */
  261. /* #undef HAVE_NONPOSIX_STRERROR_R */
  262. /* if you have NT Event Log */
  263. /* #undef HAVE_NT_EVENT_LOG */
  264. /* if you have NT Service Manager */
  265. /* #undef HAVE_NT_SERVICE_MANAGER */
  266. /* if you have NT Threads */
  267. /* #undef HAVE_NT_THREADS */
  268. /* define if you have OpenSSL */
  269. #define HAVE_OPENSSL 1
  270. /* Define to 1 if you have the <openssl/bn.h> header file. */
  271. /* #undef HAVE_OPENSSL_BN_H */
  272. /* Define to 1 if you have the <openssl/crypto.h> header file. */
  273. /* #undef HAVE_OPENSSL_CRYPTO_H */
  274. /* Define to 1 if you have the <openssl/ssl.h> header file. */
  275. #define HAVE_OPENSSL_SSL_H 1
  276. /* Define to 1 if you have the `pipe' function. */
  277. #define HAVE_PIPE 1
  278. /* Define to 1 if you have the `poll' function. */
  279. #define HAVE_POLL 1
  280. /* Define to 1 if you have the <poll.h> header file. */
  281. #define HAVE_POLL_H 1
  282. /* Define to 1 if you have the <process.h> header file. */
  283. /* #undef HAVE_PROCESS_H */
  284. /* Define to 1 if you have the <psap.h> header file. */
  285. /* #undef HAVE_PSAP_H */
  286. /* define to pthreads API spec revision */
  287. #define HAVE_PTHREADS 10
  288. /* define if you have pthread_detach function */
  289. #define HAVE_PTHREAD_DETACH 1
  290. /* Define to 1 if you have the `pthread_getconcurrency' function. */
  291. #define HAVE_PTHREAD_GETCONCURRENCY 1
  292. /* Define to 1 if you have the <pthread.h> header file. */
  293. #define HAVE_PTHREAD_H 1
  294. /* Define to 1 if you have the `pthread_kill' function. */
  295. #define HAVE_PTHREAD_KILL 1
  296. /* Define to 1 if you have the `pthread_kill_other_threads_np' function. */
  297. /* #undef HAVE_PTHREAD_KILL_OTHER_THREADS_NP */
  298. /* define if you have pthread_rwlock_destroy function */
  299. #define HAVE_PTHREAD_RWLOCK_DESTROY 1
  300. /* Define to 1 if you have the `pthread_setconcurrency' function. */
  301. #define HAVE_PTHREAD_SETCONCURRENCY 1
  302. /* Define to 1 if you have the `pthread_yield' function. */
  303. /* #undef HAVE_PTHREAD_YIELD */
  304. /* Define to 1 if you have the <pth.h> header file. */
  305. /* #undef HAVE_PTH_H */
  306. /* Define to 1 if the system has the type `ptrdiff_t'. */
  307. #define HAVE_PTRDIFF_T 1
  308. /* Define to 1 if you have the <pwd.h> header file. */
  309. #define HAVE_PWD_H 1
  310. /* Define to 1 if you have the `read' function. */
  311. #define HAVE_READ 1
  312. /* Define to 1 if you have the `recv' function. */
  313. #define HAVE_RECV 1
  314. /* Define to 1 if you have the `recvfrom' function. */
  315. #define HAVE_RECVFROM 1
  316. /* Define to 1 if you have the <regex.h> header file. */
  317. #define HAVE_REGEX_H 1
  318. /* Define to 1 if you have the <resolv.h> header file. */
  319. #define HAVE_RESOLV_H 1
  320. /* define if you have res_query() */
  321. #define HAVE_RES_QUERY 1
  322. /* Define to 1 if you have the <sasl.h> header file. */
  323. /* #undef HAVE_SASL_H */
  324. /* Define to 1 if you have the <sasl/sasl.h> header file. */
  325. #define HAVE_SASL_SASL_H 1
  326. /* define if your SASL library has sasl_version() */
  327. #define HAVE_SASL_VERSION 1
  328. /* Define to 1 if you have the <sched.h> header file. */
  329. #define HAVE_SCHED_H 1
  330. /* Define to 1 if you have the `sched_yield' function. */
  331. #define HAVE_SCHED_YIELD 1
  332. /* Define to 1 if you have the `send' function. */
  333. #define HAVE_SEND 1
  334. /* Define to 1 if you have the `sendmsg' function. */
  335. #define HAVE_SENDMSG 1
  336. /* Define to 1 if you have the `sendto' function. */
  337. #define HAVE_SENDTO 1
  338. /* Define to 1 if you have the `setegid' function. */
  339. #define HAVE_SETEGID 1
  340. /* Define to 1 if you have the `seteuid' function. */
  341. #define HAVE_SETEUID 1
  342. /* Define to 1 if you have the `setgid' function. */
  343. #define HAVE_SETGID 1
  344. /* Define to 1 if you have the `setpwfile' function. */
  345. /* #undef HAVE_SETPWFILE */
  346. /* Define to 1 if you have the `setsid' function. */
  347. #define HAVE_SETSID 1
  348. /* Define to 1 if you have the `setuid' function. */
  349. #define HAVE_SETUID 1
  350. /* Define to 1 if you have the <sgtty.h> header file. */
  351. #define HAVE_SGTTY_H 1
  352. /* Define to 1 if you have the <shadow.h> header file. */
  353. #define HAVE_SHADOW_H 1
  354. /* Define to 1 if you have the `sigaction' function. */
  355. #define HAVE_SIGACTION 1
  356. /* Define to 1 if you have the `signal' function. */
  357. #define HAVE_SIGNAL 1
  358. /* Define to 1 if you have the `sigset' function. */
  359. #define HAVE_SIGSET 1
  360. /* define if you have -lslp */
  361. /* #undef HAVE_SLP */
  362. /* Define to 1 if you have the <slp.h> header file. */
  363. /* #undef HAVE_SLP_H */
  364. /* Define to 1 if you have the `snprintf' function. */
  365. #define HAVE_SNPRINTF 1
  366. /* Define to 1 if you have the <sodium.h> header file. */
  367. #define HAVE_SODIUM_H 1
  368. /* if you have spawnlp() */
  369. /* #undef HAVE_SPAWNLP */
  370. /* Define to 1 if you have the <sqlext.h> header file. */
  371. /* #undef HAVE_SQLEXT_H */
  372. /* Define to 1 if you have the <sql.h> header file. */
  373. /* #undef HAVE_SQL_H */
  374. /* Define to 1 if you have the <stddef.h> header file. */
  375. #define HAVE_STDDEF_H 1
  376. /* Define to 1 if you have the <stdint.h> header file. */
  377. #define HAVE_STDINT_H 1
  378. /* Define to 1 if you have the <stdlib.h> header file. */
  379. #define HAVE_STDLIB_H 1
  380. /* Define to 1 if you have the `strdup' function. */
  381. #define HAVE_STRDUP 1
  382. /* Define to 1 if you have the `strerror' function. */
  383. #define HAVE_STRERROR 1
  384. /* Define to 1 if you have the `strerror_r' function. */
  385. #define HAVE_STRERROR_R 1
  386. /* Define to 1 if you have the `strftime' function. */
  387. #define HAVE_STRFTIME 1
  388. /* Define to 1 if you have the <strings.h> header file. */
  389. #define HAVE_STRINGS_H 1
  390. /* Define to 1 if you have the <string.h> header file. */
  391. #define HAVE_STRING_H 1
  392. /* Define to 1 if you have the `strpbrk' function. */
  393. #define HAVE_STRPBRK 1
  394. /* Define to 1 if you have the `strrchr' function. */
  395. #define HAVE_STRRCHR 1
  396. /* Define to 1 if you have the `strsep' function. */
  397. #define HAVE_STRSEP 1
  398. /* Define to 1 if you have the `strspn' function. */
  399. #define HAVE_STRSPN 1
  400. /* Define to 1 if you have the `strstr' function. */
  401. #define HAVE_STRSTR 1
  402. /* Define to 1 if you have the `strtol' function. */
  403. #define HAVE_STRTOL 1
  404. /* Define to 1 if you have the `strtoll' function. */
  405. #define HAVE_STRTOLL 1
  406. /* Define to 1 if you have the `strtoq' function. */
  407. #define HAVE_STRTOQ 1
  408. /* Define to 1 if you have the `strtoul' function. */
  409. #define HAVE_STRTOUL 1
  410. /* Define to 1 if you have the `strtoull' function. */
  411. #define HAVE_STRTOULL 1
  412. /* Define to 1 if you have the `strtouq' function. */
  413. #define HAVE_STRTOUQ 1
  414. /* Define to 1 if `msg_accrightslen' is a member of `struct msghdr'. */
  415. /* #undef HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTSLEN */
  416. /* Define to 1 if `msg_control' is a member of `struct msghdr'. */
  417. #define HAVE_STRUCT_MSGHDR_MSG_CONTROL 1
  418. /* Define to 1 if `pw_gecos' is a member of `struct passwd'. */
  419. #define HAVE_STRUCT_PASSWD_PW_GECOS 1
  420. /* Define to 1 if `pw_passwd' is a member of `struct passwd'. */
  421. #define HAVE_STRUCT_PASSWD_PW_PASSWD 1
  422. /* Define to 1 if `st_blksize' is a member of `struct stat'. */
  423. #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  424. /* Define to 1 if `st_fstype' is a member of `struct stat'. */
  425. /* #undef HAVE_STRUCT_STAT_ST_FSTYPE */
  426. /* define to 1 if st_fstype is char * */
  427. /* #undef HAVE_STRUCT_STAT_ST_FSTYPE_CHAR */
  428. /* define to 1 if st_fstype is int */
  429. /* #undef HAVE_STRUCT_STAT_ST_FSTYPE_INT */
  430. /* Define to 1 if `st_vfstype' is a member of `struct stat'. */
  431. /* #undef HAVE_STRUCT_STAT_ST_VFSTYPE */
  432. /* Define to 1 if you have the <synch.h> header file. */
  433. /* #undef HAVE_SYNCH_H */
  434. /* Define to 1 if you have the `sysconf' function. */
  435. #define HAVE_SYSCONF 1
  436. /* Define to 1 if you have the <sysexits.h> header file. */
  437. #define HAVE_SYSEXITS_H 1
  438. /* Define to 1 if you have the <syslog.h> header file. */
  439. #define HAVE_SYSLOG_H 1
  440. /* define if you have systemd */
  441. #define HAVE_SYSTEMD 1
  442. /* Define to 1 if you have the <systemd/sd-daemon.h> header file. */
  443. #define HAVE_SYSTEMD_SD_DAEMON_H 1
  444. /* Define to 1 if you have the <sys/devpoll.h> header file. */
  445. /* #undef HAVE_SYS_DEVPOLL_H */
  446. /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
  447. */
  448. /* #undef HAVE_SYS_DIR_H */
  449. /* Define to 1 if you have the <sys/epoll.h> header file. */
  450. #define HAVE_SYS_EPOLL_H 1
  451. /* define if you actually have sys_errlist in your libs */
  452. /* #undef HAVE_SYS_ERRLIST */
  453. /* Define to 1 if you have the <sys/errno.h> header file. */
  454. #define HAVE_SYS_ERRNO_H 1
  455. /* Define to 1 if you have the <sys/event.h> header file. */
  456. /* #undef HAVE_SYS_EVENT_H */
  457. /* Define to 1 if you have the <sys/file.h> header file. */
  458. #define HAVE_SYS_FILE_H 1
  459. /* Define to 1 if you have the <sys/filio.h> header file. */
  460. /* #undef HAVE_SYS_FILIO_H */
  461. /* Define to 1 if you have the <sys/fstyp.h> header file. */
  462. /* #undef HAVE_SYS_FSTYP_H */
  463. /* Define to 1 if you have the <sys/ioctl.h> header file. */
  464. #define HAVE_SYS_IOCTL_H 1
  465. /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
  466. */
  467. /* #undef HAVE_SYS_NDIR_H */
  468. /* Define to 1 if you have the <sys/param.h> header file. */
  469. #define HAVE_SYS_PARAM_H 1
  470. /* Define to 1 if you have the <sys/poll.h> header file. */
  471. #define HAVE_SYS_POLL_H 1
  472. /* Define to 1 if you have the <sys/privgrp.h> header file. */
  473. /* #undef HAVE_SYS_PRIVGRP_H */
  474. /* Define to 1 if you have the <sys/resource.h> header file. */
  475. #define HAVE_SYS_RESOURCE_H 1
  476. /* Define to 1 if you have the <sys/select.h> header file. */
  477. #define HAVE_SYS_SELECT_H 1
  478. /* Define to 1 if you have the <sys/socket.h> header file. */
  479. #define HAVE_SYS_SOCKET_H 1
  480. /* Define to 1 if you have the <sys/stat.h> header file. */
  481. #define HAVE_SYS_STAT_H 1
  482. /* Define to 1 if you have the <sys/syslog.h> header file. */
  483. #define HAVE_SYS_SYSLOG_H 1
  484. /* Define to 1 if you have the <sys/time.h> header file. */
  485. #define HAVE_SYS_TIME_H 1
  486. /* Define to 1 if you have the <sys/types.h> header file. */
  487. #define HAVE_SYS_TYPES_H 1
  488. /* Define to 1 if you have the <sys/ucred.h> header file. */
  489. /* #undef HAVE_SYS_UCRED_H */
  490. /* Define to 1 if you have the <sys/uio.h> header file. */
  491. #define HAVE_SYS_UIO_H 1
  492. /* Define to 1 if you have the <sys/un.h> header file. */
  493. #define HAVE_SYS_UN_H 1
  494. /* Define to 1 if you have the <sys/uuid.h> header file. */
  495. /* #undef HAVE_SYS_UUID_H */
  496. /* Define to 1 if you have the <sys/vmount.h> header file. */
  497. /* #undef HAVE_SYS_VMOUNT_H */
  498. /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
  499. #define HAVE_SYS_WAIT_H 1
  500. /* define if you have -lwrap */
  501. /* #undef HAVE_TCPD */
  502. /* Define to 1 if you have the <tcpd.h> header file. */
  503. /* #undef HAVE_TCPD_H */
  504. /* Define to 1 if you have the <termios.h> header file. */
  505. #define HAVE_TERMIOS_H 1
  506. /* if you have Solaris LWP (thr) package */
  507. /* #undef HAVE_THR */
  508. /* Define to 1 if you have the <thread.h> header file. */
  509. /* #undef HAVE_THREAD_H */
  510. /* Define to 1 if you have the `thr_getconcurrency' function. */
  511. /* #undef HAVE_THR_GETCONCURRENCY */
  512. /* Define to 1 if you have the `thr_setconcurrency' function. */
  513. /* #undef HAVE_THR_SETCONCURRENCY */
  514. /* Define to 1 if you have the `thr_yield' function. */
  515. /* #undef HAVE_THR_YIELD */
  516. /* define if you have TLS */
  517. #define HAVE_TLS 1
  518. /* Define to 1 if you have the <unistd.h> header file. */
  519. #define HAVE_UNISTD_H 1
  520. /* Define to 1 if you have the <utime.h> header file. */
  521. #define HAVE_UTIME_H 1
  522. /* define if you have uuid_generate() */
  523. /* #undef HAVE_UUID_GENERATE */
  524. /* define if you have uuid_to_str() */
  525. /* #undef HAVE_UUID_TO_STR */
  526. /* Define to 1 if you have the <uuid/uuid.h> header file. */
  527. /* #undef HAVE_UUID_UUID_H */
  528. /* Define to 1 if you have the `vprintf' function. */
  529. #define HAVE_VPRINTF 1
  530. /* Define to 1 if you have the `vsnprintf' function. */
  531. #define HAVE_VSNPRINTF 1
  532. /* Define to 1 if you have the `wait4' function. */
  533. #define HAVE_WAIT4 1
  534. /* Define to 1 if you have the `waitpid' function. */
  535. #define HAVE_WAITPID 1
  536. /* define if you have winsock */
  537. /* #undef HAVE_WINSOCK */
  538. /* define if you have winsock2 */
  539. /* #undef HAVE_WINSOCK2 */
  540. /* Define to 1 if you have the <winsock2.h> header file. */
  541. /* #undef HAVE_WINSOCK2_H */
  542. /* Define to 1 if you have the <winsock.h> header file. */
  543. /* #undef HAVE_WINSOCK_H */
  544. /* Define to 1 if you have the `write' function. */
  545. #define HAVE_WRITE 1
  546. /* define if select implicitly yields */
  547. #define HAVE_YIELDING_SELECT 1
  548. /* Define to 1 if you have the `_vsnprintf' function. */
  549. /* #undef HAVE__VSNPRINTF */
  550. /* define to 32-bit or greater integer type */
  551. #define LBER_INT_T int
  552. /* define to large integer type */
  553. #define LBER_LEN_T long
  554. /* define to socket descriptor type */
  555. #define LBER_SOCKET_T int
  556. /* define to large integer type */
  557. #define LBER_TAG_T long
  558. /* define to 1 if library is reentrant */
  559. #define LDAP_API_FEATURE_X_OPENLDAP_REENTRANT 1
  560. /* define to 1 if library is thread safe */
  561. #define LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE 1
  562. /* define to LDAP VENDOR VERSION */
  563. /* #undef LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS */
  564. /* define this to add debugging code */
  565. #define LDAP_DEBUG 1
  566. /* define if LDAP libs are dynamic */
  567. #define LDAP_LIBS_DYNAMIC 1
  568. /* define to support PF_INET6 */
  569. #define LDAP_PF_INET6 1
  570. /* define to support PF_LOCAL */
  571. #define LDAP_PF_LOCAL 1
  572. /* define this to add SLAPI code */
  573. /* #undef LDAP_SLAPI */
  574. /* define this to add syslog code */
  575. #define LDAP_SYSLOG 1
  576. /* Version */
  577. #define LDAP_VENDOR_VERSION 20606
  578. /* Major */
  579. #define LDAP_VENDOR_VERSION_MAJOR 2
  580. /* Minor */
  581. #define LDAP_VENDOR_VERSION_MINOR 6
  582. /* Patch */
  583. #define LDAP_VENDOR_VERSION_PATCH 6
  584. /* Define to the sub-directory where libtool stores uninstalled libraries. */
  585. #define LT_OBJDIR ".libs/"
  586. /* define if memcmp is not 8-bit clean or is otherwise broken */
  587. /* #undef NEED_MEMCMP_REPLACEMENT */
  588. /* define if you have (or want) no threads */
  589. /* #undef NO_THREADS */
  590. /* define to use the original debug style */
  591. /* #undef OLD_DEBUG */
  592. /* Package */
  593. #define OPENLDAP_PACKAGE "OpenLDAP"
  594. /* Version */
  595. #define OPENLDAP_VERSION "2.6.6"
  596. /* Define to the address where bug reports for this package should be sent. */
  597. #define PACKAGE_BUGREPORT ""
  598. /* Define to the full name of this package. */
  599. #define PACKAGE_NAME ""
  600. /* Define to the full name and version of this package. */
  601. #define PACKAGE_STRING ""
  602. /* Define to the one symbol short name of this package. */
  603. #define PACKAGE_TARNAME ""
  604. /* Define to the home page for this package. */
  605. #define PACKAGE_URL ""
  606. /* Define to the version of this package. */
  607. #define PACKAGE_VERSION ""
  608. /* define if sched_yield yields the entire process */
  609. /* #undef REPLACE_BROKEN_YIELD */
  610. /* Define to the type of arg 1 for `select'. */
  611. #define SELECT_TYPE_ARG1 int
  612. /* Define to the type of args 2, 3 and 4 for `select'. */
  613. #define SELECT_TYPE_ARG234 (fd_set *)
  614. /* Define to the type of arg 5 for `select'. */
  615. #define SELECT_TYPE_ARG5 (struct timeval *)
  616. /* The size of `int', as computed by sizeof. */
  617. #define SIZEOF_INT 4
  618. /* The size of `long', as computed by sizeof. */
  619. #define SIZEOF_LONG 8
  620. /* The size of `long long', as computed by sizeof. */
  621. #define SIZEOF_LONG_LONG 8
  622. /* The size of `short', as computed by sizeof. */
  623. #define SIZEOF_SHORT 2
  624. /* The size of `wchar_t', as computed by sizeof. */
  625. #define SIZEOF_WCHAR_T 4
  626. /* define to support per-object ACIs */
  627. /* #undef SLAPD_ACI_ENABLED */
  628. /* define to support LDAP Async Metadirectory backend */
  629. /* #undef SLAPD_ASYNCMETA */
  630. /* define to support cleartext passwords */
  631. #define SLAPD_CLEARTEXT 1
  632. /* define to support crypt(3) passwords */
  633. #define SLAPD_CRYPT 1
  634. /* define to support DNS SRV backend */
  635. /* #undef SLAPD_DNSSRV */
  636. /* define to support LDAP backend */
  637. /* #undef SLAPD_LDAP */
  638. /* define to support MDB backend */
  639. #define SLAPD_MDB SLAPD_MOD_STATIC
  640. /* define to support LDAP Metadirectory backend */
  641. /* #undef SLAPD_META */
  642. /* define to support modules */
  643. #define SLAPD_MODULES 1
  644. /* dynamically linked module */
  645. #define SLAPD_MOD_DYNAMIC 2
  646. /* statically linked module */
  647. #define SLAPD_MOD_STATIC 1
  648. /* define to support NULL backend */
  649. /* #undef SLAPD_NULL */
  650. /* define for In-Directory Access Logging overlay */
  651. #define SLAPD_OVER_ACCESSLOG SLAPD_MOD_STATIC
  652. /* define for Audit Logging overlay */
  653. #define SLAPD_OVER_AUDITLOG SLAPD_MOD_STATIC
  654. /* define for Automatic Certificate Authority overlay */
  655. #define SLAPD_OVER_AUTOCA SLAPD_MOD_STATIC
  656. /* define for Collect overlay */
  657. #define SLAPD_OVER_COLLECT SLAPD_MOD_STATIC
  658. /* define for Attribute Constraint overlay */
  659. #define SLAPD_OVER_CONSTRAINT SLAPD_MOD_STATIC
  660. /* define for Dynamic Directory Services overlay */
  661. #define SLAPD_OVER_DDS SLAPD_MOD_STATIC
  662. /* define for Dynamic Directory Services overlay */
  663. #define SLAPD_OVER_DEREF SLAPD_MOD_STATIC
  664. /* define for Dynamic Group overlay */
  665. #define SLAPD_OVER_DYNGROUP SLAPD_MOD_STATIC
  666. /* define for Dynamic List overlay */
  667. #define SLAPD_OVER_DYNLIST SLAPD_MOD_STATIC
  668. /* define for Home Directory Management overlay */
  669. #define SLAPD_OVER_HOMEDIR SLAPD_MOD_STATIC
  670. /* define for Reverse Group Membership overlay */
  671. #define SLAPD_OVER_MEMBEROF SLAPD_MOD_STATIC
  672. /* define for OTP 2-factor Authentication overlay */
  673. #define SLAPD_OVER_OTP SLAPD_MOD_STATIC
  674. /* define for Password Policy overlay */
  675. #define SLAPD_OVER_PPOLICY SLAPD_MOD_STATIC
  676. /* define for Proxy Cache overlay */
  677. #define SLAPD_OVER_PROXYCACHE SLAPD_MOD_STATIC
  678. /* define for Referential Integrity overlay */
  679. #define SLAPD_OVER_REFINT SLAPD_MOD_STATIC
  680. /* define for Deferred Authentication overlay */
  681. #define SLAPD_OVER_REMOTEAUTH SLAPD_MOD_STATIC
  682. /* define for Return Code overlay */
  683. #define SLAPD_OVER_RETCODE SLAPD_MOD_STATIC
  684. /* define for Rewrite/Remap overlay */
  685. #define SLAPD_OVER_RWM SLAPD_MOD_STATIC
  686. /* define for Sequential Modify overlay */
  687. #define SLAPD_OVER_SEQMOD SLAPD_MOD_STATIC
  688. /* define for ServerSideSort/VLV overlay */
  689. #define SLAPD_OVER_SSSVLV SLAPD_MOD_STATIC
  690. /* define for Syncrepl Provider overlay */
  691. #define SLAPD_OVER_SYNCPROV SLAPD_MOD_STATIC
  692. /* define for Translucent Proxy overlay */
  693. #define SLAPD_OVER_TRANSLUCENT SLAPD_MOD_STATIC
  694. /* define for Attribute Uniqueness overlay */
  695. #define SLAPD_OVER_UNIQUE SLAPD_MOD_STATIC
  696. /* define for Value Sorting overlay */
  697. #define SLAPD_OVER_VALSORT SLAPD_MOD_STATIC
  698. /* define to support PASSWD backend */
  699. /* #undef SLAPD_PASSWD */
  700. /* define to support PERL backend */
  701. /* #undef SLAPD_PERL */
  702. /* define for Argon2 Password hashing module */
  703. #define SLAPD_PWMOD_PW_ARGON2
  704. /* define to support relay backend */
  705. #define SLAPD_RELAY SLAPD_MOD_STATIC
  706. /* define to support reverse lookups */
  707. /* #undef SLAPD_RLOOKUPS */
  708. /* define to support SOCK backend */
  709. /* #undef SLAPD_SOCK */
  710. /* define to support SASL passwords */
  711. /* #undef SLAPD_SPASSWD */
  712. /* define to support SQL backend */
  713. /* #undef SLAPD_SQL */
  714. /* define to support WiredTiger backend */
  715. /* #undef SLAPD_WT */
  716. /* define to support run-time loadable ACL */
  717. /* #undef SLAP_DYNACL */
  718. /* Define to 1 if you have the ANSI C header files. */
  719. #define STDC_HEADERS 1
  720. /* Define to 1 if your <sys/time.h> declares `struct tm'. */
  721. /* #undef TM_IN_SYS_TIME */
  722. /* set to urandom device */
  723. #define URANDOM_DEVICE "/dev/urandom"
  724. /* define to use OpenSSL BIGNUM for MP */
  725. /* #undef USE_MP_BIGNUM */
  726. /* define to use GMP for MP */
  727. /* #undef USE_MP_GMP */
  728. /* define to use 'long' for MP */
  729. /* #undef USE_MP_LONG */
  730. /* define to use 'long long' for MP */
  731. #define USE_MP_LONG_LONG 1
  732. /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
  733. significant byte first (like Motorola and SPARC, unlike Intel). */
  734. #if defined AC_APPLE_UNIVERSAL_BUILD
  735. # if defined __BIG_ENDIAN__
  736. # define WORDS_BIGENDIAN 1
  737. # endif
  738. #else
  739. # ifndef WORDS_BIGENDIAN
  740. /* # undef WORDS_BIGENDIAN */
  741. # endif
  742. #endif
  743. /* Define to the type of arg 3 for `accept'. */
  744. #define ber_socklen_t socklen_t
  745. /* Define to `char *' if <sys/types.h> does not define. */
  746. /* #undef caddr_t */
  747. /* Define to empty if `const' does not conform to ANSI C. */
  748. /* #undef const */
  749. /* Define to `int' if <sys/types.h> doesn't define. */
  750. /* #undef gid_t */
  751. /* Define to `int' if <sys/types.h> does not define. */
  752. /* #undef mode_t */
  753. /* Define to `long' if <sys/types.h> does not define. */
  754. /* #undef off_t */
  755. /* Define to `int' if <sys/types.h> does not define. */
  756. /* #undef pid_t */
  757. /* Define to `int' if <signal.h> does not define. */
  758. /* #undef sig_atomic_t */
  759. /* Define to `unsigned' if <sys/types.h> does not define. */
  760. /* #undef size_t */
  761. /* define to snprintf routine */
  762. /* #undef snprintf */
  763. /* Define like ber_socklen_t if <sys/socket.h> does not define. */
  764. /* #undef socklen_t */
  765. /* Define to `signed int' if <sys/types.h> does not define. */
  766. /* #undef ssize_t */
  767. /* Define to `int' if <sys/types.h> doesn't define. */
  768. /* #undef uid_t */
  769. /* define as empty if volatile is not supported */
  770. /* #undef volatile */
  771. /* define to snprintf routine */
  772. /* #undef vsnprintf */
  773. /* begin of portable.h.post */
  774. #define RETSIGTYPE void
  775. #ifdef _WIN32
  776. /* don't suck in all of the win32 api */
  777. # define WIN32_LEAN_AND_MEAN 1
  778. #endif
  779. #ifndef LDAP_NEEDS_PROTOTYPES
  780. /* force LDAP_P to always include prototypes */
  781. #define LDAP_NEEDS_PROTOTYPES 1
  782. #endif
  783. #ifndef LDAP_REL_ENG
  784. #if (LDAP_VENDOR_VERSION == 000000) && !defined(LDAP_DEVEL)
  785. #define LDAP_DEVEL
  786. #endif
  787. #if defined(LDAP_DEVEL) && !defined(LDAP_TEST)
  788. #define LDAP_TEST
  789. #endif
  790. #endif
  791. #ifdef HAVE_STDDEF_H
  792. # include <stddef.h>
  793. #endif
  794. #ifdef HAVE_EBCDIC
  795. /* ASCII/EBCDIC converting replacements for stdio funcs
  796. * vsnprintf and snprintf are used too, but they are already
  797. * checked by the configure script
  798. */
  799. #define fputs ber_pvt_fputs
  800. #define fgets ber_pvt_fgets
  801. #define printf ber_pvt_printf
  802. #define fprintf ber_pvt_fprintf
  803. #define vfprintf ber_pvt_vfprintf
  804. #define vsprintf ber_pvt_vsprintf
  805. #endif
  806. #include "ac/fdset.h"
  807. #include "ldap_cdefs.h"
  808. #include "ldap_features.h"
  809. #include "ac/assert.h"
  810. #include "ac/localize.h"
  811. #endif /* _LDAP_PORTABLE_H */
  812. /* end of portable.h.post */