1 /* config.h.in. Generated by hand, don't use autoheader. */
6 /* Location of lastlog file */
7 #undef LASTLOG_LOCATION
9 /* If lastlog is a directory */
12 /* Location of random number pool */
15 /* Are we using the Entropy gathering daemon */
18 /* Define if your ssl headers are included with #include <ssl/header.h> */
21 /* Define if your ssl headers are included with #include <openssl/header.h> */
24 /* Define is utmp.h has a ut_host field */
25 #undef HAVE_HOST_IN_UTMP
27 /* Define is libutil has login() function */
28 #undef HAVE_LIBUTIL_LOGIN
30 /* Define if you want external askpass support */
31 #undef USE_EXTERNAL_ASKPASS
33 /* Define if libc defines __progname */
34 #undef HAVE___PROGNAME
36 /* Define if you want Kerberos 4 support */
39 /* Define if you want AFS support */
42 /* Define if you want S/Key support */
45 /* Define if you want TCP Wrappers support */
48 /* Define if your libraries define login() */
51 /* Define if your libraries define daemon() */
54 /* Define if you want to allow MD5 passwords */
55 #undef HAVE_MD5_PASSWORDS
65 /* ******************* Shouldn't need to edit below this line ************** */
67 # include <sys/types.h> /* For u_intXX_t */
68 # include <sys/socket.h> /* For SHUT_XXXX */
71 # include <paths.h> /* For _PATH_XXX */
77 SHUT_RD = 0, /* No more receptions. */
78 #define SHUT_RD SHUT_RD
79 SHUT_WR, /* No more transmissions. */
80 #define SHUT_WR SHUT_WR
81 SHUT_RDWR /* No more receptions or transmissions. */
82 #define SHUT_RDWR SHUT_RDWR
86 /* If sys/types.h does not supply intXX_t, supply them ourselves */
89 # if (SIZEOF_SHORT_INT == 2)
90 # define int16_t short int
92 # error "16 bit int type not found."
94 # if (SIZEOF_INT == 4)
97 # error "32 bit int type not found."
99 # if (SIZEOF_LONG_INT == 8)
100 # define int64_t long int
102 # if (SIZEOF_LONG_LONG_INT == 8)
103 # define int64_t long long int
105 # error "64 bit int type not found."
110 /* If sys/types.h does not supply u_intXX_t, supply them ourselves */
111 #ifndef HAVE_U_INTXX_T
112 # ifdef HAVE_UINTXX_T
113 # define u_int16_t uint16_t
114 # define u_int32_t uint32_t
115 # define u_int64_t uint64_t
117 # if (SIZEOF_SHORT_INT == 2)
118 # define u_int16_t unsigned short int
120 # error "16 bit int type not found."
122 # if (SIZEOF_INT == 4)
123 # define u_int32_t unsigned int
125 # error "32 bit int type not found."
127 # if (SIZEOF_LONG_INT == 8)
128 # define u_int64_t unsigned long int
130 # if (SIZEOF_LONG_LONG_INT == 8)
131 # define u_int64_t unsigned long long int
133 # error "64 bit int type not found."
139 /* If quad_t is not supplied, then supply it now. We can rely on int64_t */
140 /* being defined by the above */
142 # define quad_t int64_t
145 #ifndef _PATH_LASTLOG
146 # ifdef LASTLOG_LOCATION
147 # define _PATH_LASTLOG LASTLOG_LOCATION
153 # define _PATH_UTMP UTMP_FILE
159 # define _PATH_WTMP WTMP_FILE
164 # define _PATH_BSHELL "/bin/sh"
167 #ifndef _PATH_STDPATH
168 # define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin:"
171 #ifndef _PATH_MAILDIR
173 # define _PATH_MAILDIR MAILDIR
178 # define MAX(a,b) (((a)>(b))?(a):(b))
179 # define MIN(a,b) (((a)<(b))?(a):(b))