1 #ifndef HEADER_CONFIG_VMS_H
2 #define HEADER_CONFIG_VMS_H
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 */
16 /* Define cpu-machine-OS */
18 # define OS "ALPHA-HP-VMS"
20 # define OS "VAX-HP-VMS"
22 # define OS "IA64-HP-VMS"
24 # define OS "UNKNOWN-HP-VMS"
27 /* Define if you have the ANSI C header files. */
28 #define STDC_HEADERS 1
30 /* Define if you can safely include both <sys/time.h> and <time.h>. */
31 #define TIME_WITH_SYS_TIME 1
33 /* The size of `int', as computed by sizeof. */
36 /* The size of `long double', as computed by sizeof. */
37 #define SIZEOF_LONG_DOUBLE 8
39 /* The size of `long long', as computed by sizeof. */
40 #define SIZEOF_LONG_LONG 8
42 /* The size of `short', as computed by sizeof. */
43 #define SIZEOF_SHORT 2
45 /* Define if you have the alarm function. */
48 /* Define if you have the geteuid function. */
49 #define HAVE_GETEUID 1
51 /* Define if you have the basename function. */
52 #define HAVE_BASENAME 1
54 /* Define if you have the gethostbyaddr function. */
55 #define HAVE_GETHOSTBYADDR 1
57 /* Define if you have the gethostname function. */
58 #define HAVE_GETHOSTNAME 1
60 /* Define if you have the getpwuid function. */
61 #define HAVE_GETPWUID 1
63 /* Define if you have the getservbyname function. */
64 #define HAVE_GETSERVBYNAME 1
66 /* Define if you have the gettimeofday function. */
67 #define HAVE_GETTIMEOFDAY 1
69 /* Define if you have the inet_addr function. */
70 #define HAVE_INET_ADDR 1
72 /* Define if you have the ioctl function. */
75 /* Define if you have a working ioctl FIONBIO function. */
76 #define HAVE_IOCTL_FIONBIO 1
78 /* Define if you have a working ioctl SIOCGIFADDR function. */
79 #define HAVE_IOCTL_SIOCGIFADDR 1
81 /* Define if you have the perror function. */
84 /* Define if you have the select function. */
87 /* Define if you have the setvbuf function. */
88 #define HAVE_SETVBUF 1
90 /* Define if you have the sigaction function. */
91 #define HAVE_SIGACTION 1
93 /* Define if you have the signal function. */
96 /* Define if you have the socket function. */
99 /* Define if you have the strcasecmp function. */
100 #define HAVE_STRCASECMP 1
102 /* Define if you have the strcmpi function. */
103 /* #define HAVE_STRCMPI 1 */
105 /* Define if you have the strdup function. */
106 #define HAVE_STRDUP 1
108 /* Define if you have the strftime function. */
109 #define HAVE_STRFTIME 1
111 /* Define if you have the stricmp function. */
112 /* #define HAVE_STRICMP 1 */
114 /* Define if you have the strstr function. */
115 #define HAVE_STRSTR 1
117 /* Define if you have the ftruncate function. */
118 #define HAVE_FTRUNCATE 1
120 /* Define if you have the uname function. */
123 /* Define if you have the <err.h> header file. */
126 /* Define if you have the <fcntl.h> header file. */
127 #define HAVE_FCNTL_H 1
129 /* Define if you have the <getopt.h> header file. */
130 #define HAVE_GETOPT_H 1
132 /* Define if you have the <malloc.h> header file. */
133 #define HAVE_MALLOC_H 1
135 /* Define if you need the malloc.h header header file even with stdlib.h */
136 /* #define NEED_MALLOC_H 1 */
138 /* Define if you have the <net/if.h> header file. */
139 #define HAVE_NET_IF_H 1
141 /* Define if you have the <netdb.h> header file. */
142 #define HAVE_NETDB_H 1
144 /* Define if you have the <netinet/if_ether.h> header file. */
145 #define HAVE_NETINET_IF_ETHER_H 1
147 /* Define if you have the <netinet/in.h> header file. */
148 #define HAVE_NETINET_IN_H 1
150 /* OpenSSL section starts here */
152 /* Define if you have a working OpenSSL installation */
155 /* if OpenSSL is in use */
156 #define USE_OPENSSL 1
158 /* Define if you have the crypto library (-lcrypto). */
159 #define HAVE_LIBCRYPTO 1
161 /* Define if you have the ssl library (-lssl). */
162 #define HAVE_LIBSSL 1
164 /* Define if you have the <openssl/crypto.h> header file. */
165 #define HAVE_OPENSSL_CRYPTO_H 1
167 /* Define if you have the <openssl/err.h> header file. */
168 #define HAVE_OPENSSL_ERR_H 1
170 /* Define if you have the <openssl/pem.h> header file. */
171 #define HAVE_OPENSSL_PEM_H 1
173 /* Define if you have the <openssl/rsa.h> header file. */
174 #define HAVE_OPENSSL_RSA_H 1
176 /* Define if you have the <openssl/ssl.h> header file. */
177 #define HAVE_OPENSSL_SSL_H 1
179 /* Define if you have the <openssl/x509.h> header file. */
180 #define HAVE_OPENSSL_X509_H 1
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.
187 #define HAVE_OPENSSL_ENGINE_H 1
189 #endif /* USE_SSLEAY */
190 /* OpenSSL section ends here */
192 /* Define if you have the <pwd.h> header file. */
195 /* Define if you have the <sgtty.h> header file. */
196 #define HAVE_SGTTY_H 1
198 /* Define if you have the <stdlib.h> header file. */
199 #define HAVE_STDLIB_H 1
201 /* Define if you have the <sys/socket.h> header file. */
202 #define HAVE_SYS_SOCKET_H 1
204 /* Define if you have the <sys/stat.h> header file. */
205 #define HAVE_SYS_STAT_H 1
207 /* Define if you have the <sys/time.h> header file. */
208 #define HAVE_SYS_TIME_H 1
210 /* Define if you have the <sys/types.h> header file. */
211 #define HAVE_SYS_TYPES_H 1
213 /* Define if you have the <termios.h> header file. */
214 #undef HAVE_TERMIOS_H
216 /* Define if you have the <time.h> header file. */
217 #define HAVE_TIME_H 1
219 /* Define if you have the <unistd.h> header file. */
220 #define HAVE_UNISTD_H 1
222 /* Define if you have the resolv library (-lresolv). */
223 #define HAVE_LIBRESOLV 1
225 /* Define if you have the socket library (-lsocket). */
226 #define HAVE_LIBSOCKET 1
228 /* Define if getaddrinfo exists and works */
229 #define HAVE_GETADDRINFO 1
231 /* Define if you have the <timeval.h> header file. */
232 #define HAVE_TIMEVAL_H 1
234 /* Define if you have the timeval struct. */
235 #define HAVE_STRUCT_TIMEVAL 1
237 /* Name of this package! */
238 #define PACKAGE "not-used"
240 /* Version number of this archive. */
241 #define VERSION "not-used"
243 /* Define if you have the getpass function. */
246 /* Define if you have the <inttypes.h> header file. */
247 #undef HAVE_INTTYPES_H
249 /* Define if you have the <strings.h> header file. */
250 #define HAVE_STRINGS_H 1
252 /* Define if you have the <string.h> header file. */
253 #define HAVE_STRING_H 1
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
261 /* Define if you have the `strtoll' function. */
262 #define HAVE_STRTOLL 1
264 /* Define if you have the <memory.h> header file. */
265 #define HAVE_MEMORY_H 1
267 /* Define to 1 if you need the memory.h header file even with stdlib.h */
268 #define NEED_MEMORY_H 1
270 /* Define if you have the `sigsetjmp' function. */
271 #define HAVE_SIGSETJMP 1
273 /* Define to 1 if you have the <setjmp.h> header file. */
274 #define HAVE_SETJMP_H 1
276 /* Define to 1 if you have the <limits.h> header file. */
277 #define HAVE_LIMITS_H 1
279 /* Define to 1 if you have the <sys/ioctl.h> header file. */
280 #define HAVE_SYS_IOCTL_H 1
282 /* Define to 1 if you have the <stropts.h> header file. */
283 #define HAVE_STROPTS_H 1
285 /* Define if you have the getnameinfo function. */
286 #define HAVE_GETNAMEINFO 1
288 /* Define to the type qualifier of arg 1 for getnameinfo. */
289 #define GETNAMEINFO_QUAL_ARG1 const
291 /* Define to the type of arg 1 for getnameinfo. */
292 #define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
294 /* Define to the type of arg 2 for getnameinfo. */
295 #define GETNAMEINFO_TYPE_ARG2 size_t
297 /* Define to the type of args 4 and 6 for getnameinfo. */
298 #define GETNAMEINFO_TYPE_ARG46 size_t
300 /* Define to the type of arg 7 for getnameinfo. */
301 #define GETNAMEINFO_TYPE_ARG7 int
303 /* Define if you have the recv function. */
306 /* Define to the type of arg 1 for recv. */
307 #define RECV_TYPE_ARG1 int
309 /* Define to the type of arg 2 for recv. */
310 #define RECV_TYPE_ARG2 void *
312 /* Define to the type of arg 3 for recv. */
313 #define RECV_TYPE_ARG3 int
315 /* Define to the type of arg 4 for recv. */
316 #define RECV_TYPE_ARG4 int
318 /* Define to the function return type for recv. */
319 #define RECV_TYPE_RETV int
321 /* Define if you have the recvfrom function. */
322 #define HAVE_RECVFROM 1
324 /* Define to the type of arg 1 for recvfrom. */
325 #define RECVFROM_TYPE_ARG1 int
327 /* Define to the type pointed by arg 2 for recvfrom. */
328 #define RECVFROM_TYPE_ARG2 void
330 /* Define if the type pointed by arg 2 for recvfrom is void. */
331 #define RECVFROM_TYPE_ARG2_IS_VOID 1
333 /* Define to the type of arg 3 for recvfrom. */
334 #define RECVFROM_TYPE_ARG3 int
336 /* Define to the type of arg 4 for recvfrom. */
337 #define RECVFROM_TYPE_ARG4 int
339 /* Define to the type pointed by arg 5 for recvfrom. */
340 #define RECVFROM_TYPE_ARG5 struct sockaddr
342 /* Define to the type pointed by arg 6 for recvfrom. */
343 #define RECVFROM_TYPE_ARG6 int
345 /* Define to the function return type for recvfrom. */
346 #define RECVFROM_TYPE_RETV int
348 /* Define if you have the send function. */
351 /* Define to the type of arg 1 for send. */
352 #define SEND_TYPE_ARG1 int
354 /* Define to the type qualifier of arg 2 for send. */
355 #define SEND_QUAL_ARG2 const
357 /* Define to the type of arg 2 for send. */
358 #define SEND_TYPE_ARG2 void *
360 /* Define to the type of arg 3 for send. */
361 #define SEND_TYPE_ARG3 int
363 /* Define to the type of arg 4 for send. */
364 #define SEND_TYPE_ARG4 int
366 /* Define to the function return type for send. */
367 #define SEND_TYPE_RETV int
369 /* Define to hide dollar sign from compilers in strict ansi mode. */
370 #define decc_translate_vms(__s) decc$translate_vms(__s)
372 #endif /* HEADER_CONFIG_VMS_H */