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