1 #ifndef HEADER_CONFIG_VMS_H
2 #define HEADER_CONFIG_VMS_H
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 */
15 /* Define cpu-machine-OS */
17 # define OS "ALPHA-HP-VMS"
19 # define OS "VAX-HP-VMS"
21 # define OS "IA64-HP-VMS"
23 # define OS "UNKNOWN-HP-VMS"
26 /* Define if you have the ANSI C header files. */
27 #define STDC_HEADERS 1
29 /* Define if you can safely include both <sys/time.h> and <time.h>. */
30 #define TIME_WITH_SYS_TIME 1
32 /* The size of `int', as computed by sizeof. */
35 /* The size of `long double', as computed by sizeof. */
36 #define SIZEOF_LONG_DOUBLE 8
38 /* The size of `long long', as computed by sizeof. */
39 #define SIZEOF_LONG_LONG 8
41 /* The size of `short', as computed by sizeof. */
42 #define SIZEOF_SHORT 2
44 /* The size of `size_t', as computed by sizeof. */
45 #define SIZEOF_SIZE_T 4
47 /* Define if you have the alarm function. */
50 /* Define if you have the geteuid function. */
51 #define HAVE_GETEUID 1
53 /* Define if you have the basename function. */
54 #define HAVE_BASENAME 1
56 /* Define if you have the gethostbyaddr function. */
57 #define HAVE_GETHOSTBYADDR 1
59 /* Define if you have the gethostname function. */
60 #define HAVE_GETHOSTNAME 1
62 /* Define if you have the getpwuid function. */
63 #define HAVE_GETPWUID 1
65 /* Define if you have the getservbyname function. */
66 #define HAVE_GETSERVBYNAME 1
68 /* Define if you have the gettimeofday function. */
69 #define HAVE_GETTIMEOFDAY 1
71 /* Define if you have the inet_addr function. */
72 #define HAVE_INET_ADDR 1
74 /* Define if you have the ioctl function. */
77 /* Define if you have a working ioctl FIONBIO function. */
78 #define HAVE_IOCTL_FIONBIO 1
80 /* Define if you have a working ioctl SIOCGIFADDR function. */
81 #define HAVE_IOCTL_SIOCGIFADDR 1
83 /* Define if you have the perror function. */
86 /* Define if you have the select function. */
89 /* Define if you have the setvbuf function. */
90 #define HAVE_SETVBUF 1
92 /* Define if you have the sigaction function. */
93 #define HAVE_SIGACTION 1
95 /* Define if you have the signal function. */
98 /* Define if you have the socket function. */
101 /* Define if you have the strcasecmp function. */
102 #define HAVE_STRCASECMP 1
104 /* Define if you have the strcmpi function. */
105 /* #define HAVE_STRCMPI 1 */
107 /* Define if you have the strdup function. */
108 #define HAVE_STRDUP 1
110 /* Define if you have the strftime function. */
111 #define HAVE_STRFTIME 1
113 /* Define if you have the stricmp function. */
114 /* #define HAVE_STRICMP 1 */
116 /* Define if you have the strstr function. */
117 #define HAVE_STRSTR 1
119 /* Define if you have the ftruncate function. */
120 #define HAVE_FTRUNCATE 1
122 /* Define if you have the uname function. */
125 /* Define if you have the <err.h> header file. */
128 /* Define if you have the <fcntl.h> header file. */
129 #define HAVE_FCNTL_H 1
131 /* Define if you have the <getopt.h> header file. */
132 #define HAVE_GETOPT_H 1
134 /* Define if you have the <malloc.h> header file. */
135 #define HAVE_MALLOC_H 1
137 /* Define if you need the malloc.h header header file even with stdlib.h */
138 /* #define NEED_MALLOC_H 1 */
140 /* Define if you have the <net/if.h> header file. */
141 #define HAVE_NET_IF_H 1
143 /* Define if you have the <netdb.h> header file. */
144 #define HAVE_NETDB_H 1
146 /* Define if you have the <netinet/if_ether.h> header file. */
147 #define HAVE_NETINET_IF_ETHER_H 1
149 /* Define if you have the <netinet/in.h> header file. */
150 #define HAVE_NETINET_IN_H 1
152 /* OpenSSL section starts here */
154 /* Define if you have a working OpenSSL installation */
157 /* if OpenSSL is in use */
158 #define USE_OPENSSL 1
160 /* Define if you have the crypto library (-lcrypto). */
161 #define HAVE_LIBCRYPTO 1
163 /* Define if you have the ssl library (-lssl). */
164 #define HAVE_LIBSSL 1
166 /* Define if you have the <openssl/crypto.h> header file. */
167 #define HAVE_OPENSSL_CRYPTO_H 1
169 /* Define if you have the <openssl/err.h> header file. */
170 #define HAVE_OPENSSL_ERR_H 1
172 /* Define if you have the <openssl/pem.h> header file. */
173 #define HAVE_OPENSSL_PEM_H 1
175 /* Define if you have the <openssl/rsa.h> header file. */
176 #define HAVE_OPENSSL_RSA_H 1
178 /* Define if you have the <openssl/ssl.h> header file. */
179 #define HAVE_OPENSSL_SSL_H 1
181 /* Define if you have the <openssl/x509.h> header file. */
182 #define HAVE_OPENSSL_X509_H 1
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.
189 #define HAVE_OPENSSL_ENGINE_H 1
191 #endif /* USE_SSLEAY */
192 /* OpenSSL section ends here */
194 /* Define if you have the <pwd.h> header file. */
197 /* Define if you have the <sgtty.h> header file. */
198 #define HAVE_SGTTY_H 1
200 /* Define if you have the <stdlib.h> header file. */
201 #define HAVE_STDLIB_H 1
203 /* Define if you have the <sys/socket.h> header file. */
204 #define HAVE_SYS_SOCKET_H 1
206 /* Define if you have the <sys/stat.h> header file. */
207 #define HAVE_SYS_STAT_H 1
209 /* Define if you have the <sys/time.h> header file. */
210 #define HAVE_SYS_TIME_H 1
212 /* Define if you have the <sys/types.h> header file. */
213 #define HAVE_SYS_TYPES_H 1
215 /* Define if you have the <termios.h> header file. */
216 #undef HAVE_TERMIOS_H
218 /* Define if you have the <time.h> header file. */
219 #define HAVE_TIME_H 1
221 /* Define if you have the <unistd.h> header file. */
222 #define HAVE_UNISTD_H 1
224 /* Define if you have the resolv library (-lresolv). */
225 #define HAVE_LIBRESOLV 1
227 /* Define if you have the socket library (-lsocket). */
228 #define HAVE_LIBSOCKET 1
230 /* Define if getaddrinfo exists and works */
231 #define HAVE_GETADDRINFO 1
233 /* Define if you have the <timeval.h> header file. */
234 #define HAVE_TIMEVAL_H 1
236 /* Define if you have the timeval struct. */
237 #define HAVE_STRUCT_TIMEVAL 1
239 /* Name of this package! */
240 #define PACKAGE "not-used"
242 /* Version number of this archive. */
243 #define VERSION "not-used"
245 /* Define if you have the getpass function. */
248 /* Define if you have the <inttypes.h> header file. */
249 #undef HAVE_INTTYPES_H
251 /* Define if you have the <strings.h> header file. */
252 #define HAVE_STRINGS_H 1
254 /* Define if you have the <string.h> header file. */
255 #define HAVE_STRING_H 1
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
263 /* Define if you have the `strtoll' function. */
264 #define HAVE_STRTOLL 1
266 /* Define if you have the <memory.h> header file. */
267 #define HAVE_MEMORY_H 1
269 /* Define to 1 if you need the memory.h header file even with stdlib.h */
270 #define NEED_MEMORY_H 1
272 /* Define if you have the `sigsetjmp' function. */
273 #define HAVE_SIGSETJMP 1
275 /* Define to 1 if you have the <setjmp.h> header file. */
276 #define HAVE_SETJMP_H 1
278 /* Define to 1 if you have the <limits.h> header file. */
279 #define HAVE_LIMITS_H 1
281 /* Define to 1 if you have the <sys/ioctl.h> header file. */
282 #define HAVE_SYS_IOCTL_H 1
284 /* Define to 1 if you have the <stropts.h> header file. */
285 #define HAVE_STROPTS_H 1
287 /* Define if you have the getnameinfo function. */
288 #define HAVE_GETNAMEINFO 1
290 /* Define to the type qualifier of arg 1 for getnameinfo. */
291 #define GETNAMEINFO_QUAL_ARG1 const
293 /* Define to the type of arg 1 for getnameinfo. */
294 #define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
296 /* Define to the type of arg 2 for getnameinfo. */
297 #define GETNAMEINFO_TYPE_ARG2 size_t
299 /* Define to the type of args 4 and 6 for getnameinfo. */
300 #define GETNAMEINFO_TYPE_ARG46 size_t
302 /* Define to the type of arg 7 for getnameinfo. */
303 #define GETNAMEINFO_TYPE_ARG7 int
305 /* Define if you have the recv function. */
308 /* Define to the type of arg 1 for recv. */
309 #define RECV_TYPE_ARG1 int
311 /* Define to the type of arg 2 for recv. */
312 #define RECV_TYPE_ARG2 void *
314 /* Define to the type of arg 3 for recv. */
315 #define RECV_TYPE_ARG3 int
317 /* Define to the type of arg 4 for recv. */
318 #define RECV_TYPE_ARG4 int
320 /* Define to the function return type for recv. */
321 #define RECV_TYPE_RETV int
323 /* Define if you have the recvfrom function. */
324 #define HAVE_RECVFROM 1
326 /* Define to the type of arg 1 for recvfrom. */
327 #define RECVFROM_TYPE_ARG1 int
329 /* Define to the type pointed by arg 2 for recvfrom. */
330 #define RECVFROM_TYPE_ARG2 void
332 /* Define if the type pointed by arg 2 for recvfrom is void. */
333 #define RECVFROM_TYPE_ARG2_IS_VOID 1
335 /* Define to the type of arg 3 for recvfrom. */
336 #define RECVFROM_TYPE_ARG3 int
338 /* Define to the type of arg 4 for recvfrom. */
339 #define RECVFROM_TYPE_ARG4 int
341 /* Define to the type pointed by arg 5 for recvfrom. */
342 #define RECVFROM_TYPE_ARG5 struct sockaddr
344 /* Define to the type pointed by arg 6 for recvfrom. */
345 #define RECVFROM_TYPE_ARG6 int
347 /* Define to the function return type for recvfrom. */
348 #define RECVFROM_TYPE_RETV int
350 /* Define if you have the send function. */
353 /* Define to the type of arg 1 for send. */
354 #define SEND_TYPE_ARG1 int
356 /* Define to the type qualifier of arg 2 for send. */
357 #define SEND_QUAL_ARG2 const
359 /* Define to the type of arg 2 for send. */
360 #define SEND_TYPE_ARG2 void *
362 /* Define to the type of arg 3 for send. */
363 #define SEND_TYPE_ARG3 int
365 /* Define to the type of arg 4 for send. */
366 #define SEND_TYPE_ARG4 int
368 /* Define to the function return type for send. */
369 #define SEND_TYPE_RETV int
371 /* Define to hide dollar sign from compilers in strict ansi mode. */
372 #define decc_translate_vms(__s) decc$translate_vms(__s)
374 #endif /* HEADER_CONFIG_VMS_H */