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-2009 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 if building universal (internal helper macro) */ 53 /* #undef AC_APPLE_UNIVERSAL_BUILD */ 54 55 /* define to use both <string.h> and <strings.h> */ 56 /* #undef BOTH_STRINGS_H */ 57 58 /* define if cross compiling */ 59 /* #undef CROSS_COMPILING */ 60 61 /* set to the number of arguments ctime_r() expects */ 62 #define CTIME_R_NARGS 2 63 64 /* define if toupper() requires islower() */ 65 /* #undef C_UPPER_LOWER */ 66 67 /* define if sys_errlist is not declared in stdio.h or errno.h */ 68 /* #undef DECL_SYS_ERRLIST */ 69 70 /* define to enable rewriting in back-ldap and back-meta */ 71 /* #undef ENABLE_REWRITE */ 72 73 /* define to enable slapi library */ 74 /* #undef ENABLE_SLAPI */ 75 76 /* defined to be the EXE extension */ 77 #define EXEEXT "" 78 79 /* set to the number of arguments gethostbyaddr_r() expects */ 80 /* #undef GETHOSTBYADDR_R_NARGS */ 81 82 /* set to the number of arguments gethostbyname_r() expects */ 83 /* #undef GETHOSTBYNAME_R_NARGS */ 84 85 /* Define to 1 if `TIOCGWINSZ' requires <sys/ioctl.h>. */ 86 /* #undef GWINSZ_IN_SYS_IOCTL */ 87 88 /* define if you have AIX security lib */ 89 /* #undef HAVE_AIX_SECURITY */ 90 91 /* Define to 1 if you have the <arpa/inet.h> header file. */ 92 #define HAVE_ARPA_INET_H 1 93 94 /* Define to 1 if you have the <arpa/nameser.h> header file. */ 95 #define HAVE_ARPA_NAMESER_H 1 96 97 /* Define to 1 if you have the <assert.h> header file. */ 98 #define HAVE_ASSERT_H 1 99 100 /* Define to 1 if you have the `bcopy' function. */ 101 #define HAVE_BCOPY 1 102 103 /* define this if Berkeley DB is available */ 104 /* #undef HAVE_BERKELEY_DB */ 105 106 /* define if Berkeley DB has DB_THREAD support */ 107 /* #undef HAVE_BERKELEY_DB_THREAD */ 108 109 /* Define to 1 if you have the <bits/types.h> header file. */ 110 /* #undef HAVE_BITS_TYPES_H */ 111 112 /* Define to 1 if you have the `chroot' function. */ 113 #define HAVE_CHROOT 1 114 115 /* Define to 1 if you have the `closesocket' function. */ 116 /* #undef HAVE_CLOSESOCKET */ 117 118 /* Define to 1 if you have the <conio.h> header file. */ 119 /* #undef HAVE_CONIO_H */ 120 121 /* define if crypt(3) is available */ 122 /* #undef HAVE_CRYPT */ 123 124 /* Define to 1 if you have the <crypt.h> header file. */ 125 /* #undef HAVE_CRYPT_H */ 126 127 /* Define to 1 if you have the <cthreads.h> header file. */ 128 /* #undef HAVE_CTHREADS_H */ 129 130 /* Define to 1 if you have the `ctime_r' function. */ 131 #define HAVE_CTIME_R 1 132 133 /* define if you have Cyrus SASL */ 134 /* #undef HAVE_CYRUS_SASL */ 135 136 /* Define to 1 if you have the <db.h> header file. */ 137 /* #undef HAVE_DB_H */ 138 139 /* define if your system supports /dev/poll */ 140 /* #undef HAVE_DEVPOLL */ 141 142 /* Define to 1 if you have the <direct.h> header file. */ 143 /* #undef HAVE_DIRECT_H */ 144 145 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. 146 */ 147 #define HAVE_DIRENT_H 1 148 149 /* Define to 1 if you have the <dlfcn.h> header file. */ 150 #define HAVE_DLFCN_H 1 151 152 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ 153 /* #undef HAVE_DOPRNT */ 154 155 /* define if system uses EBCDIC instead of ASCII */ 156 /* #undef HAVE_EBCDIC */ 157 158 /* Define to 1 if you have the `endgrent' function. */ 159 #define HAVE_ENDGRENT 1 160 161 /* Define to 1 if you have the `endpwent' function. */ 162 #define HAVE_ENDPWENT 1 163 164 /* define if your system supports epoll */ 165 /* #undef HAVE_EPOLL */ 166 167 /* Define to 1 if you have the <errno.h> header file. */ 168 #define HAVE_ERRNO_H 1 169 170 /* Define to 1 if you have the `fcntl' function. */ 171 #define HAVE_FCNTL 1 172 173 /* Define to 1 if you have the <fcntl.h> header file. */ 174 #define HAVE_FCNTL_H 1 175 176 #if 0 /* NETBSD: API incompatible */ 177 /* define if you actually have FreeBSD fetch(3) */ 178 #define HAVE_FETCH 1 179 #endif 180 181 /* Define to 1 if you have the <filio.h> header file. */ 182 /* #undef HAVE_FILIO_H */ 183 184 /* Define to 1 if you have the `flock' function. */ 185 #define HAVE_FLOCK 1 186 187 /* Define to 1 if you have the `fstat' function. */ 188 #define HAVE_FSTAT 1 189 190 /* Define to 1 if you have the `gai_strerror' function. */ 191 #define HAVE_GAI_STRERROR 1 192 193 /* Define to 1 if you have the `getaddrinfo' function. */ 194 #define HAVE_GETADDRINFO 1 195 196 /* Define to 1 if you have the `getdtablesize' function. */ 197 #define HAVE_GETDTABLESIZE 1 198 199 /* Define to 1 if you have the `geteuid' function. */ 200 #define HAVE_GETEUID 1 201 202 /* Define to 1 if you have the `getgrgid' function. */ 203 #define HAVE_GETGRGID 1 204 205 /* Define to 1 if you have the `gethostbyaddr_r' function. */ 206 /* #undef HAVE_GETHOSTBYADDR_R */ 207 208 /* Define to 1 if you have the `gethostbyname_r' function. */ 209 /* #undef HAVE_GETHOSTBYNAME_R */ 210 211 /* Define to 1 if you have the `gethostname' function. */ 212 #define HAVE_GETHOSTNAME 1 213 214 /* Define to 1 if you have the `getnameinfo' function. */ 215 #define HAVE_GETNAMEINFO 1 216 217 /* Define to 1 if you have the `getopt' function. */ 218 #define HAVE_GETOPT 1 219 220 /* Define to 1 if you have the <getopt.h> header file. */ 221 #define HAVE_GETOPT_H 1 222 223 /* Define to 1 if you have the `getpassphrase' function. */ 224 /* #undef HAVE_GETPASSPHRASE */ 225 226 /* Define to 1 if you have the `getpeereid' function. */ 227 #define HAVE_GETPEEREID 1 228 229 /* Define to 1 if you have the `getpeerucred' function. */ 230 /* #undef HAVE_GETPEERUCRED */ 231 232 /* Define to 1 if you have the `getpwnam' function. */ 233 #define HAVE_GETPWNAM 1 234 235 /* Define to 1 if you have the `getpwuid' function. */ 236 #define HAVE_GETPWUID 1 237 238 /* Define to 1 if you have the `getspnam' function. */ 239 /* #undef HAVE_GETSPNAM */ 240 241 /* Define to 1 if you have the `gettimeofday' function. */ 242 #define HAVE_GETTIMEOFDAY 1 243 244 /* Define to 1 if you have the <gmp.h> header file. */ 245 /* #undef HAVE_GMP_H */ 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 `lockf' function. */ 326 #define HAVE_LOCKF 1 327 328 /* Define to 1 if the system has the type `long long'. */ 329 #define HAVE_LONG_LONG 1 330 331 /* Define to 1 if you have the <ltdl.h> header file. */ 332 /* #undef HAVE_LTDL_H */ 333 334 /* if you have SunOS LWP package */ 335 /* #undef HAVE_LWP */ 336 337 /* Define to 1 if you have the <lwp/lwp.h> header file. */ 338 /* #undef HAVE_LWP_LWP_H */ 339 340 /* define if you have Mach Cthreads */ 341 /* #undef HAVE_MACH_CTHREADS */ 342 343 /* Define to 1 if you have the <mach/cthreads.h> header file. */ 344 /* #undef HAVE_MACH_CTHREADS_H */ 345 346 /* Define to 1 if you have the <malloc.h> header file. */ 347 #define HAVE_MALLOC_H 1 348 349 /* Define to 1 if you have the `memcpy' function. */ 350 #define HAVE_MEMCPY 1 351 352 /* Define to 1 if you have the `memmove' function. */ 353 #define HAVE_MEMMOVE 1 354 355 /* Define to 1 if you have the <memory.h> header file. */ 356 #define HAVE_MEMORY_H 1 357 358 /* Define to 1 if you have the `memrchr' function. */ 359 #define HAVE_MEMRCHR 1 360 361 /* Define to 1 if you have the `mkstemp' function. */ 362 #define HAVE_MKSTEMP 1 363 364 /* Define to 1 if you have the `mktemp' function. */ 365 #define HAVE_MKTEMP 1 366 367 /* define this if you have mkversion */ 368 #define HAVE_MKVERSION 1 369 370 /* define if you have MozNSS */ 371 /* #undef HAVE_MOZNSS */ 372 373 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */ 374 /* #undef HAVE_NDIR_H */ 375 376 /* Define to 1 if you have the <netinet/tcp.h> header file. */ 377 #define HAVE_NETINET_TCP_H 1 378 379 /* define if strerror_r returns char* instead of int */ 380 /* #undef HAVE_NONPOSIX_STRERROR_R */ 381 382 /* Define to 1 if you have the <nssutil.h> header file. */ 383 /* #undef HAVE_NSSUTIL_H */ 384 385 /* if you have NT Event Log */ 386 /* #undef HAVE_NT_EVENT_LOG */ 387 388 /* if you have NT Service Manager */ 389 /* #undef HAVE_NT_SERVICE_MANAGER */ 390 391 /* if you have NT Threads */ 392 /* #undef HAVE_NT_THREADS */ 393 394 /* define if you have OpenSSL */ 395 #define HAVE_OPENSSL 1 396 397 /* Define to 1 if you have the <openssl/bn.h> header file. */ 398 /* #undef HAVE_OPENSSL_BN_H */ 399 400 /* define if you have OpenSSL with CRL checking capability */ 401 #define HAVE_OPENSSL_CRL 1 402 403 /* Define to 1 if you have the <openssl/crypto.h> header file. */ 404 /* #undef HAVE_OPENSSL_CRYPTO_H */ 405 406 /* Define to 1 if you have the <openssl/ssl.h> header file. */ 407 #define HAVE_OPENSSL_SSL_H 1 408 409 /* Define to 1 if you have the `pipe' function. */ 410 #define HAVE_PIPE 1 411 412 /* Define to 1 if you have the `poll' function. */ 413 #define HAVE_POLL 1 414 415 /* Define to 1 if you have the <poll.h> header file. */ 416 #define HAVE_POLL_H 1 417 418 /* Define to 1 if you have the <process.h> header file. */ 419 /* #undef HAVE_PROCESS_H */ 420 421 /* Define to 1 if you have the <psap.h> header file. */ 422 /* #undef HAVE_PSAP_H */ 423 424 /* define to pthreads API spec revision */ 425 #define HAVE_PTHREADS 10 426 427 /* define if you have pthread_detach function */ 428 #define HAVE_PTHREAD_DETACH 1 429 430 /* Define to 1 if you have the `pthread_getconcurrency' function. */ 431 /* #undef HAVE_PTHREAD_GETCONCURRENCY */ 432 433 /* Define to 1 if you have the <pthread.h> header file. */ 434 #define HAVE_PTHREAD_H 1 435 436 /* Define to 1 if you have the `pthread_kill' function. */ 437 #define HAVE_PTHREAD_KILL 1 438 439 /* Define to 1 if you have the `pthread_kill_other_threads_np' function. */ 440 /* #undef HAVE_PTHREAD_KILL_OTHER_THREADS_NP */ 441 442 /* define if you have pthread_rwlock_destroy function */ 443 #define HAVE_PTHREAD_RWLOCK_DESTROY 1 444 445 /* Define to 1 if you have the `pthread_setconcurrency' function. */ 446 /* #undef HAVE_PTHREAD_SETCONCURRENCY */ 447 448 /* Define to 1 if you have the `pthread_yield' function. */ 449 /* #undef HAVE_PTHREAD_YIELD */ 450 451 /* Define to 1 if you have the <pth.h> header file. */ 452 /* #undef HAVE_PTH_H */ 453 454 /* Define to 1 if the system has the type `ptrdiff_t'. */ 455 #define HAVE_PTRDIFF_T 1 456 457 /* Define to 1 if you have the <pwd.h> header file. */ 458 #define HAVE_PWD_H 1 459 460 /* Define to 1 if you have the `read' function. */ 461 #define HAVE_READ 1 462 463 /* Define to 1 if you have the `recv' function. */ 464 #define HAVE_RECV 1 465 466 /* Define to 1 if you have the `recvfrom' function. */ 467 #define HAVE_RECVFROM 1 468 469 /* Define to 1 if you have the <regex.h> header file. */ 470 #define HAVE_REGEX_H 1 471 472 /* Define to 1 if you have the <resolv.h> header file. */ 473 #define HAVE_RESOLV_H 1 474 475 /* define if you have res_query() */ 476 #define HAVE_RES_QUERY 1 477 478 /* define if OpenSSL needs RSAref */ 479 /* #undef HAVE_RSAREF */ 480 481 /* Define to 1 if you have the <sasl.h> header file. */ 482 /* #undef HAVE_SASL_H */ 483 484 /* Define to 1 if you have the <sasl/sasl.h> header file. */ 485 /* #undef HAVE_SASL_SASL_H */ 486 487 /* define if your SASL library has sasl_version() */ 488 /* #undef HAVE_SASL_VERSION */ 489 490 /* Define to 1 if you have the <sched.h> header file. */ 491 #define HAVE_SCHED_H 1 492 493 /* Define to 1 if you have the `sched_yield' function. */ 494 #define HAVE_SCHED_YIELD 1 495 496 /* Define to 1 if you have the `send' function. */ 497 #define HAVE_SEND 1 498 499 /* Define to 1 if you have the `sendmsg' function. */ 500 #define HAVE_SENDMSG 1 501 502 /* Define to 1 if you have the `sendto' function. */ 503 #define HAVE_SENDTO 1 504 505 /* Define to 1 if you have the `setegid' function. */ 506 #define HAVE_SETEGID 1 507 508 /* Define to 1 if you have the `seteuid' function. */ 509 #define HAVE_SETEUID 1 510 511 /* Define to 1 if you have the `setgid' function. */ 512 #define HAVE_SETGID 1 513 514 /* define if setproctitle(3) is available */ 515 #define HAVE_SETPROCTITLE 1 516 517 /* Define to 1 if you have the `setpwfile' function. */ 518 /* #undef HAVE_SETPWFILE */ 519 520 /* Define to 1 if you have the `setsid' function. */ 521 #define HAVE_SETSID 1 522 523 /* Define to 1 if you have the `setuid' function. */ 524 #define HAVE_SETUID 1 525 526 /* Define to 1 if you have the <sgtty.h> header file. */ 527 #define HAVE_SGTTY_H 1 528 529 /* Define to 1 if you have the <shadow.h> header file. */ 530 /* #undef HAVE_SHADOW_H */ 531 532 /* Define to 1 if you have the `sigaction' function. */ 533 #define HAVE_SIGACTION 1 534 535 /* Define to 1 if you have the `signal' function. */ 536 #define HAVE_SIGNAL 1 537 538 /* Define to 1 if you have the `sigset' function. */ 539 #define HAVE_SIGSET 1 540 541 /* define if you have -lslp */ 542 /* #undef HAVE_SLP */ 543 544 /* Define to 1 if you have the <slp.h> header file. */ 545 /* #undef HAVE_SLP_H */ 546 547 /* Define to 1 if you have the `snprintf' function. */ 548 #define HAVE_SNPRINTF 1 549 550 /* if you have spawnlp() */ 551 /* #undef HAVE_SPAWNLP */ 552 553 /* Define to 1 if you have the <sqlext.h> header file. */ 554 /* #undef HAVE_SQLEXT_H */ 555 556 /* Define to 1 if you have the <sql.h> header file. */ 557 /* #undef HAVE_SQL_H */ 558 559 /* Define to 1 if you have the <stddef.h> header file. */ 560 #define HAVE_STDDEF_H 1 561 562 /* Define to 1 if you have the <stdint.h> header file. */ 563 #define HAVE_STDINT_H 1 564 565 /* Define to 1 if you have the <stdlib.h> header file. */ 566 #define HAVE_STDLIB_H 1 567 568 /* Define to 1 if you have the `strdup' function. */ 569 #define HAVE_STRDUP 1 570 571 /* Define to 1 if you have the `strerror' function. */ 572 #define HAVE_STRERROR 1 573 574 /* Define to 1 if you have the `strerror_r' function. */ 575 #define HAVE_STRERROR_R 1 576 577 /* Define to 1 if you have the `strftime' function. */ 578 #define HAVE_STRFTIME 1 579 580 /* Define to 1 if you have the <strings.h> header file. */ 581 #define HAVE_STRINGS_H 1 582 583 /* Define to 1 if you have the <string.h> header file. */ 584 #define HAVE_STRING_H 1 585 586 /* Define to 1 if you have the `strpbrk' function. */ 587 #define HAVE_STRPBRK 1 588 589 /* Define to 1 if you have the `strrchr' function. */ 590 #define HAVE_STRRCHR 1 591 592 /* Define to 1 if you have the `strsep' function. */ 593 #define HAVE_STRSEP 1 594 595 /* Define to 1 if you have the `strspn' function. */ 596 #define HAVE_STRSPN 1 597 598 /* Define to 1 if you have the `strstr' function. */ 599 #define HAVE_STRSTR 1 600 601 /* Define to 1 if you have the `strtol' function. */ 602 #define HAVE_STRTOL 1 603 604 /* Define to 1 if you have the `strtoll' function. */ 605 #define HAVE_STRTOLL 1 606 607 /* Define to 1 if you have the `strtoq' function. */ 608 #define HAVE_STRTOQ 1 609 610 /* Define to 1 if you have the `strtoul' function. */ 611 #define HAVE_STRTOUL 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 20421 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 21 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.21" 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 4 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 LDAP Metadirectory backend */ 951 /* #undef SLAPD_META */ 952 953 /* define to support modules */ 954 /* #undef SLAPD_MODULES */ 955 956 /* dynamically linked module */ 957 #define SLAPD_MOD_DYNAMIC 2 958 959 /* statically linked module */ 960 #define SLAPD_MOD_STATIC 1 961 962 /* define to support cn=Monitor backend */ 963 /* #undef SLAPD_MONITOR */ 964 965 /* define to support NDB backend */ 966 /* #undef SLAPD_NDB */ 967 968 /* define to support NULL backend */ 969 /* #undef SLAPD_NULL */ 970 971 /* define for In-Directory Access Logging overlay */ 972 /* #undef SLAPD_OVER_ACCESSLOG */ 973 974 /* define for Audit Logging overlay */ 975 /* #undef SLAPD_OVER_AUDITLOG */ 976 977 /* define for Collect overlay */ 978 /* #undef SLAPD_OVER_COLLECT */ 979 980 /* define for Attribute Constraint overlay */ 981 /* #undef SLAPD_OVER_CONSTRAINT */ 982 983 /* define for Dynamic Directory Services overlay */ 984 /* #undef SLAPD_OVER_DDS */ 985 986 /* define for Dynamic Directory Services overlay */ 987 /* #undef SLAPD_OVER_DEREF */ 988 989 /* define for Dynamic Group overlay */ 990 /* #undef SLAPD_OVER_DYNGROUP */ 991 992 /* define for Dynamic List overlay */ 993 /* #undef SLAPD_OVER_DYNLIST */ 994 995 /* define for Reverse Group Membership overlay */ 996 /* #undef SLAPD_OVER_MEMBEROF */ 997 998 /* define for Password Policy overlay */ 999 /* #undef SLAPD_OVER_PPOLICY */ 1000 1001 /* define for Proxy Cache overlay */ 1002 /* #undef SLAPD_OVER_PROXYCACHE */ 1003 1004 /* define for Referential Integrity overlay */ 1005 /* #undef SLAPD_OVER_REFINT */ 1006 1007 /* define for Referential Integrity overlay */ 1008 /* #undef SLAPD_OVER_RETCODE */ 1009 1010 /* define for Rewrite/Remap overlay */ 1011 /* #undef SLAPD_OVER_RWM */ 1012 1013 /* define for Sequential Modify overlay */ 1014 /* #undef SLAPD_OVER_SEQMOD */ 1015 1016 /* define for ServerSideSort/VLV overlay */ 1017 /* #undef SLAPD_OVER_SSSVLV */ 1018 1019 /* define for Syncrepl Provider overlay */ 1020 /* #undef SLAPD_OVER_SYNCPROV */ 1021 1022 /* define for Translucent Proxy overlay */ 1023 /* #undef SLAPD_OVER_TRANSLUCENT */ 1024 1025 /* define for Attribute Uniqueness overlay */ 1026 /* #undef SLAPD_OVER_UNIQUE */ 1027 1028 /* define for Value Sorting overlay */ 1029 /* #undef SLAPD_OVER_VALSORT */ 1030 1031 /* define to support PASSWD backend */ 1032 /* #undef SLAPD_PASSWD */ 1033 1034 /* define to support PERL backend */ 1035 /* #undef SLAPD_PERL */ 1036 1037 /* define to support relay backend */ 1038 /* #undef SLAPD_RELAY */ 1039 1040 /* define to support reverse lookups */ 1041 /* #undef SLAPD_RLOOKUPS */ 1042 1043 /* define to support SHELL backend */ 1044 /* #undef SLAPD_SHELL */ 1045 1046 /* define to support SOCK backend */ 1047 /* #undef SLAPD_SOCK */ 1048 1049 /* define to support SASL passwords */ 1050 /* #undef SLAPD_SPASSWD */ 1051 1052 /* define to support SQL backend */ 1053 /* #undef SLAPD_SQL */ 1054 1055 /* define to support run-time loadable ACL */ 1056 /* #undef SLAP_DYNACL */ 1057 1058 /* Define to 1 if you have the ANSI C header files. */ 1059 #define STDC_HEADERS 1 1060 1061 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 1062 #define TIME_WITH_SYS_TIME 1 1063 1064 /* Define to 1 if your <sys/time.h> declares `struct tm'. */ 1065 /* #undef TM_IN_SYS_TIME */ 1066 1067 /* set to urandom device */ 1068 #define URANDOM_DEVICE "/dev/urandom" 1069 1070 /* define to use OpenSSL BIGNUM for MP */ 1071 /* #undef USE_MP_BIGNUM */ 1072 1073 /* define to use GMP for MP */ 1074 /* #undef USE_MP_GMP */ 1075 1076 /* define to use 'long' for MP */ 1077 /* #undef USE_MP_LONG */ 1078 1079 /* define to use 'long long' for MP */ 1080 #define USE_MP_LONG_LONG 1 1081 1082 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most 1083 significant byte first (like Motorola and SPARC, unlike Intel). */ 1084 #if defined AC_APPLE_UNIVERSAL_BUILD 1085 # if defined __BIG_ENDIAN__ 1086 # define WORDS_BIGENDIAN 1 1087 # endif 1088 #else 1089 # ifndef WORDS_BIGENDIAN 1090 /* # undef WORDS_BIGENDIAN */ 1091 # endif 1092 #endif 1093 1094 /* Define to the type of arg 3 for `accept'. */ 1095 #define ber_socklen_t socklen_t 1096 1097 /* Define to `char *' if <sys/types.h> does not define. */ 1098 /* #undef caddr_t */ 1099 1100 /* Define to empty if `const' does not conform to ANSI C. */ 1101 /* #undef const */ 1102 1103 /* Define to `int' if <sys/types.h> doesn't define. */ 1104 /* #undef gid_t */ 1105 1106 /* Define to `int' if <sys/types.h> does not define. */ 1107 /* #undef mode_t */ 1108 1109 /* Define to `long' if <sys/types.h> does not define. */ 1110 /* #undef off_t */ 1111 1112 /* Define to `int' if <sys/types.h> does not define. */ 1113 /* #undef pid_t */ 1114 1115 /* Define to `int' if <signal.h> does not define. */ 1116 /* #undef sig_atomic_t */ 1117 1118 /* Define to `unsigned' if <sys/types.h> does not define. */ 1119 /* #undef size_t */ 1120 1121 /* define to snprintf routine */ 1122 #define snprintf _snprintf 1123 1124 /* Define like ber_socklen_t if <sys/socket.h> does not define. */ 1125 /* #undef socklen_t */ 1126 1127 /* Define to `signed int' if <sys/types.h> does not define. */ 1128 /* #undef ssize_t */ 1129 1130 /* Define to `int' if <sys/types.h> doesn't define. */ 1131 /* #undef uid_t */ 1132 1133 /* define as empty if volatile is not supported */ 1134 /* #undef volatile */ 1135 1136 /* define to snprintf routine */ 1137 /* #undef vsnprintf */ 1138 1139 1140 /* begin of portable.h.post */ 1141 1142 #ifdef _WIN32 1143 /* don't suck in all of the win32 api */ 1144 # define WIN32_LEAN_AND_MEAN 1 1145 #endif 1146 1147 #ifndef LDAP_NEEDS_PROTOTYPES 1148 /* force LDAP_P to always include prototypes */ 1149 #define LDAP_NEEDS_PROTOTYPES 1 1150 #endif 1151 1152 #ifndef LDAP_REL_ENG 1153 #if (LDAP_VENDOR_VERSION == 000000) && !defined(LDAP_DEVEL) 1154 #define LDAP_DEVEL 1155 #endif 1156 #if defined(LDAP_DEVEL) && !defined(LDAP_TEST) 1157 #define LDAP_TEST 1158 #endif 1159 #endif 1160 1161 #ifdef HAVE_STDDEF_H 1162 # include <stddef.h> 1163 #endif 1164 1165 #ifdef HAVE_EBCDIC 1166 /* ASCII/EBCDIC converting replacements for stdio funcs 1167 * vsnprintf and snprintf are used too, but they are already 1168 * checked by the configure script 1169 */ 1170 #define fputs ber_pvt_fputs 1171 #define fgets ber_pvt_fgets 1172 #define printf ber_pvt_printf 1173 #define fprintf ber_pvt_fprintf 1174 #define vfprintf ber_pvt_vfprintf 1175 #define vsprintf ber_pvt_vsprintf 1176 #endif 1177 1178 #include "ac/fdset.h" 1179 1180 #include "ldap_cdefs.h" 1181 #include "ldap_features.h" 1182 1183 #include "ac/assert.h" 1184 #include "ac/localize.h" 1185 1186 #endif /* _LDAP_PORTABLE_H */ 1187 /* end of portable.h.post */ 1188 1189