config.h revision 90931
1/* include/config.h. Generated automatically by configure. */ 2/* include/config.h.in. Generated automatically from configure.in by autoheader. */ 3 4/* $FreeBSD: head/kerberos5/include/config.h 90931 2002-02-19 15:53:33Z nectar $ */ 5 6#ifndef RCSID 7#define RCSID(msg) static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg } 8#endif 9 10#define BINDIR "/usr/bin" 11#define LIBDIR "/usr/lib" 12#define LIBEXECDIR "/usr/libexec" 13#define SBINDIR "/usr/sbin" 14 15#define HAVE_INT8_T 1 16#define HAVE_INT16_T 1 17#define HAVE_INT32_T 1 18#define HAVE_INT64_T 1 19#define HAVE_U_INT8_T 1 20#define HAVE_U_INT16_T 1 21#define HAVE_U_INT32_T 1 22#define HAVE_U_INT64_T 1 23 24/* Maximum values on all known systems */ 25#define MaxHostNameLen (64+4) 26#define MaxPathLen (1024+4) 27 28 29 30/* Define if you want authentication support in telnet. */ 31#define AUTHENTICATION 1 32 33/* Define if realloc(NULL) doesn't work. */ 34/* #undef BROKEN_REALLOC */ 35 36/* Define if you want support for DCE/DFS PAG's. */ 37/* #undef DCE */ 38 39/* Define if you want to use DES encryption in telnet. */ 40#define DES_ENCRYPTION 1 41 42/* Define this to enable diagnostics in telnet. */ 43#define DIAGNOSTICS 1 44 45/* Define if you want encryption support in telnet. */ 46#define ENCRYPTION 1 47 48/* define if sys/param.h defines the endiness */ 49#define ENDIANESS_IN_SYS_PARAM_H 1 50 51/* Define this if you want support for broken ENV_{VAR,VAL} telnets. */ 52/* #undef ENV_HACK */ 53 54/* define if prototype of gethostbyaddr is compatible with struct hostent 55 *gethostbyaddr(const void *, size_t, int) */ 56/* #undef GETHOSTBYADDR_PROTO_COMPATIBLE */ 57 58/* define if prototype of gethostbyname is compatible with struct hostent 59 *gethostbyname(const char *) */ 60#define GETHOSTBYNAME_PROTO_COMPATIBLE 1 61 62/* define if prototype of getservbyname is compatible with struct servent 63 *getservbyname(const char *, const char *) */ 64#define GETSERVBYNAME_PROTO_COMPATIBLE 1 65 66/* define if prototype of getsockname is compatible with int getsockname(int, 67 struct sockaddr*, socklen_t*) */ 68#define GETSOCKNAME_PROTO_COMPATIBLE 1 69 70/* Define if you have the <arpa/ftp.h> header file. */ 71#define HAVE_ARPA_FTP_H 1 72 73/* Define if you have the <arpa/inet.h> header file. */ 74#define HAVE_ARPA_INET_H 1 75 76/* Define if you have the <arpa/nameser.h> header file. */ 77#define HAVE_ARPA_NAMESER_H 1 78 79/* Define if you have the <arpa/telnet.h> header file. */ 80#define HAVE_ARPA_TELNET_H 1 81 82/* Define if you have the `asnprintf' function. */ 83/* #undef HAVE_ASNPRINTF */ 84 85/* Define if you have the `asprintf' function. */ 86#define HAVE_ASPRINTF 1 87 88/* Define if you have the <bind/bitypes.h> header file. */ 89/* #undef HAVE_BIND_BITYPES_H */ 90 91/* Define if you have the <bsdsetjmp.h> header file. */ 92/* #undef HAVE_BSDSETJMP_H */ 93 94/* Define if you have the `bswap16' function. */ 95/* #undef HAVE_BSWAP16 */ 96 97/* Define if you have the `bswap32' function. */ 98/* #undef HAVE_BSWAP32 */ 99 100/* Define if you have the <capability.h> header file. */ 101/* #undef HAVE_CAPABILITY_H */ 102 103/* Define if you have the `cap_set_proc' function. */ 104#define HAVE_CAP_SET_PROC 1 105 106/* Define if you have the `cgetent' function. */ 107#define HAVE_CGETENT 1 108 109/* Define if you have the `chown' function. */ 110#define HAVE_CHOWN 1 111 112/* Define if you have the <config.h> header file. */ 113/* #undef HAVE_CONFIG_H */ 114 115/* Define if you have the `copyhostent' function. */ 116/* #undef HAVE_COPYHOSTENT */ 117 118/* Define if you have the `crypt' function. */ 119#define HAVE_CRYPT 1 120 121/* Define if you have the <crypt.h> header file. */ 122/* #undef HAVE_CRYPT_H */ 123 124/* Define if you have the <curses.h> header file. */ 125#define HAVE_CURSES_H 1 126 127/* Define if you have the `daemon' function. */ 128#define HAVE_DAEMON 1 129 130/* define if you have a berkeley db1/2 library */ 131#define HAVE_DB1 1 132 133/* define if you have a berkeley db3 library */ 134/* #undef HAVE_DB3 */ 135 136/* Define if you have the `dbm_firstkey' function. */ 137#define HAVE_DBM_FIRSTKEY 1 138 139/* Define if you have the <dbm.h> header file. */ 140/* #undef HAVE_DBM_H */ 141 142/* Define if you have the `dbopen' function. */ 143#define HAVE_DBOPEN 1 144 145/* Define if you have the <db_185.h> header file. */ 146/* #undef HAVE_DB_185_H */ 147 148/* Define if you have the `db_create' function. */ 149/* #undef HAVE_DB_CREATE */ 150 151/* Define if you have the <db.h> header file. */ 152#define HAVE_DB_H 1 153 154/* define if you have ndbm compat in db */ 155/* #undef HAVE_DB_NDBM */ 156 157/* Define if you have the <dirent.h> header file. */ 158#define HAVE_DIRENT_H 1 159 160/* Define if you have the <dlfcn.h> header file. */ 161#define HAVE_DLFCN_H 1 162 163/* Define if you have the `dlopen' function. */ 164#define HAVE_DLOPEN 1 165 166/* Define if you have the `dn_expand' function. */ 167#define HAVE_DN_EXPAND 1 168 169/* Define if you have the `ecalloc' function. */ 170/* #undef HAVE_ECALLOC */ 171 172/* Define if you have the `el_init' function. */ 173#define HAVE_EL_INIT 1 174 175/* Define if you have the `emalloc' function. */ 176/* #undef HAVE_EMALLOC */ 177 178/* define if your system declares environ */ 179/* #undef HAVE_ENVIRON_DECLARATION */ 180 181/* Define if you have the `erealloc' function. */ 182/* #undef HAVE_EREALLOC */ 183 184/* Define if you have the `err' function. */ 185#define HAVE_ERR 1 186 187/* Define if you have the <errno.h> header file. */ 188#define HAVE_ERRNO_H 1 189 190/* Define if you have the `errx' function. */ 191#define HAVE_ERRX 1 192 193/* Define if you have the <err.h> header file. */ 194#define HAVE_ERR_H 1 195 196/* Define if you have the `estrdup' function. */ 197/* #undef HAVE_ESTRDUP */ 198 199/* Define if you have the `fchown' function. */ 200#define HAVE_FCHOWN 1 201 202/* Define if you have the `fcntl' function. */ 203#define HAVE_FCNTL 1 204 205/* Define if you have the <fcntl.h> header file. */ 206#define HAVE_FCNTL_H 1 207 208/* Define if you have the `flock' function. */ 209#define HAVE_FLOCK 1 210 211/* Define if you have the `fnmatch' function. */ 212#define HAVE_FNMATCH 1 213 214/* Define if you have the <fnmatch.h> header file. */ 215#define HAVE_FNMATCH_H 1 216 217/* Define if el_init takes four arguments. */ 218#define HAVE_FOUR_VALUED_EL_INIT 1 219 220/* define if krb_put_int takes four arguments. */ 221#define HAVE_FOUR_VALUED_KRB_PUT_INT 1 222 223/* Define if you have the `freeaddrinfo' function. */ 224#define HAVE_FREEADDRINFO 1 225 226/* Define if you have the `freehostent' function. */ 227#define HAVE_FREEHOSTENT 1 228 229/* Define if you have the `gai_strerror' function. */ 230#define HAVE_GAI_STRERROR 1 231 232/* Define if you have the <gdbm/ndbm.h> header file. */ 233/* #undef HAVE_GDBM_NDBM_H */ 234 235/* Define if you have the `getaddrinfo' function. */ 236#define HAVE_GETADDRINFO 1 237 238/* Define if you have the `getconfattr' function. */ 239/* #undef HAVE_GETCONFATTR */ 240 241/* Define if you have the `getcwd' function. */ 242#define HAVE_GETCWD 1 243 244/* Define if you have the `getdtablesize' function. */ 245#define HAVE_GETDTABLESIZE 1 246 247/* Define if you have the `getegid' function. */ 248#define HAVE_GETEGID 1 249 250/* Define if you have the `geteuid' function. */ 251#define HAVE_GETEUID 1 252 253/* Define if you have the `getgid' function. */ 254#define HAVE_GETGID 1 255 256/* Define if you have the `gethostbyname' function. */ 257#define HAVE_GETHOSTBYNAME 1 258 259/* Define if you have the `gethostbyname2' function. */ 260#define HAVE_GETHOSTBYNAME2 1 261 262/* Define if you have the `gethostname' function. */ 263#define HAVE_GETHOSTNAME 1 264 265/* Define if you have the `getifaddrs' function. */ 266#define HAVE_GETIFADDRS 1 267 268/* Define if you have the `getipnodebyaddr' function. */ 269#define HAVE_GETIPNODEBYADDR 1 270 271/* Define if you have the `getipnodebyname' function. */ 272#define HAVE_GETIPNODEBYNAME 1 273 274/* Define if you have the `getlogin' function. */ 275#define HAVE_GETLOGIN 1 276 277/* Define if you have a working getmsg. */ 278/* #undef HAVE_GETMSG */ 279 280/* Define if you have the `getnameinfo' function. */ 281#define HAVE_GETNAMEINFO 1 282 283/* Define if you have the `getopt' function. */ 284#define HAVE_GETOPT 1 285 286/* Define if you have the `getprogname' function. */ 287#define HAVE_GETPROGNAME 1 288 289/* Define if you have the `getpwnam_r' function. */ 290/* #undef HAVE_GETPWNAM_R */ 291 292/* Define if you have the `getrlimit' function. */ 293#define HAVE_GETRLIMIT 1 294 295/* Define if you have the `getsockopt' function. */ 296#define HAVE_GETSOCKOPT 1 297 298/* Define if you have the `getspnam' function. */ 299/* #undef HAVE_GETSPNAM */ 300 301/* Define if you have the `gettimeofday' function. */ 302#define HAVE_GETTIMEOFDAY 1 303 304/* Define if you have the `getudbnam' function. */ 305/* #undef HAVE_GETUDBNAM */ 306 307/* Define if you have the `getuid' function. */ 308#define HAVE_GETUID 1 309 310/* Define if you have the `getusershell' function. */ 311#define HAVE_GETUSERSHELL 1 312 313/* define if you have a glob() that groks GLOB_BRACE, GLOB_NOCHECK, 314 GLOB_QUOTE, GLOB_TILDE, and GLOB_LIMIT */ 315#define HAVE_GLOB 1 316 317/* Define if you have the `grantpt' function. */ 318/* #undef HAVE_GRANTPT */ 319 320/* Define if you have the <grp.h> header file. */ 321#define HAVE_GRP_H 1 322 323/* Define if you have the `hstrerror' function. */ 324#define HAVE_HSTRERROR 1 325 326/* Define if you have the `h_errlist' variable. */ 327#define HAVE_H_ERRLIST 1 328 329/* define if your system declares h_errlist */ 330/* #undef HAVE_H_ERRLIST_DECLARATION */ 331 332/* Define if you have the `h_errno' variable. */ 333#define HAVE_H_ERRNO 1 334 335/* define if your system declares h_errno */ 336#define HAVE_H_ERRNO_DECLARATION 1 337 338/* Define if you have the `h_nerr' variable. */ 339#define HAVE_H_NERR 1 340 341/* define if your system declares h_nerr */ 342/* #undef HAVE_H_NERR_DECLARATION */ 343 344/* Define if you have the <ifaddrs.h> header file. */ 345#define HAVE_IFADDRS_H 1 346 347/* Define if you have the in6addr_loopback variable */ 348#define HAVE_IN6ADDR_LOOPBACK 1 349 350/* Define if you have the `inet_aton' function. */ 351#define HAVE_INET_ATON 1 352 353/* Define if you have the `inet_ntop' function. */ 354#define HAVE_INET_NTOP 1 355 356/* Define if you have the `inet_pton' function. */ 357#define HAVE_INET_PTON 1 358 359/* Define if you have the `initgroups' function. */ 360#define HAVE_INITGROUPS 1 361 362/* Define if you have the `initstate' function. */ 363#define HAVE_INITSTATE 1 364 365/* Define if you have the `innetgr' function. */ 366#define HAVE_INNETGR 1 367 368/* Define if you have the <inttypes.h> header file. */ 369#define HAVE_INTTYPES_H 1 370 371/* Define if you have the <io.h> header file. */ 372/* #undef HAVE_IO_H */ 373 374/* Define if you have IPv6. */ 375#define HAVE_IPV6 1 376 377/* Define if you have the `iruserok' function. */ 378#define HAVE_IRUSEROK 1 379 380/* Define if you have the `issetugid' function. */ 381#define HAVE_ISSETUGID 1 382 383/* Define if you have the `krb_disable_debug' function. */ 384#define HAVE_KRB_DISABLE_DEBUG 1 385 386/* Define if you have the `krb_enable_debug' function. */ 387#define HAVE_KRB_ENABLE_DEBUG 1 388 389/* Define if you have the `krb_get_our_ip_for_realm' function. */ 390#define HAVE_KRB_GET_OUR_IP_FOR_REALM 1 391 392/* Define if you have the <libutil.h> header file. */ 393#define HAVE_LIBUTIL_H 1 394 395/* Define if you have the <limits.h> header file. */ 396#define HAVE_LIMITS_H 1 397 398/* Define if you have the `logout' function. */ 399#define HAVE_LOGOUT 1 400 401/* Define if you have the `logwtmp' function. */ 402#define HAVE_LOGWTMP 1 403 404/* Define if the system has the type `long long'. */ 405#define HAVE_LONG_LONG 1 406 407/* Define if you have the `lstat' function. */ 408#define HAVE_LSTAT 1 409 410/* Define if you have the <maillock.h> header file. */ 411/* #undef HAVE_MAILLOCK_H */ 412 413/* Define if you have the `memmove' function. */ 414#define HAVE_MEMMOVE 1 415 416/* Define if you have the <memory.h> header file. */ 417#define HAVE_MEMORY_H 1 418 419/* Define if you have the `mkstemp' function. */ 420#define HAVE_MKSTEMP 1 421 422/* Define if you have the `mktime' function. */ 423#define HAVE_MKTIME 1 424 425/* define if you have a ndbm library */ 426#define HAVE_NDBM 1 427 428/* Define if you have the <ndbm.h> header file. */ 429#define HAVE_NDBM_H 1 430 431/* Define if you have the <netdb.h> header file. */ 432#define HAVE_NETDB_H 1 433 434/* Define if you have the <netinet6/in6.h> header file. */ 435/* #undef HAVE_NETINET6_IN6_H */ 436 437/* Define if you have the <netinet6/in6_var.h> header file. */ 438#define HAVE_NETINET6_IN6_VAR_H 1 439 440/* Define if you have the <netinet/in6.h> header file. */ 441/* #undef HAVE_NETINET_IN6_H */ 442 443/* Define if you have the <netinet/in6_machtypes.h> header file. */ 444/* #undef HAVE_NETINET_IN6_MACHTYPES_H */ 445 446/* Define if you have the <netinet/in6_var.h> header file. */ 447/* #undef HAVE_NETINET_IN6_VAR_H */ 448 449/* Define if you have the <netinet/in.h> header file. */ 450#define HAVE_NETINET_IN_H 1 451 452/* Define if you have the <netinet/in_systm.h> header file. */ 453#define HAVE_NETINET_IN_SYSTM_H 1 454 455/* Define if you have the <netinet/ip.h> header file. */ 456#define HAVE_NETINET_IP_H 1 457 458/* Define if you have the <netinet/tcp.h> header file. */ 459#define HAVE_NETINET_TCP_H 1 460 461/* Define if you want to use Netinfo instead of krb5.conf. */ 462/* #undef HAVE_NETINFO */ 463 464/* Define if you have the <netinfo/ni.h> header file. */ 465/* #undef HAVE_NETINFO_NI_H */ 466 467/* Define if you have the <net/if.h> header file. */ 468#define HAVE_NET_IF_H 1 469 470/* Define if you have the `openpty' function. */ 471#define HAVE_OPENPTY 1 472 473/* define to use openssl's libcrypto */ 474#define HAVE_OPENSSL 1 475 476/* define if your system declares optarg */ 477#define HAVE_OPTARG_DECLARATION 1 478 479/* define if your system declares opterr */ 480#define HAVE_OPTERR_DECLARATION 1 481 482/* define if your system declares optind */ 483#define HAVE_OPTIND_DECLARATION 1 484 485/* define if your system declares optopt */ 486#define HAVE_OPTOPT_DECLARATION 1 487 488/* Define to enable basic OSF C2 support. */ 489/* #undef HAVE_OSFC2 */ 490 491/* Define if you have the <paths.h> header file. */ 492#define HAVE_PATHS_H 1 493 494/* Define if you have the `pidfile' function. */ 495/* #undef HAVE_PIDFILE */ 496 497/* Define if you have the <pthread.h> header file. */ 498#define HAVE_PTHREAD_H 1 499 500/* Define if you have the `ptsname' function. */ 501/* #undef HAVE_PTSNAME */ 502 503/* Define if you have the <pty.h> header file. */ 504/* #undef HAVE_PTY_H */ 505 506/* Define if you have the `putenv' function. */ 507#define HAVE_PUTENV 1 508 509/* Define if you have the <pwd.h> header file. */ 510#define HAVE_PWD_H 1 511 512/* Define if you have the `rand' function. */ 513#define HAVE_RAND 1 514 515/* Define if you have the `random' function. */ 516#define HAVE_RANDOM 1 517 518/* Define if you have the `rcmd' function. */ 519#define HAVE_RCMD 1 520 521/* Define if you have a readline compatible library. */ 522#define HAVE_READLINE 1 523 524/* Define if you have the `readv' function. */ 525#define HAVE_READV 1 526 527/* Define if you have the `recvmsg' function. */ 528#define HAVE_RECVMSG 1 529 530/* Define if you have the <resolv.h> header file. */ 531#define HAVE_RESOLV_H 1 532 533/* Define if you have the `res_search' function. */ 534#define HAVE_RES_SEARCH 1 535 536/* Define if you have the `revoke' function. */ 537#define HAVE_REVOKE 1 538 539/* Define if you have the <rpcsvc/ypclnt.h> header file. */ 540#define HAVE_RPCSVC_YPCLNT_H 1 541 542/* Define if you have the <sac.h> header file. */ 543/* #undef HAVE_SAC_H */ 544 545/* Define if the system has the type `sa_family_t'. */ 546#define HAVE_SA_FAMILY_T 1 547 548/* Define if you have the <security/pam_modules.h> header file. */ 549#define HAVE_SECURITY_PAM_MODULES_H 1 550 551/* Define if you have the `select' function. */ 552#define HAVE_SELECT 1 553 554/* Define if you have the `sendmsg' function. */ 555#define HAVE_SENDMSG 1 556 557/* Define if you have the `setegid' function. */ 558#define HAVE_SETEGID 1 559 560/* Define if you have the `setenv' function. */ 561#define HAVE_SETENV 1 562 563/* Define if you have the `seteuid' function. */ 564#define HAVE_SETEUID 1 565 566/* Define if you have the `setitimer' function. */ 567#define HAVE_SETITIMER 1 568 569/* Define if you have the `setlim' function. */ 570/* #undef HAVE_SETLIM */ 571 572/* Define if you have the `setlogin' function. */ 573#define HAVE_SETLOGIN 1 574 575/* Define if you have the `setpcred' function. */ 576/* #undef HAVE_SETPCRED */ 577 578/* Define if you have the `setpgid' function. */ 579#define HAVE_SETPGID 1 580 581/* Define if you have the `setproctitle' function. */ 582#define HAVE_SETPROCTITLE 1 583 584/* Define if you have the `setprogname' function. */ 585#define HAVE_SETPROGNAME 1 586 587/* Define if you have the `setregid' function. */ 588#define HAVE_SETREGID 1 589 590/* Define if you have the `setresgid' function. */ 591#define HAVE_SETRESGID 1 592 593/* Define if you have the `setresuid' function. */ 594#define HAVE_SETRESUID 1 595 596/* Define if you have the `setreuid' function. */ 597#define HAVE_SETREUID 1 598 599/* Define if you have the `setsid' function. */ 600#define HAVE_SETSID 1 601 602/* Define if you have the `setsockopt' function. */ 603#define HAVE_SETSOCKOPT 1 604 605/* Define if you have the `setstate' function. */ 606#define HAVE_SETSTATE 1 607 608/* Define if you have the `setutent' function. */ 609/* #undef HAVE_SETUTENT */ 610 611/* Define if you have the `sgi_getcapabilitybyname' function. */ 612/* #undef HAVE_SGI_GETCAPABILITYBYNAME */ 613 614/* Define if you have the <sgtty.h> header file. */ 615#define HAVE_SGTTY_H 1 616 617/* Define if you have the <shadow.h> header file. */ 618/* #undef HAVE_SHADOW_H */ 619 620/* Define if you have the <siad.h> header file. */ 621/* #undef HAVE_SIAD_H */ 622 623/* Define if you have the `sigaction' function. */ 624#define HAVE_SIGACTION 1 625 626/* Define if you have the <signal.h> header file. */ 627#define HAVE_SIGNAL_H 1 628 629/* define if you have a working snprintf */ 630#define HAVE_SNPRINTF 1 631 632/* Define if you have the `socket' function. */ 633#define HAVE_SOCKET 1 634 635/* Define if the system has the type `socklen_t'. */ 636#define HAVE_SOCKLEN_T 1 637 638/* Define if you have the <standards.h> header file. */ 639/* #undef HAVE_STANDARDS_H */ 640 641/* Define if you have the <stdint.h> header file. */ 642#define HAVE_STDINT_H 1 643 644/* Define if you have the <stdlib.h> header file. */ 645#define HAVE_STDLIB_H 1 646 647/* Define if you have the `strcasecmp' function. */ 648#define HAVE_STRCASECMP 1 649 650/* Define if you have the `strdup' function. */ 651#define HAVE_STRDUP 1 652 653/* Define if you have the `strerror' function. */ 654#define HAVE_STRERROR 1 655 656/* Define if you have the `strftime' function. */ 657#define HAVE_STRFTIME 1 658 659/* Define if you have the <strings.h> header file. */ 660#define HAVE_STRINGS_H 1 661 662/* Define if you have the <string.h> header file. */ 663#define HAVE_STRING_H 1 664 665/* Define if you have the `strlcat' function. */ 666#define HAVE_STRLCAT 1 667 668/* Define if you have the `strlcpy' function. */ 669#define HAVE_STRLCPY 1 670 671/* Define if you have the `strlwr' function. */ 672/* #undef HAVE_STRLWR */ 673 674/* Define if you have the `strncasecmp' function. */ 675#define HAVE_STRNCASECMP 1 676 677/* Define if you have the `strndup' function. */ 678/* #undef HAVE_STRNDUP */ 679 680/* Define if you have the `strnlen' function. */ 681/* #undef HAVE_STRNLEN */ 682 683/* Define if you have the <stropts.h> header file. */ 684/* #undef HAVE_STROPTS_H */ 685 686/* Define if you have the `strptime' function. */ 687#define HAVE_STRPTIME 1 688 689/* Define if you have the `strsep' function. */ 690#define HAVE_STRSEP 1 691 692/* Define if you have the `strsep_copy' function. */ 693/* #undef HAVE_STRSEP_COPY */ 694 695/* Define if you have the `strstr' function. */ 696#define HAVE_STRSTR 1 697 698/* Define if you have the `strsvis' function. */ 699/* #undef HAVE_STRSVIS */ 700 701/* Define if you have the `strtok_r' function. */ 702#define HAVE_STRTOK_R 1 703 704/* Define if the system has the type `struct addrinfo'. */ 705#define HAVE_STRUCT_ADDRINFO 1 706 707/* Define if the system has the type `struct ifaddrs'. */ 708#define HAVE_STRUCT_IFADDRS 1 709 710/* Define if the system has the type `struct sockaddr'. */ 711#define HAVE_STRUCT_SOCKADDR 1 712 713/* Define if struct sockaddr has field sa_len. */ 714#define HAVE_STRUCT_SOCKADDR_SA_LEN 1 715 716/* Define if the system has the type `struct sockaddr_storage'. */ 717#define HAVE_STRUCT_SOCKADDR_STORAGE 1 718 719/* define if you have struct spwd */ 720/* #undef HAVE_STRUCT_SPWD */ 721 722/* Define if struct tm has field tm_gmtoff. */ 723#define HAVE_STRUCT_TM_TM_GMTOFF 1 724 725/* Define if struct tm has field tm_zone. */ 726#define HAVE_STRUCT_TM_TM_ZONE 1 727 728/* Define if struct utmpx has field ut_exit. */ 729/* #undef HAVE_STRUCT_UTMPX_UT_EXIT */ 730 731/* Define if struct utmpx has field ut_syslen. */ 732/* #undef HAVE_STRUCT_UTMPX_UT_SYSLEN */ 733 734/* Define if struct utmp has field ut_addr. */ 735/* #undef HAVE_STRUCT_UTMP_UT_ADDR */ 736 737/* Define if struct utmp has field ut_host. */ 738/* #undef HAVE_STRUCT_UTMP_UT_HOST */ 739 740/* Define if struct utmp has field ut_id. */ 741/* #undef HAVE_STRUCT_UTMP_UT_ID */ 742 743/* Define if struct utmp has field ut_pid. */ 744/* #undef HAVE_STRUCT_UTMP_UT_PID */ 745 746/* Define if struct utmp has field ut_type. */ 747/* #undef HAVE_STRUCT_UTMP_UT_TYPE */ 748 749/* Define if struct utmp has field ut_user. */ 750/* #undef HAVE_STRUCT_UTMP_UT_USER */ 751 752/* define if struct winsize is declared in sys/termios.h */ 753#define HAVE_STRUCT_WINSIZE 1 754 755/* Define if you have the `strunvis' function. */ 756#define HAVE_STRUNVIS 1 757 758/* Define if you have the `strupr' function. */ 759/* #undef HAVE_STRUPR */ 760 761/* Define if you have the `strvis' function. */ 762#define HAVE_STRVIS 1 763 764/* Define if you have the `strvisx' function. */ 765#define HAVE_STRVISX 1 766 767/* Define if you have the `svis' function. */ 768/* #undef HAVE_SVIS */ 769 770/* Define if you have the `swab' function. */ 771#define HAVE_SWAB 1 772 773/* Define if you have the `sysconf' function. */ 774#define HAVE_SYSCONF 1 775 776/* Define if you have the `sysctl' function. */ 777#define HAVE_SYSCTL 1 778 779/* Define if you have the `syslog' function. */ 780#define HAVE_SYSLOG 1 781 782/* Define if you have the <syslog.h> header file. */ 783#define HAVE_SYSLOG_H 1 784 785/* Define if you have the <sys/bitypes.h> header file. */ 786/* #undef HAVE_SYS_BITYPES_H */ 787 788/* Define if you have the <sys/bswap.h> header file. */ 789/* #undef HAVE_SYS_BSWAP_H */ 790 791/* Define if you have the <sys/capability.h> header file. */ 792#define HAVE_SYS_CAPABILITY_H 1 793 794/* Define if you have the <sys/category.h> header file. */ 795/* #undef HAVE_SYS_CATEGORY_H */ 796 797/* Define if you have the <sys/file.h> header file. */ 798#define HAVE_SYS_FILE_H 1 799 800/* Define if you have the <sys/filio.h> header file. */ 801#define HAVE_SYS_FILIO_H 1 802 803/* Define if you have the <sys/ioccom.h> header file. */ 804#define HAVE_SYS_IOCCOM_H 1 805 806/* Define if you have the <sys/ioctl.h> header file. */ 807#define HAVE_SYS_IOCTL_H 1 808 809/* Define if you have the <sys/param.h> header file. */ 810#define HAVE_SYS_PARAM_H 1 811 812/* Define if you have the <sys/proc.h> header file. */ 813#define HAVE_SYS_PROC_H 1 814 815/* Define if you have the <sys/ptyio.h> header file. */ 816/* #undef HAVE_SYS_PTYIO_H */ 817 818/* Define if you have the <sys/ptyvar.h> header file. */ 819/* #undef HAVE_SYS_PTYVAR_H */ 820 821/* Define if you have the <sys/pty.h> header file. */ 822/* #undef HAVE_SYS_PTY_H */ 823 824/* Define if you have the <sys/resource.h> header file. */ 825#define HAVE_SYS_RESOURCE_H 1 826 827/* Define if you have the <sys/select.h> header file. */ 828#define HAVE_SYS_SELECT_H 1 829 830/* Define if you have the <sys/socket.h> header file. */ 831#define HAVE_SYS_SOCKET_H 1 832 833/* Define if you have the <sys/sockio.h> header file. */ 834#define HAVE_SYS_SOCKIO_H 1 835 836/* Define if you have the <sys/stat.h> header file. */ 837#define HAVE_SYS_STAT_H 1 838 839/* Define if you have the <sys/stream.h> header file. */ 840/* #undef HAVE_SYS_STREAM_H */ 841 842/* Define if you have the <sys/stropts.h> header file. */ 843/* #undef HAVE_SYS_STROPTS_H */ 844 845/* Define if you have the <sys/strtty.h> header file. */ 846/* #undef HAVE_SYS_STRTTY_H */ 847 848/* Define if you have the <sys/str_tty.h> header file. */ 849/* #undef HAVE_SYS_STR_TTY_H */ 850 851/* Define if you have the <sys/syscall.h> header file. */ 852#define HAVE_SYS_SYSCALL_H 1 853 854/* Define if you have the <sys/sysctl.h> header file. */ 855#define HAVE_SYS_SYSCTL_H 1 856 857/* Define if you have the <sys/termio.h> header file. */ 858/* #undef HAVE_SYS_TERMIO_H */ 859 860/* Define if you have the <sys/timeb.h> header file. */ 861#define HAVE_SYS_TIMEB_H 1 862 863/* Define if you have the <sys/times.h> header file. */ 864#define HAVE_SYS_TIMES_H 1 865 866/* Define if you have the <sys/time.h> header file. */ 867#define HAVE_SYS_TIME_H 1 868 869/* Define if you have the <sys/tty.h> header file. */ 870#define HAVE_SYS_TTY_H 1 871 872/* Define if you have the <sys/types.h> header file. */ 873#define HAVE_SYS_TYPES_H 1 874 875/* Define if you have the <sys/uio.h> header file. */ 876#define HAVE_SYS_UIO_H 1 877 878/* Define if you have the <sys/un.h> header file. */ 879#define HAVE_SYS_UN_H 1 880 881/* Define if you have the <sys/utsname.h> header file. */ 882#define HAVE_SYS_UTSNAME_H 1 883 884/* Define if you have the <sys/wait.h> header file. */ 885#define HAVE_SYS_WAIT_H 1 886 887/* Define if you have the <termios.h> header file. */ 888#define HAVE_TERMIOS_H 1 889 890/* Define if you have the <termio.h> header file. */ 891/* #undef HAVE_TERMIO_H */ 892 893/* Define if you have the <term.h> header file. */ 894#define HAVE_TERM_H 1 895 896/* Define if you have the `tgetent' function. */ 897#define HAVE_TGETENT 1 898 899/* Define if you have the `timegm' function. */ 900#define HAVE_TIMEGM 1 901 902/* Define if you have the `timezone' variable. */ 903#define HAVE_TIMEZONE 1 904 905/* define if your system declares timezone */ 906#define HAVE_TIMEZONE_DECLARATION 1 907 908/* Define if you have the <time.h> header file. */ 909#define HAVE_TIME_H 1 910 911/* Define if you have the <tmpdir.h> header file. */ 912/* #undef HAVE_TMPDIR_H */ 913 914/* Define if you have the `ttyname' function. */ 915#define HAVE_TTYNAME 1 916 917/* Define if you have the `ttyslot' function. */ 918#define HAVE_TTYSLOT 1 919 920/* Define if you have the <udb.h> header file. */ 921/* #undef HAVE_UDB_H */ 922 923/* Define if you have the `umask' function. */ 924#define HAVE_UMASK 1 925 926/* Define if you have the `uname' function. */ 927#define HAVE_UNAME 1 928 929/* Define if you have the <unistd.h> header file. */ 930#define HAVE_UNISTD_H 1 931 932/* Define if you have the `unlockpt' function. */ 933/* #undef HAVE_UNLOCKPT */ 934 935/* Define if you have the `unsetenv' function. */ 936#define HAVE_UNSETENV 1 937 938/* Define if you have the `unvis' function. */ 939#define HAVE_UNVIS 1 940 941/* Define if you have the <userconf.h> header file. */ 942/* #undef HAVE_USERCONF_H */ 943 944/* Define if you have the <usersec.h> header file. */ 945/* #undef HAVE_USERSEC_H */ 946 947/* Define if you have the <util.h> header file. */ 948/* #undef HAVE_UTIL_H */ 949 950/* Define if you have the <utmpx.h> header file. */ 951/* #undef HAVE_UTMPX_H */ 952 953/* Define if you have the <utmp.h> header file. */ 954#define HAVE_UTMP_H 1 955 956/* Define if you have the `vasnprintf' function. */ 957/* #undef HAVE_VASNPRINTF */ 958 959/* Define if you have the `vasprintf' function. */ 960#define HAVE_VASPRINTF 1 961 962/* Define if you have the `verr' function. */ 963#define HAVE_VERR 1 964 965/* Define if you have the `verrx' function. */ 966#define HAVE_VERRX 1 967 968/* Define if you have the `vhangup' function. */ 969/* #undef HAVE_VHANGUP */ 970 971/* Define if you have the `vis' function. */ 972#define HAVE_VIS 1 973 974/* Define if you have the <vis.h> header file. */ 975#define HAVE_VIS_H 1 976 977/* define if you have a working vsnprintf */ 978#define HAVE_VSNPRINTF 1 979 980/* Define if you have the `vsyslog' function. */ 981#define HAVE_VSYSLOG 1 982 983/* Define if you have the `vwarn' function. */ 984#define HAVE_VWARN 1 985 986/* Define if you have the `vwarnx' function. */ 987#define HAVE_VWARNX 1 988 989/* Define if you have the `warn' function. */ 990#define HAVE_WARN 1 991 992/* Define if you have the `warnx' function. */ 993#define HAVE_WARNX 1 994 995/* Define if you have the `writev' function. */ 996#define HAVE_WRITEV 1 997 998/* define if struct winsize has ws_xpixel */ 999#define HAVE_WS_XPIXEL 1 1000 1001/* define if struct winsize has ws_ypixel */ 1002#define HAVE_WS_YPIXEL 1 1003 1004/* Define if you have the `XauFileName' function. */ 1005#define HAVE_XAUFILENAME 1 1006 1007/* Define if you have the `XauReadAuth' function. */ 1008#define HAVE_XAUREADAUTH 1 1009 1010/* Define if you have the `XauWriteAuth' function. */ 1011#define HAVE_XAUWRITEAUTH 1 1012 1013/* Define if you have the `yp_get_default_domain' function. */ 1014#define HAVE_YP_GET_DEFAULT_DOMAIN 1 1015 1016/* Define if you have the `_getpty' function. */ 1017/* #undef HAVE__GETPTY */ 1018 1019/* Define if you have the `_scrsize' function. */ 1020/* #undef HAVE__SCRSIZE */ 1021 1022/* define if your compiler has __attribute__ */ 1023#define HAVE___ATTRIBUTE__ 1 1024 1025/* Define if you have the `__progname' variable. */ 1026#define HAVE___PROGNAME 1 1027 1028/* define if your system declares __progname */ 1029/* #undef HAVE___PROGNAME_DECLARATION */ 1030 1031/* Define if you have the hesiod package. */ 1032/* #undef HESIOD */ 1033 1034/* Enable Kerberos 5 support in applications. */ 1035#define KRB5 1 1036 1037/* Define if krb_mk_req takes cons char * */ 1038/* #undef KRB_MK_REQ_CONST */ 1039 1040/* Define to zero if your krb.h doesn't */ 1041/* #undef KRB_VERIFY_NOT_SECURE */ 1042 1043/* Define to one if your krb.h doesn't */ 1044/* #undef KRB_VERIFY_SECURE */ 1045 1046/* Define to two if your krb.h doesn't */ 1047/* #undef KRB_VERIFY_SECURE_FAIL */ 1048 1049/* define if the system is missing a prototype for asnprintf() */ 1050/* #undef NEED_ASNPRINTF_PROTO */ 1051 1052/* define if the system is missing a prototype for asprintf() */ 1053/* #undef NEED_ASPRINTF_PROTO */ 1054 1055/* define if the system is missing a prototype for crypt() */ 1056/* #undef NEED_CRYPT_PROTO */ 1057 1058/* define if the system is missing a prototype for gethostname() */ 1059/* #undef NEED_GETHOSTNAME_PROTO */ 1060 1061/* define if the system is missing a prototype for getusershell() */ 1062/* #undef NEED_GETUSERSHELL_PROTO */ 1063 1064/* define if the system is missing a prototype for glob() */ 1065/* #undef NEED_GLOB_PROTO */ 1066 1067/* define if the system is missing a prototype for hstrerror() */ 1068/* #undef NEED_HSTRERROR_PROTO */ 1069 1070/* define if the system is missing a prototype for inet_aton() */ 1071/* #undef NEED_INET_ATON_PROTO */ 1072 1073/* define if the system is missing a prototype for mkstemp() */ 1074/* #undef NEED_MKSTEMP_PROTO */ 1075 1076/* define if the system is missing a prototype for setenv() */ 1077/* #undef NEED_SETENV_PROTO */ 1078 1079/* define if the system is missing a prototype for snprintf() */ 1080/* #undef NEED_SNPRINTF_PROTO */ 1081 1082/* define if the system is missing a prototype for strsep() */ 1083/* #undef NEED_STRSEP_PROTO */ 1084 1085/* define if the system is missing a prototype for strtok_r() */ 1086/* #undef NEED_STRTOK_R_PROTO */ 1087 1088/* define if the system is missing a prototype for unsetenv() */ 1089/* #undef NEED_UNSETENV_PROTO */ 1090 1091/* define if the system is missing a prototype for vasnprintf() */ 1092/* #undef NEED_VASNPRINTF_PROTO */ 1093 1094/* define if the system is missing a prototype for vasprintf() */ 1095/* #undef NEED_VASPRINTF_PROTO */ 1096 1097/* define if the system is missing a prototype for vsnprintf() */ 1098/* #undef NEED_VSNPRINTF_PROTO */ 1099 1100/* Define this to enable old environment option in telnet. */ 1101#define OLD_ENVIRON 1 1102 1103/* Define if you have the openldap package. */ 1104/* #undef OPENLDAP */ 1105 1106/* define if prototype of openlog is compatible with void openlog(const char 1107 *, int, int) */ 1108#define OPENLOG_PROTO_COMPATIBLE 1 1109 1110/* Define if you want OTP support in applications. */ 1111#define OTP 1 1112 1113/* Name of package */ 1114#define PACKAGE "heimdal" 1115 1116/* Define if getlogin has POSIX flavour (and not BSD). */ 1117/* #undef POSIX_GETLOGIN */ 1118 1119/* Define if getpwnam_r has POSIX flavour. */ 1120/* #undef POSIX_GETPWNAM_R */ 1121 1122/* Define if you have the readline package. */ 1123/* #undef READLINE */ 1124 1125/* Define as the return type of signal handlers (`int' or `void'). */ 1126#define RETSIGTYPE void 1127 1128/* Define if you have the ANSI C header files. */ 1129#define STDC_HEADERS 1 1130 1131/* Define if you have streams ptys. */ 1132/* #undef STREAMSPTY */ 1133 1134/* Define to what version of SunOS you are running. */ 1135/* #undef SunOS */ 1136 1137/* Define if you can safely include both <sys/time.h> and <time.h>. */ 1138#define TIME_WITH_SYS_TIME 1 1139 1140/* Define if your <sys/time.h> declares `struct tm'. */ 1141/* #undef TM_IN_SYS_TIME */ 1142 1143/* Version number of package */ 1144#define VERSION "0.4e" 1145 1146/* Define if signal handlers return void. */ 1147#define VOID_RETSIGTYPE 1 1148 1149/* define if target is big endian */ 1150/* #undef WORDS_BIGENDIAN */ 1151 1152/* Define if the X Window System is missing or not being used. */ 1153/* #undef X_DISPLAY_MISSING */ 1154 1155/* Define if `lex' declares `yytext' as a `char *' by default, not a `char[]'. 1156 */ 1157#define YYTEXT_POINTER 1 1158 1159/* Define to empty if `const' does not conform to ANSI C. */ 1160/* #undef const */ 1161 1162/* Define to `int' if <sys/types.h> doesn't define. */ 1163/* #undef gid_t */ 1164 1165/* Define as `__inline' if that's what the C compiler calls it, or to nothing 1166 if it is not supported. */ 1167/* #undef inline */ 1168 1169/* Define this to what the type mode_t should be. */ 1170/* #undef mode_t */ 1171 1172/* Define to `long' if <sys/types.h> does not define. */ 1173/* #undef off_t */ 1174 1175/* Define to `int' if <sys/types.h> does not define. */ 1176/* #undef pid_t */ 1177 1178/* Define this to what the type sig_atomic_t should be. */ 1179/* #undef sig_atomic_t */ 1180 1181/* Define to `unsigned' if <sys/types.h> does not define. */ 1182/* #undef size_t */ 1183 1184/* Define this to what the type ssize_t should be. */ 1185/* #undef ssize_t */ 1186 1187/* Define to `int' if <sys/types.h> doesn't define. */ 1188/* #undef uid_t */ 1189 1190#ifdef VOID_RETSIGTYPE 1191#define SIGRETURN(x) return 1192#else 1193#define SIGRETURN(x) return (RETSIGTYPE)(x) 1194#endif 1195 1196#ifdef BROKEN_REALLOC 1197#define realloc(X, Y) isoc_realloc((X), (Y)) 1198#define isoc_realloc(X, Y) ((X) ? realloc((X), (Y)) : malloc(Y)) 1199#endif 1200 1201#if defined(HAVE_FOUR_VALUED_KRB_PUT_INT) || !defined(KRB4) 1202#define KRB_PUT_INT(F, T, L, S) krb_put_int((F), (T), (L), (S)) 1203#else 1204#define KRB_PUT_INT(F, T, L, S) krb_put_int((F), (T), (S)) 1205#endif 1206 1207 1208#ifdef VOID_RETSIGTYPE 1209#define SIGRETURN(x) return 1210#else 1211#define SIGRETURN(x) return (RETSIGTYPE)(x) 1212#endif 1213 1214#ifdef BROKEN_REALLOC 1215#define realloc(X, Y) isoc_realloc((X), (Y)) 1216#define isoc_realloc(X, Y) ((X) ? realloc((X), (Y)) : malloc(Y)) 1217#endif 1218 1219#define BINDIR "/usr/bin" 1220#define LIBDIR "/usr/lib" 1221#define LIBEXECDIR "/usr/libexec" 1222#define SBINDIR "/usr/sbin" 1223 1224#define BINDIR "/usr/bin" 1225#define LIBDIR "/usr/lib" 1226#define LIBEXECDIR "/usr/libexec" 1227#define SBINDIR "/usr/sbin" 1228 1229#define HAVE_INT8_T 1 1230#define HAVE_INT16_T 1 1231#define HAVE_INT32_T 1 1232#define HAVE_INT64_T 1 1233#define HAVE_U_INT8_T 1 1234#define HAVE_U_INT16_T 1 1235#define HAVE_U_INT32_T 1 1236#define HAVE_U_INT64_T 1 1237#define HAVE_UINT8_T 1 1238#define HAVE_UINT16_T 1 1239#define HAVE_UINT32_T 1 1240#define HAVE_UINT64_T 1 1241 1242#if defined(HAVE_FOUR_VALUED_KRB_PUT_INT) || !defined(KRB4) 1243#define KRB_PUT_INT(F, T, L, S) krb_put_int((F), (T), (L), (S)) 1244#else 1245#define KRB_PUT_INT(F, T, L, S) krb_put_int((F), (T), (S)) 1246#endif 1247 1248#ifdef BROKEN_REALLOC 1249#define realloc(X, Y) isoc_realloc((X), (Y)) 1250#define isoc_realloc(X, Y) ((X) ? realloc((X), (Y)) : malloc(Y)) 1251#endif 1252 1253#ifdef VOID_RETSIGTYPE 1254#define SIGRETURN(x) return 1255#else 1256#define SIGRETURN(x) return (RETSIGTYPE)(x) 1257#endif 1258 1259#define RCSID(msg) \ 1260static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg } 1261 1262/* #undef PROTOTYPES */ 1263 1264/* Maximum values on all known systems */ 1265#define MaxHostNameLen (64+4) 1266#define MaxPathLen (1024+4) 1267 1268#if defined(HAVE_SGTTY_H) && defined(__NeXT__) 1269#define SGTTY 1270#endif 1271 1272/* telnet stuff ----------------------------------------------- */ 1273 1274#if defined(ENCRYPTION) && !defined(AUTHENTICATION) 1275#define AUTHENTICATION 1 1276#endif 1277 1278/* Set this to the default system lead string for telnetd 1279 * can contain %-escapes: %s=sysname, %m=machine, %r=os-release 1280 * %v=os-version, %t=tty, %h=hostname, %d=date and time 1281 */ 1282/* #undef USE_IM */ 1283 1284/* Used with login -p */ 1285/* #undef LOGIN_ARGS */ 1286 1287/* set this to a sensible login */ 1288#ifndef LOGIN_PATH 1289#define LOGIN_PATH BINDIR "/login" 1290#endif 1291 1292/* random defines */ 1293 1294/* 1295 * Defining this enables lots of useful (and used) extensions on 1296 * glibc-based systems such as Linux 1297 */ 1298 1299#define _GNU_SOURCE 1300 1301/* 1302 * this assumes that KRB_C_BIGENDIAN is used. 1303 * if we can find out endianess at compile-time, do so, 1304 * otherwise WORDS_BIGENDIAN should already have been defined 1305 */ 1306 1307#if ENDIANESS_IN_SYS_PARAM_H 1308# include <sys/types.h> 1309# include <sys/param.h> 1310# if BYTE_ORDER == BIG_ENDIAN 1311# define WORDS_BIGENDIAN 1 1312# endif 1313#endif 1314 1315#ifdef ROKEN_RENAME 1316#include "roken_rename.h" 1317#endif 1318