]> andersk Git - openssh.git/blob - acconfig.h
- Added OpenBSD bsd-strlcat.c, created bsd-strlcat.h
[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 #ifdef HAVE_SYS_TIME_H
75 # include <sys/time.h> /* For timersub */
76 #endif
77
78 #ifndef SHUT_RDWR
79 enum
80 {
81   SHUT_RD = 0,    /* No more receptions.  */
82 #define SHUT_RD   SHUT_RD
83   SHUT_WR,    /* No more transmissions.  */
84 #define SHUT_WR   SHUT_WR
85   SHUT_RDWR   /* No more receptions or transmissions.  */
86 #define SHUT_RDWR SHUT_RDWR
87 };
88 #endif
89
90 /* If sys/types.h does not supply intXX_t, supply them ourselves */
91 /* (or die trying) */
92 #ifndef HAVE_INTXX_T
93 # if (SIZEOF_SHORT_INT == 2)
94 #  define int16_t short int
95 # else
96 #  error "16 bit int type not found."
97 # endif
98 # if (SIZEOF_INT == 4)
99 #  define int32_t int
100 # else
101 #  error "32 bit int type not found."
102 # endif
103 # if (SIZEOF_LONG_INT == 8)
104 #  define int64_t long int
105 # else
106 #  if (SIZEOF_LONG_LONG_INT == 8)
107 #   define int64_t long long int
108 #  else
109 #   error "64 bit int type not found."
110 #  endif
111 # endif
112 #endif
113
114 /* If sys/types.h does not supply u_intXX_t, supply them ourselves */
115 #ifndef HAVE_U_INTXX_T
116 # ifdef HAVE_UINTXX_T
117 #  define u_int16_t uint16_t
118 #  define u_int32_t uint32_t
119 #  define u_int64_t uint64_t
120 # else
121 #  if (SIZEOF_SHORT_INT == 2)
122 #   define u_int16_t unsigned short int
123 #  else
124 #   error "16 bit int type not found."
125 #  endif
126 #  if (SIZEOF_INT == 4)
127 #   define u_int32_t unsigned int
128 #  else
129 #   error "32 bit int type not found."
130 #  endif
131 #  if (SIZEOF_LONG_INT == 8)
132 #   define u_int64_t unsigned long int
133 #  else
134 #   if (SIZEOF_LONG_LONG_INT == 8)
135 #    define u_int64_t unsigned long long int
136 #   else
137 #    error "64 bit int type not found."
138 #   endif
139 #  endif
140 # endif
141 #endif
142
143 /* If quad_t is not supplied, then supply it now. We can rely on int64_t */
144 /* being defined by the above */
145 #ifndef HAVE_QUAD_T
146 # define quad_t int64_t
147 #endif
148
149 #ifndef _PATH_LASTLOG
150 # ifdef LASTLOG_LOCATION
151 #  define _PATH_LASTLOG LASTLOG_LOCATION
152 # endif
153 #endif
154
155 #ifndef _PATH_UTMP
156 # ifdef UTMP_FILE
157 #  define _PATH_UTMP UTMP_FILE
158 # endif
159 #endif
160
161 #ifndef _PATH_WTMP
162 # ifdef WTMP_FILE
163 #  define _PATH_WTMP WTMP_FILE
164 # endif
165 #endif
166
167 #ifndef _PATH_BSHELL
168 # define _PATH_BSHELL "/bin/sh"
169 #endif
170
171 #ifndef _PATH_STDPATH
172 # define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin:"
173 #endif
174
175 #ifndef _PATH_MAILDIR
176 # ifdef MAILDIR
177 #  define _PATH_MAILDIR MAILDIR
178 # endif
179 #endif
180
181 #ifndef MAX
182 # define MAX(a,b) (((a)>(b))?(a):(b))
183 # define MIN(a,b) (((a)<(b))?(a):(b))
184 #endif
185
186 #ifndef timersub
187 #define timersub(a, b, result)                                                                            \
188    do {                                                                                                                                           \
189       (result)->tv_sec = (a)->tv_sec - (b)->tv_sec;           \
190       (result)->tv_usec = (a)->tv_usec - (b)->tv_usec;        \
191       if ((result)->tv_usec < 0) {                            \
192          --(result)->tv_sec;                                  \
193          (result)->tv_usec += 1000000;                        \
194       }                                                       \
195    } while (0)
196
197 #endif
This page took 0.050783 seconds and 5 git commands to generate.