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