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