]> andersk Git - openssh.git/blob - acconfig.h
- Merged more Solaris support from Marc G. Fournier
[openssh.git] / acconfig.h
1 /* config.h.in.  Generated by hand, don't use autoheader.  */
2
3 /* SSL directory.  */
4 #undef ssldir
5
6 /* Location of lastlog file */
7 #undef LASTLOG_LOCATION
8
9 /* If lastlog is a directory */
10 #undef LASTLOG_IS_DIR
11
12 /* Location of random number pool  */
13 #undef RANDOM_POOL
14
15 /* Are we using the Entropy gathering daemon */
16 #undef HAVE_EGD
17
18 /* Define if your ssl headers are included with #include <ssl/header.h>  */
19 #undef HAVE_SSL
20
21 /* Define if your ssl headers are included with #include <openssl/header.h>  */
22 #undef HAVE_OPENSSL
23
24 /* Define is utmp.h has a ut_host field */
25 #undef HAVE_HOST_IN_UTMP
26
27 /* Define is libutil has login() function */
28 #undef HAVE_LIBUTIL_LOGIN
29
30 /* Define if you want external askpass support */
31 #undef USE_EXTERNAL_ASKPASS
32
33 /* Define if libc defines __progname */
34 #undef HAVE___PROGNAME
35
36 /* Define if you want Kerberos 4 support */
37 #undef KRB4
38
39 /* Define if you want AFS support */
40 #undef AFS
41
42 /* Define if you want S/Key support */
43 #undef SKEY
44
45 /* Define if you want TCP Wrappers support */
46 #undef LIBWRAP
47
48 /* Define if your libraries define login() */
49 #undef HAVE_LOGIN
50
51 /* Define if your libraries define daemon() */
52 #undef HAVE_DAEMON
53
54 /* Define if you want to allow MD5 passwords */
55 #undef HAVE_MD5_PASSWORDS
56
57 /* Data types */
58 #undef HAVE_QUAD_T
59 #undef HAVE_INTXX_T
60 #undef HAVE_U_INTXX_T
61 #undef HAVE_UINTXX_T
62
63 @BOTTOM@
64
65 /* ******************* Shouldn't need to edit below this line ************** */
66
67 # include <sys/types.h> /* For u_intXX_t */
68 # include <sys/socket.h> /* For SHUT_XXXX */
69
70 #ifdef HAVE_PATHS_H
71 # include <paths.h> /* For _PATH_XXX */
72 #endif 
73
74 #ifndef SHUT_RDWR
75 enum
76 {
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
83 };
84 #endif
85
86 /* If sys/types.h does not supply intXX_t, supply them ourselves */
87 /* (or die trying) */
88 #ifndef HAVE_INTXX_T
89 # if (SIZEOF_SHORT_INT == 2)
90 #  define int16_t short int
91 # else
92 #  error "16 bit int type not found."
93 # endif
94 # if (SIZEOF_INT == 4)
95 #  define int32_t int
96 # else
97 #  error "32 bit int type not found."
98 # endif
99 # if (SIZEOF_LONG_INT == 8)
100 #  define int64_t long int
101 # else
102 #  if (SIZEOF_LONG_LONG_INT == 8)
103 #   define int64_t long long int
104 #  else
105 #   error "64 bit int type not found."
106 #  endif
107 # endif
108 #endif
109
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
116 # else
117 #  if (SIZEOF_SHORT_INT == 2)
118 #   define u_int16_t unsigned short int
119 #  else
120 #   error "16 bit int type not found."
121 #  endif
122 #  if (SIZEOF_INT == 4)
123 #   define u_int32_t unsigned int
124 #  else
125 #   error "32 bit int type not found."
126 #  endif
127 #  if (SIZEOF_LONG_INT == 8)
128 #   define u_int64_t unsigned long int
129 #  else
130 #   if (SIZEOF_LONG_LONG_INT == 8)
131 #    define u_int64_t unsigned long long int
132 #   else
133 #    error "64 bit int type not found."
134 #   endif
135 #  endif
136 # endif
137 #endif
138
139 /* If quad_t is not supplied, then supply it now. We can rely on int64_t */
140 /* being defined by the above */
141 #ifndef HAVE_QUAD_T
142 # define quad_t int64_t
143 #endif
144
145 #ifndef _PATH_LASTLOG
146 # ifdef LASTLOG_LOCATION
147 #  define _PATH_LASTLOG LASTLOG_LOCATION
148 # endif
149 #endif
150
151 #ifndef _PATH_UTMP
152 # ifdef UTMP_FILE
153 #  define _PATH_UTMP UTMP_FILE
154 # endif
155 #endif
156
157 #ifndef _PATH_WTMP
158 # ifdef WTMP_FILE
159 #  define _PATH_WTMP WTMP_FILE
160 # endif
161 #endif
162
163 #ifndef _PATH_BSHELL
164 # define _PATH_BSHELL "/bin/sh"
165 #endif
166
167 #ifndef _PATH_STDPATH
168 # define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin:"
169 #endif
170
171 #ifndef _PATH_MAILDIR
172 # ifdef MAILDIR
173 #  define _PATH_MAILDIR MAILDIR
174 # endif
175 #endif
176
177 #ifndef MAX
178 # define MAX(a,b) (((a)>(b))?(a):(b))
179 # define MIN(a,b) (((a)<(b))?(a):(b))
180 #endif
This page took 0.063514 seconds and 5 git commands to generate.