73ef5c026585a7b3df0fff8389bf711b9c00dfd6
[external/curl.git] / lib / config-vms.h
1 #ifndef HEADER_CONFIG_VMS_H
2 #define HEADER_CONFIG_VMS_H
3
4 /*                                                                         */
5 /* MSK, 02/05/04, Hand edited for trail build on Alpha V7.3, DEC C 6.5-003 */
6 /* MSK, 03/09/04, Seems to work for all platforms I've built on so far.    */
7 /*      Added HAVE_SYS_IOCTL_H define                                      */
8 /* TES, 10/06/04, Added MAX_INITIAL_POST_SIZE, HAVE_BASENAME               */
9 /* MSK, 02/02/05, Changed HAVE_TERMIOS_H to an undef since the change in   */
10 /*                getpass.c no longer undef'd it during compile.           */
11 /* MSK, 02/08/05, turned two config-vms files into one by using USE_SSLEAY */
12 /* MPZ, 12/28/05, changed HAVE_STRTOK_R define to use CRTL_VER             */
13 /* MSK, 01/27/07, needed to add HAVE_STRUCT_TIMEVAL define                 */
14
15 /* Define cpu-machine-OS */
16 #if defined(__alpha)
17 #  define OS "ALPHA-HP-VMS"
18 #elif defined(__vax)
19 #  define OS "VAX-HP-VMS"
20 #elif defined(__ia64)
21 #  define OS "IA64-HP-VMS"
22 #else
23 #  define OS "UNKNOWN-HP-VMS"
24 #endif
25
26 /* Define if you have the ANSI C header files.  */
27 #define STDC_HEADERS 1
28
29 /* Define if you can safely include both <sys/time.h> and <time.h>.  */
30 #define TIME_WITH_SYS_TIME 1
31
32 /* The size of `int', as computed by sizeof. */
33 #define SIZEOF_INT 4
34
35 /* The size of `long double', as computed by sizeof. */
36 #define SIZEOF_LONG_DOUBLE 8
37
38 /* The size of `long long', as computed by sizeof. */
39 #define SIZEOF_LONG_LONG 8
40
41 /* The size of `short', as computed by sizeof. */
42 #define SIZEOF_SHORT 2
43
44 /* The size of `size_t', as computed by sizeof. */
45 #define SIZEOF_SIZE_T 4
46
47 /* Define if you have the alarm function.  */
48 #define HAVE_ALARM 1
49
50 /* Define if you have the geteuid function.  */
51 #define HAVE_GETEUID 1
52
53 /* Define if you have the basename function. */
54 #define HAVE_BASENAME 1
55
56 /* Define if you have the gethostbyaddr function.  */
57 #define HAVE_GETHOSTBYADDR 1
58
59 /* Define if you have the gethostname function.  */
60 #define HAVE_GETHOSTNAME 1
61
62 /* Define if you have the getpwuid function.  */
63 #define HAVE_GETPWUID 1
64
65 /* Define if you have the getservbyname function.  */
66 #define HAVE_GETSERVBYNAME 1
67
68 /* Define if you have the gettimeofday function.  */
69 #define HAVE_GETTIMEOFDAY 1
70
71 /* Define if you have the inet_addr function.  */
72 #define HAVE_INET_ADDR 1
73
74 /* Define if you have the ioctl function. */
75 #define HAVE_IOCTL 1
76
77 /* Define if you have a working ioctl FIONBIO function. */
78 #define HAVE_IOCTL_FIONBIO 1
79
80 /* Define if you have a working ioctl SIOCGIFADDR function. */
81 #define HAVE_IOCTL_SIOCGIFADDR 1
82
83 /* Define if you have the perror function.  */
84 #define HAVE_PERROR 1
85
86 /* Define if you have the select function.  */
87 #define HAVE_SELECT 1
88
89 /* Define if you have the setvbuf function.  */
90 #define HAVE_SETVBUF 1
91
92 /* Define if you have the sigaction function.  */
93 #define HAVE_SIGACTION 1
94
95 /* Define if you have the signal function.  */
96 #define HAVE_SIGNAL 1
97
98 /* Define if you have the socket function.  */
99 #define HAVE_SOCKET 1
100
101 /* Define if you have the strcasecmp function.  */
102 #define HAVE_STRCASECMP 1
103
104 /* Define if you have the strcmpi function.  */
105 /* #define HAVE_STRCMPI 1 */
106
107 /* Define if you have the strdup function.  */
108 #define HAVE_STRDUP 1
109
110 /* Define if you have the strftime function.  */
111 #define HAVE_STRFTIME 1
112
113 /* Define if you have the stricmp function.  */
114 /* #define HAVE_STRICMP 1 */
115
116 /* Define if you have the strstr function.  */
117 #define HAVE_STRSTR 1
118
119 /* Define if you have the ftruncate function. */
120 #define HAVE_FTRUNCATE 1
121
122 /* Define if you have the uname function.  */
123 #define HAVE_UNAME 1
124
125 /* Define if you have the <err.h> header file.  */
126 #define HAVE_ERR_H 1
127
128 /* Define if you have the <fcntl.h> header file.  */
129 #define HAVE_FCNTL_H 1
130
131 /* Define if you have the <getopt.h> header file.  */
132 #define HAVE_GETOPT_H 1
133
134 /* Define if you have the <malloc.h> header file.  */
135 #define HAVE_MALLOC_H 1
136
137 /* Define if you need the malloc.h header header file even with stdlib.h  */
138 /* #define NEED_MALLOC_H 1 */
139
140 /* Define if you have the <net/if.h> header file.  */
141 #define HAVE_NET_IF_H 1
142
143 /* Define if you have the <netdb.h> header file.  */
144 #define HAVE_NETDB_H 1
145
146 /* Define if you have the <netinet/if_ether.h> header file.  */
147 #define HAVE_NETINET_IF_ETHER_H 1
148
149 /* Define if you have the <netinet/in.h> header file.  */
150 #define HAVE_NETINET_IN_H 1
151
152 /* OpenSSL section starts here */
153
154 /* Define if you have a working OpenSSL installation */
155 #ifdef USE_SSLEAY
156
157 /* if OpenSSL is in use */
158 #define USE_OPENSSL 1
159
160 /* Define if you have the crypto library (-lcrypto).  */
161 #define HAVE_LIBCRYPTO 1
162
163 /* Define if you have the ssl library (-lssl).  */
164 #define HAVE_LIBSSL 1
165
166 /* Define if you have the <openssl/crypto.h> header file.  */
167 #define HAVE_OPENSSL_CRYPTO_H 1
168
169 /* Define if you have the <openssl/err.h> header file.  */
170 #define HAVE_OPENSSL_ERR_H 1
171
172 /* Define if you have the <openssl/pem.h> header file.  */
173 #define HAVE_OPENSSL_PEM_H 1
174
175 /* Define if you have the <openssl/rsa.h> header file.  */
176 #define HAVE_OPENSSL_RSA_H 1
177
178 /* Define if you have the <openssl/ssl.h> header file.  */
179 #define HAVE_OPENSSL_SSL_H 1
180
181 /* Define if you have the <openssl/x509.h> header file.  */
182 #define HAVE_OPENSSL_X509_H 1
183
184 /*
185  * This needs to be defined for OpenSSL 0.9.7 and other versions that have the
186  * ENGINE stuff supported. If an include of "openssl/engine.h" fails, then
187  * undefine the define below.
188 */
189 #define HAVE_OPENSSL_ENGINE_H 1
190
191 #endif /* USE_SSLEAY */
192 /* OpenSSL section ends here */
193
194 /* Define if you have the <pwd.h> header file.  */
195 #define HAVE_PWD_H 1
196
197 /* Define if you have the <sgtty.h> header file.  */
198 #define HAVE_SGTTY_H 1
199
200 /* Define if you have the <stdlib.h> header file.  */
201 #define HAVE_STDLIB_H 1
202
203 /* Define if you have the <sys/socket.h> header file.  */
204 #define HAVE_SYS_SOCKET_H 1
205
206 /* Define if you have the <sys/stat.h> header file.  */
207 #define HAVE_SYS_STAT_H 1
208
209 /* Define if you have the <sys/time.h> header file.  */
210 #define HAVE_SYS_TIME_H 1
211
212 /* Define if you have the <sys/types.h> header file.  */
213 #define HAVE_SYS_TYPES_H 1
214
215 /* Define if you have the <termios.h> header file.  */
216 #undef HAVE_TERMIOS_H
217
218 /* Define if you have the <time.h> header file.  */
219 #define HAVE_TIME_H 1
220
221 /* Define if you have the <unistd.h> header file.  */
222 #define HAVE_UNISTD_H 1
223
224 /* Define if you have the resolv library (-lresolv).  */
225 #define HAVE_LIBRESOLV 1
226
227 /* Define if you have the socket library (-lsocket).  */
228 #define HAVE_LIBSOCKET 1
229
230 /* Define if getaddrinfo exists and works */
231 #define HAVE_GETADDRINFO 1
232
233 /* Define if you have the <timeval.h> header file.  */
234 #define HAVE_TIMEVAL_H 1
235
236 /* Define if you have the timeval struct.  */
237 #define HAVE_STRUCT_TIMEVAL 1
238
239 /* Name of this package! */
240 #define PACKAGE "not-used"
241
242 /* Version number of this archive. */
243 #define VERSION "not-used"
244
245 /* Define if you have the getpass function.  */
246 #undef HAVE_GETPASS
247
248 /* Define if you have the <inttypes.h> header file. */
249 #undef HAVE_INTTYPES_H
250
251 /* Define if you have the <strings.h> header file. */
252 #define HAVE_STRINGS_H 1
253
254 /* Define if you have the <string.h> header file. */
255 #define HAVE_STRING_H 1
256
257 /* Define if you have the `strtok_r' function.  */
258 /* Condition lifted from <string.h>             */
259 #if __CRTL_VER >= 70301000
260 #  define HAVE_STRTOK_R 1
261 #endif
262
263 /* Define if you have the `strtoll' function. */
264 #define HAVE_STRTOLL 1
265
266 /* Define if you have the <memory.h> header file. */
267 #define HAVE_MEMORY_H 1
268
269 /* Define to 1 if you need the memory.h header file even with stdlib.h */
270 #define NEED_MEMORY_H 1
271
272 /* Define if you have the `sigsetjmp' function. */
273 #define HAVE_SIGSETJMP 1
274
275 /* Define to 1 if you have the <setjmp.h> header file. */
276 #define HAVE_SETJMP_H 1
277
278 /* Define to 1 if you have the <limits.h> header file. */
279 #define HAVE_LIMITS_H 1
280
281 /* Define to 1 if you have the <sys/ioctl.h> header file. */
282 #define HAVE_SYS_IOCTL_H 1
283
284 /* Define to 1 if you have the <stropts.h> header file. */
285 #define HAVE_STROPTS_H 1
286
287 /* Define if you have the getnameinfo function. */
288 #define HAVE_GETNAMEINFO 1
289
290 /* Define to the type qualifier of arg 1 for getnameinfo. */
291 #define GETNAMEINFO_QUAL_ARG1 const
292
293 /* Define to the type of arg 1 for getnameinfo. */
294 #define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
295
296 /* Define to the type of arg 2 for getnameinfo. */
297 #define GETNAMEINFO_TYPE_ARG2 size_t
298
299 /* Define to the type of args 4 and 6 for getnameinfo. */
300 #define GETNAMEINFO_TYPE_ARG46 size_t
301
302 /* Define to the type of arg 7 for getnameinfo. */
303 #define GETNAMEINFO_TYPE_ARG7 int
304
305 /* Define if you have the recv function. */
306 #define HAVE_RECV 1
307
308 /* Define to the type of arg 1 for recv. */
309 #define RECV_TYPE_ARG1 int
310
311 /* Define to the type of arg 2 for recv. */
312 #define RECV_TYPE_ARG2 void *
313
314 /* Define to the type of arg 3 for recv. */
315 #define RECV_TYPE_ARG3 int
316
317 /* Define to the type of arg 4 for recv. */
318 #define RECV_TYPE_ARG4 int
319
320 /* Define to the function return type for recv. */
321 #define RECV_TYPE_RETV int
322
323 /* Define if you have the recvfrom function. */
324 #define HAVE_RECVFROM 1
325
326 /* Define to the type of arg 1 for recvfrom. */
327 #define RECVFROM_TYPE_ARG1 int
328
329 /* Define to the type pointed by arg 2 for recvfrom. */
330 #define RECVFROM_TYPE_ARG2 void
331
332 /* Define if the type pointed by arg 2 for recvfrom is void. */
333 #define RECVFROM_TYPE_ARG2_IS_VOID 1
334
335 /* Define to the type of arg 3 for recvfrom. */
336 #define RECVFROM_TYPE_ARG3 int
337
338 /* Define to the type of arg 4 for recvfrom. */
339 #define RECVFROM_TYPE_ARG4 int
340
341 /* Define to the type pointed by arg 5 for recvfrom. */
342 #define RECVFROM_TYPE_ARG5 struct sockaddr
343
344 /* Define to the type pointed by arg 6 for recvfrom. */
345 #define RECVFROM_TYPE_ARG6 int
346
347 /* Define to the function return type for recvfrom. */
348 #define RECVFROM_TYPE_RETV int
349
350 /* Define if you have the send function. */
351 #define HAVE_SEND 1
352
353 /* Define to the type of arg 1 for send. */
354 #define SEND_TYPE_ARG1 int
355
356 /* Define to the type qualifier of arg 2 for send. */
357 #define SEND_QUAL_ARG2 const
358
359 /* Define to the type of arg 2 for send. */
360 #define SEND_TYPE_ARG2 void *
361
362 /* Define to the type of arg 3 for send. */
363 #define SEND_TYPE_ARG3 int
364
365 /* Define to the type of arg 4 for send. */
366 #define SEND_TYPE_ARG4 int
367
368 /* Define to the function return type for send. */
369 #define SEND_TYPE_RETV int
370
371 /* Define to hide dollar sign from compilers in strict ansi mode. */
372 #define decc_translate_vms(__s) decc$translate_vms(__s)
373
374 #endif /* HEADER_CONFIG_VMS_H */