X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/blobdiff_plain/8946db533c8ccfd990c2b87288df3acd01fa52ec..42f11eb24fa39e437b4f1e6beb5cc83901aa5bdd:/acconfig.h diff --git a/acconfig.h b/acconfig.h index 811c00d4..f0242eec 100644 --- a/acconfig.h +++ b/acconfig.h @@ -1,31 +1,168 @@ -/* config.h.in. Generated by hand, don't use autoheader. */ +#ifndef _CONFIG_H +#define _CONFIG_H -/* SSL directory. */ -#undef ssldir +/* Generated automatically from acconfig.h by autoheader. */ +/* Please make your changes there */ -/* Location of lastlog file */ -#undef LASTLOG_LOCATION +@TOP@ -/* If lastlog is a directory */ -#undef LASTLOG_IS_DIR +/* Define to a Set Process Title type if your system is */ +/* supported by bsd-setproctitle.c */ +#undef SPT_TYPE + +/* SCO workaround */ +#undef BROKEN_SYS_TERMIO_H +#undef HAVE_BOGUS_SYS_QUEUE_H + +/* Define if you have SCO protected password database */ +#undef HAVE_SCO_PROTECTED_PW + +/* If your header files don't define LOGIN_PROGRAM, then use this (detected) */ +/* from environment and PATH */ +#undef LOGIN_PROGRAM_FALLBACK + +/* Define if your password has a pw_class field */ +#undef HAVE_PW_CLASS_IN_PASSWD + +/* Define if your system's struct sockaddr_un has a sun_len member */ +#undef HAVE_SUN_LEN_IN_SOCKADDR_UN + +/* Define if you system's inet_ntoa is busted (e.g. Irix gcc issue) */ +#undef BROKEN_INET_NTOA + +/* Define if your system defines sys_errlist[] */ +#undef HAVE_SYS_ERRLIST + +/* Define if your system defines sys_nerr */ +#undef HAVE_SYS_NERR + +/* Define if your system choked on IP TOS setting */ +#undef IP_TOS_IS_BROKEN + +/* Define if you have the getuserattr function. */ +#undef HAVE_GETUSERATTR + +/* Work around problematic Linux PAM modules handling of PAM_TTY */ +#undef PAM_TTY_KLUDGE + +/* Use PIPES instead of a socketpair() */ +#undef USE_PIPES + +/* Define if your snprintf is busted */ +#undef BROKEN_SNPRINTF + +/* Define if you are on Cygwin */ +#undef HAVE_CYGWIN + +/* Define if you lack native POSIX regex and you are using PCRE */ +#undef HAVE_LIBPCRE + +/* Define if you have a broken realpath. */ +#undef BROKEN_REALPATH + +/* Define if you are on NeXT */ +#undef HAVE_NEXT + +/* Define if you are on NEWS-OS */ +#undef HAVE_NEWS4 + +/* Define if you want to enable PAM support */ +#undef USE_PAM + +/* Define if you want to enable AIX4's authenticate function */ +#undef WITH_AIXAUTHENTICATE + +/* Define if you have/want arrays (cluster-wide session managment, not C arrays) */ +#undef WITH_IRIX_ARRAY + +/* Define if you want IRIX project management */ +#undef WITH_IRIX_PROJECT + +/* Define if you want IRIX audit trails */ +#undef WITH_IRIX_AUDIT + +/* Define if you want IRIX kernel jobs */ +#undef WITH_IRIX_JOBS /* Location of random number pool */ #undef RANDOM_POOL -/* Are we using the Entropy gathering daemon */ -#undef HAVE_EGD +/* Location of EGD random number socket */ +#undef EGD_SOCKET + +/* Builtin PRNG command timeout */ +#undef ENTROPY_TIMEOUT_MSEC -/* Define if your ssl headers are included with #include */ -#undef HAVE_SSL +/* Define if you want to install preformatted manpages.*/ +#undef MANTYPE /* Define if your ssl headers are included with #include */ #undef HAVE_OPENSSL -/* Define is utmp.h has a ut_host field */ -#undef HAVE_HOST_IN_UTMP +/* Define if you are linking against RSAref. Used only to print the right + * message at run-time. */ +#undef RSAREF + +/* struct timeval */ +#undef HAVE_STRUCT_TIMEVAL -/* Define is utmpx.h has a ut_host field */ +/* struct utmp and struct utmpx fields */ +#undef HAVE_HOST_IN_UTMP #undef HAVE_HOST_IN_UTMPX +#undef HAVE_ADDR_IN_UTMP +#undef HAVE_ADDR_IN_UTMPX +#undef HAVE_ADDR_V6_IN_UTMP +#undef HAVE_ADDR_V6_IN_UTMPX +#undef HAVE_SYSLEN_IN_UTMPX +#undef HAVE_PID_IN_UTMP +#undef HAVE_TYPE_IN_UTMP +#undef HAVE_TYPE_IN_UTMPX +#undef HAVE_TV_IN_UTMP +#undef HAVE_TV_IN_UTMPX +#undef HAVE_ID_IN_UTMP +#undef HAVE_ID_IN_UTMPX +#undef HAVE_EXIT_IN_UTMP +#undef HAVE_TIME_IN_UTMP +#undef HAVE_TIME_IN_UTMPX + +/* Define if you don't want to use your system's login() call */ +#undef DISABLE_LOGIN + +/* Define if you don't want to use pututline() etc. to write [uw]tmp */ +#undef DISABLE_PUTUTLINE + +/* Define if you don't want to use pututxline() etc. to write [uw]tmpx */ +#undef DISABLE_PUTUTXLINE + +/* Define if you don't want to use lastlog */ +#undef DISABLE_LASTLOG + +/* Define if you don't want to use utmp */ +#undef DISABLE_UTMP + +/* Define if you don't want to use utmpx */ +#undef DISABLE_UTMPX + +/* Define if you don't want to use wtmp */ +#undef DISABLE_WTMP + +/* Define if you don't want to use wtmpx */ +#undef DISABLE_WTMPX + +/* Define if you want to specify the path to your lastlog file */ +#undef CONF_LASTLOG_FILE + +/* Define if you want to specify the path to your utmp file */ +#undef CONF_UTMP_FILE + +/* Define if you want to specify the path to your wtmp file */ +#undef CONF_WTMP_FILE + +/* Define if you want to specify the path to your utmpx file */ +#undef CONF_UTMPX_FILE + +/* Define if you want to specify the path to your wtmpx file */ +#undef CONF_WTMPX_FILE /* Define is libutil has login() function */ #undef HAVE_LIBUTIL_LOGIN @@ -54,18 +191,69 @@ /* Define if your libraries define daemon() */ #undef HAVE_DAEMON +/* Define if your libraries define getpagesize() */ +#undef HAVE_GETPAGESIZE + +/* Define if xauth is found in your path */ +#undef XAUTH_PATH + +/* Define if rsh is found in your path */ +#undef RSH_PATH + /* Define if you want to allow MD5 passwords */ #undef HAVE_MD5_PASSWORDS +/* Define if you want to disable shadow passwords */ +#undef DISABLE_SHADOW + +/* Define if you want to use shadow password expire field */ +#undef HAS_SHADOW_EXPIRE + +/* Define if you have Digital Unix Security Integration Architecture */ +#undef HAVE_OSF_SIA + +/* Define if you have getpwanam(3) [SunOS 4.x] */ +#undef HAVE_GETPWANAM + +/* Defined if in_systm.h needs to be included with netinet/ip.h (HPUX - ) */ +#undef NEED_IN_SYSTM_H + /* Define if you have an old version of PAM which takes only one argument */ /* to pam_strerror */ #undef HAVE_OLD_PAM +/* Define if you are using Solaris-derived PAM which passes pam_messages */ +/* to the conversation function with an extra level of indirection */ +#undef PAM_SUN_CODEBASE + +/* Set this to your mail directory if you don't have maillock.h */ +#undef MAIL_DIRECTORY + /* Data types */ -#undef HAVE_QUAD_T +#undef HAVE_U_INT #undef HAVE_INTXX_T #undef HAVE_U_INTXX_T #undef HAVE_UINTXX_T +#undef HAVE_INT64_T +#undef HAVE_U_INT64_T +#undef HAVE_SOCKLEN_T +#undef HAVE_SIZE_T +#undef HAVE_SSIZE_T +#undef HAVE_CLOCK_T +#undef HAVE_MODE_T +#undef HAVE_PID_T +#undef HAVE_SA_FAMILY_T +#undef HAVE_STRUCT_SOCKADDR_STORAGE +#undef HAVE_STRUCT_ADDRINFO +#undef HAVE_STRUCT_IN6_ADDR +#undef HAVE_STRUCT_SOCKADDR_IN6 + +/* Fields in struct sockaddr_storage */ +#undef HAVE_SS_FAMILY_IN_SS +#undef HAVE___SS_FAMILY_IN_SS + +/* Define if you have a regcomp() function */ +#undef HAVE_REGCOMP /* Define if you have /dev/ptmx */ #undef HAVE_DEV_PTMX @@ -73,188 +261,37 @@ /* Define if you have /dev/ptc */ #undef HAVE_DEV_PTS_AND_PTC +/* Define if you need to use IP address instead of hostname in $DISPLAY */ +#undef IPADDR_IN_DISPLAY + +/* Specify default $PATH */ +#undef USER_PATH + +/* Specify location of ssh.pid */ +#undef _PATH_SSH_PIDDIR + +/* Use IPv4 for connection by default, IPv6 can still if explicity asked */ +#undef IPV4_DEFAULT + +/* If you have no atexit() but xatexit(), and want to use xatexit() */ +#undef HAVE_XATEXIT + +/* getaddrinfo is broken (if present) */ +#undef BROKEN_GETADDRINFO + +/* vhangup is broken (if present) */ +#undef BROKEN_VHANGUP + +/* Workaround more Linux IPv6 quirks */ +#undef DONT_TRY_OTHER_AF + +/* Detect IPv4 in IPv6 mapped addresses and treat as IPv4 */ +#undef IPV4_IN_IPV6 + @BOTTOM@ /* ******************* Shouldn't need to edit below this line ************** */ -#include /* For u_intXX_t */ -#include /* For SHUT_XXXX */ - -#ifdef HAVE_PATHS_H -# include /* For _PATH_XXX */ -#endif - -#ifdef HAVE_UTMP_H -# include /* For _PATH_XXX */ -#endif - -#ifdef HAVE_UTMPX_H -# include /* For _PATH_XXX */ -#endif - -#ifdef HAVE_SYS_TIME_H -# include /* For timersub */ -#endif - -#ifdef HAVE_MAILLOCK_H -#include -#endif - -#ifndef SHUT_RDWR -enum -{ - SHUT_RD = 0, /* No more receptions. */ - SHUT_WR, /* No more transmissions. */ - SHUT_RDWR /* No more receptions or transmissions. */ -}; -# define SHUT_RD SHUT_RD -# define SHUT_WR SHUT_WR -# define SHUT_RDWR SHUT_RDWR -#endif - -/* If sys/types.h does not supply intXX_t, supply them ourselves */ -/* (or die trying) */ -#ifndef HAVE_INTXX_T -# if (SIZEOF_SHORT_INT == 2) -# define int16_t short int -# else -# error "16 bit int type not found." -# endif -# if (SIZEOF_INT == 4) -# define int32_t int -# else -# error "32 bit int type not found." -# endif -# if (SIZEOF_LONG_INT == 8) -# define int64_t long int -# else -# if (SIZEOF_LONG_LONG_INT == 8) -# define int64_t long long int -# else -# error "64 bit int type not found." -# endif -# endif -#endif - -/* If sys/types.h does not supply u_intXX_t, supply them ourselves */ -#ifndef HAVE_U_INTXX_T -# ifdef HAVE_UINTXX_T -# define u_int16_t uint16_t -# define u_int32_t uint32_t -# define u_int64_t uint64_t -# else -# if (SIZEOF_SHORT_INT == 2) -# define u_int16_t unsigned short int -# else -# error "16 bit int type not found." -# endif -# if (SIZEOF_INT == 4) -# define u_int32_t unsigned int -# else -# error "32 bit int type not found." -# endif -# if (SIZEOF_LONG_INT == 8) -# define u_int64_t unsigned long int -# else -# if (SIZEOF_LONG_LONG_INT == 8) -# define u_int64_t unsigned long long int -# else -# error "64 bit int type not found." -# endif -# endif -# endif -#endif - -/* If quad_t is not supplied, then supply it now. We can rely on int64_t */ -/* being defined by the above */ -#ifndef HAVE_QUAD_T -# define quad_t int64_t -#endif - -/* If _PATH_LASTLOG is not defined by system headers, set it to the */ -/* lastlog file detected by autoconf */ -#ifndef _PATH_LASTLOG -# ifdef LASTLOG_LOCATION -# define _PATH_LASTLOG LASTLOG_LOCATION -# endif -#endif - -/* Use utmpx if supported */ -#ifdef HAVE_UTMPX_H -# define UTMP_STR utmpx -#else -# ifdef HAVE_UTMP_H -# define UTMP_STR utmp -# endif -#endif - -#ifndef _PATH_UTMP -# ifdef UTMPX_FILE -# define _PATH_UTMP UTMPX_FILE -# else -# ifdef UTMP_FILE -# define _PATH_UTMP UTMP_FILE -# else -# define _PATH_UTMP "/var/adm/utmp" -# endif -# endif -#endif - -#ifndef _PATH_WTMP -# ifdef WTMPX_FILE -# define _PATH_WTMP WTMPX_FILE -# else -# ifdef WTMP_FILE -# define _PATH_WTMP WTMP_FILE -# else -# define _PATH_WTMP "/var/adm/wtmp" -# endif -# endif -#endif - -#ifndef _PATH_BSHELL -# define _PATH_BSHELL "/bin/sh" -#endif - -#ifndef _PATH_STDPATH -# define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin:" -#endif - -#ifndef _PATH_DEVNULL -# define _PATH_DEVNULL "/dev/null" -#endif - -#ifndef _PATH_MAILDIR -# ifdef MAILDIR -# define _PATH_MAILDIR MAILDIR -# endif -#endif - -#ifndef MAX -# define MAX(a,b) (((a)>(b))?(a):(b)) -# define MIN(a,b) (((a)<(b))?(a):(b)) -#endif - -#ifndef timersub -#define timersub(a, b, result) \ - do { \ - (result)->tv_sec = (a)->tv_sec - (b)->tv_sec; \ - (result)->tv_usec = (a)->tv_usec - (b)->tv_usec; \ - if ((result)->tv_usec < 0) { \ - --(result)->tv_sec; \ - (result)->tv_usec += 1000000; \ - } \ - } while (0) -#endif - -/* In older versions of libpam, pam_strerror takes a single argument */ -#ifdef HAVE_OLD_PAM -# define PAM_STRERROR(a,b) pam_strerror((b)) -#else -# define PAM_STRERROR(a,b) pam_strerror((a),(b)) -#endif - -#ifndef __P -# define __P(x) x -#endif +#include "defines.h" +#endif /* _CONFIG_H */