X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/blobdiff_plain/92f90c575dc90af03902c853eb501d426ea453b1..b7a87eeab45a64bb687e4fc7e9757e2ce0442fa7:/acconfig.h diff --git a/acconfig.h b/acconfig.h index bbb99281..d07fd4fe 100644 --- a/acconfig.h +++ b/acconfig.h @@ -1,7 +1,19 @@ -/* 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 */ + +@TOP@ + +/* Define if you want to disable PAM support */ +#undef DISABLE_PAM + +/* Define if you want to disable AIX4's authenticate function */ +#undef WITH_AIXAUTHENTICATE + +/* Define if you want to disable lastlog support */ +#undef DISABLE_LASTLOG /* Location of lastlog file */ #undef LASTLOG_LOCATION @@ -12,20 +24,34 @@ /* 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 -/* Define if your ssl headers are included with #include */ -#undef HAVE_SSL +/* Builtin PRNG command timeout */ +#undef ENTROPY_TIMEOUT_MSEC + +/* 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 -/* 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_TV_IN_UTMP +#undef HAVE_ID_IN_UTMP /* Define if you want to use utmpx */ #undef USE_UTMPX @@ -57,18 +83,48 @@ /* 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 have trusted HPUX */ +#undef HAVE_HPUX_TRUSTED_SYSTEM_PW + +/* 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 +/* Set this to your mail directory if you don't have maillock.h */ +#undef MAIL_DIRECTORY + /* Data types */ -#undef HAVE_QUAD_T #undef HAVE_INTXX_T #undef HAVE_U_INTXX_T #undef HAVE_UINTXX_T +#undef HAVE_SOCKLEN_T +#undef HAVE_SIZE_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 /dev/ptmx */ #undef HAVE_DEV_PTMX @@ -76,194 +132,48 @@ /* Define if you have /dev/ptc */ #undef HAVE_DEV_PTS_AND_PTC -/* Path to xauth binary */ -#undef XAUTH_PATH +/* 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 PIDDIR + +/* Use IPv4 for connection by default, IPv6 can still if explicity asked */ +#undef IPV4_DEFAULT + +/* getaddrinfo is broken (if present) */ +#undef BROKEN_GETADDRINFO + +/* Workaround more Linux IPv6 quirks */ +#undef DONT_TRY_OTHER_AF + +/* Detect IPv4 in IPv6 mapped addresses and treat as IPv4 */ +#undef IPV4_IN_IPV6 + +/* Programs used in entropy collection */ +#undef PROG_LS +#undef PROG_NETSTAT +#undef PROG_ARP +#undef PROG_IFCONFIG +#undef PROG_PS +#undef PROG_W +#undef PROG_WHO +#undef PROG_LAST +#undef PROG_LASTLOG +#undef PROG_DF +#undef PROG_VMSTAT +#undef PROG_UPTIME +#undef PROG_IPCS +#undef PROG_TAIL + @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 - -#if defined(HAVE_UTMPX_H) && defined(USE_UTMPX) -# 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 */ -#if defined(HAVE_UTMPX_H) && defined(USE_UTMPX) -# define UTMP_STR utmpx -#else -# ifdef HAVE_UTMP_H -# define UTMP_STR utmp -# endif -#endif - -#ifndef _PATH_UTMP -# if defined(UTMPX_FILE) && defined(USE_UTMPX) -# 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 -# if defined(WTMPX_FILE) && defined(USE_UTMPX) -# 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 - -#if !defined(__GNUC__) || (__GNUC__ < 2) -# define __attribute__(x) -#endif /* !defined(__GNUC__) || (__GNUC__ < 2) */ +#include "defines.h" + +#endif /* _CONFIG_H */