1 /* ================================================================ */
2 /* lib/config-os400.h - Hand crafted config file for OS/400 */
3 /* ================================================================ */
9 /* Version number of this archive. */
12 /* Define if you have the getpass function. */
15 /* Define cpu-machine-OS */
18 /* Define if you have the gethostbyaddr_r() function with 5 arguments */
19 #define HAVE_GETHOSTBYADDR_R_5
21 /* Define if you have the gethostbyaddr_r() function with 7 arguments */
22 #undef HAVE_GETHOSTBYADDR_R_7
24 /* Define if you have the gethostbyaddr_r() function with 8 arguments */
25 #undef HAVE_GETHOSTBYADDR_R_8
27 /* OS400 supports a 3-argument ASCII version of gethostbyaddr_r(), but its
28 * prototype is incompatible with the "standard" one (1st argument is not
29 * const). However, getaddrinfo() is supported (ASCII version defined as
30 * a local wrapper in setup-os400.h) in a threadsafe way: we can then
31 * configure getaddrinfo() as such and get rid of gethostbyname_r() without
32 * loss of threadsafeness. */
33 #undef HAVE_GETHOSTBYNAME_R
34 #undef HAVE_GETHOSTBYNAME_R_3
35 #undef HAVE_GETHOSTBYNAME_R_5
36 #undef HAVE_GETHOSTBYNAME_R_6
37 #define HAVE_GETADDRINFO
38 #define HAVE_GETADDRINFO_THREADSAFE
40 /* Define if you need the _REENTRANT define for some functions */
43 /* Define if you have the Kerberos4 libraries (including -ldes) */
46 /* Define if you want to enable IPv6 support */
49 /* Define if struct sockaddr_in6 has the sin6_scope_id member */
50 #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
52 /* Define this to 'int' if ssize_t is not an available typedefed type */
55 /* Define this as a suitable file to read random data from */
58 /* Define this to your Entropy Gathering Daemon socket pathname */
61 /* Define to 1 if you have the alarm function. */
64 /* Define if you have the <alloca.h> header file. */
67 /* Define if you have the <arpa/inet.h> header file. */
68 #define HAVE_ARPA_INET_H
70 /* Define if you have the `closesocket' function. */
71 #undef HAVE_CLOSESOCKET
73 /* Define if you have the <crypto.h> header file. */
76 /* Define if you have the <des.h> header file. */
79 /* Define if you have the <err.h> header file. */
82 /* Define if you have the <fcntl.h> header file. */
85 /* Define if you have the `geteuid' function. */
88 /* Define if you have the `gethostbyaddr' function. */
89 #define HAVE_GETHOSTBYADDR
91 /* Define if you have the `gethostbyaddr_r' function. */
92 #define HAVE_GETHOSTBYADDR_R
94 /* Define if you have the `gethostname' function. */
95 #define HAVE_GETHOSTNAME
97 /* Define if you have the <getopt.h> header file. */
100 /* Define if you have the `getpass_r' function. */
101 #undef HAVE_GETPASS_R
103 /* Define if you have the `getpwuid' function. */
104 #define HAVE_GETPWUID
106 /* Define if you have the `getservbyname' function. */
107 #define HAVE_GETSERVBYNAME
109 /* Define if you have the `gettimeofday' function. */
110 #define HAVE_GETTIMEOFDAY
112 /* Define if you have the `timeval' struct. */
113 #define HAVE_STRUCT_TIMEVAL
115 /* Define if you have the `inet_addr' function. */
116 #define HAVE_INET_ADDR
118 /* Define if you have the <inttypes.h> header file. */
119 #define HAVE_INTTYPES_H
121 /* Define if you have the <io.h> header file. */
124 /* Define if you have the `krb_get_our_ip_for_realm' function. */
125 #undef HAVE_KRB_GET_OUR_IP_FOR_REALM
127 /* Define if you have the <krb.h> header file. */
130 /* Define if you have the `crypto' library (-lcrypto). */
131 #undef HAVE_LIBCRYPTO
133 /* Define if you have the `nsl' library (-lnsl). */
136 /* Define if you have the `resolv' library (-lresolv). */
137 #undef HAVE_LIBRESOLV
139 /* Define if you have the `resolve' library (-lresolve). */
140 #undef HAVE_LIBRESOLVE
142 /* Define if you have the `socket' library (-lsocket). */
143 #undef HAVE_LIBSOCKET
145 /* Define if you have the `ssl' library (-lssl). */
148 /* Define if you have GSS API. */
151 /* Define if you have the `ucb' library (-lucb). */
154 /* Define if you have the `localtime_r' function. */
155 #define HAVE_LOCALTIME_R
157 /* Define if you have the <malloc.h> header file. */
158 #define HAVE_MALLOC_H
160 /* Define if you need the malloc.h header file even with stdlib.h */
161 /* #define NEED_MALLOC_H 1 */
163 /* Define if you have the <memory.h> header file. */
166 /* Define if you have the <netdb.h> header file. */
169 /* Define if you have the <netinet/if_ether.h> header file. */
170 #undef HAVE_NETINET_IF_ETHER_H
172 /* Define if you have the <netinet/in.h> header file. */
173 #define HAVE_NETINET_IN_H
175 /* Define if you have the <net/if.h> header file. */
176 #define HAVE_NET_IF_H
178 /* Define if you have the <openssl/crypto.h> header file. */
179 #undef HAVE_OPENSSL_CRYPTO_H
181 /* Define if you have the <openssl/err.h> header file. */
182 #undef HAVE_OPENSSL_ERR_H
184 /* Define if you have the <openssl/pem.h> header file. */
185 #undef HAVE_OPENSSL_PEM_H
187 /* Define if you have the <openssl/rsa.h> header file. */
188 #undef HAVE_OPENSSL_RSA_H
190 /* Define if you have the <openssl/ssl.h> header file. */
191 #undef HAVE_OPENSSL_SSL_H
193 /* Define if you have the <openssl/x509.h> header file. */
194 #undef HAVE_OPENSSL_X509_H
196 /* Define if you have the <pem.h> header file. */
199 /* Define if you have the `perror' function. */
202 /* Define if you have the <pwd.h> header file. */
205 /* Define if you have the `RAND_egd' function. */
208 /* Define if you have the `RAND_screen' function. */
209 #undef HAVE_RAND_SCREEN
211 /* Define if you have the `RAND_status' function. */
212 #undef HAVE_RAND_STATUS
214 /* Define if you have the <rsa.h> header file. */
217 /* Define if you have the `select' function. */
220 /* Define if you have the `setvbuf' function. */
223 /* Define if you have the <sgtty.h> header file. */
226 /* Define if you have the `sigaction' function. */
227 #define HAVE_SIGACTION
229 /* Define if you have the `signal' function. */
232 /* Define if you have the <signal.h> header file. */
233 #define HAVE_SIGNAL_H
235 /* Define if sig_atomic_t is an available typedef. */
236 #define HAVE_SIG_ATOMIC_T
238 /* Define if sig_atomic_t is already defined as volatile. */
239 #undef HAVE_SIG_ATOMIC_T_VOLATILE
241 /* Define if you have the `socket' function. */
244 /* Define if you have the <ssl.h> header file. */
247 /* Define if you have the <stdint.h> header file. */
250 /* Define if you have the <stdlib.h> header file. */
251 #define HAVE_STDLIB_H
253 /* Define if you have the `strcasecmp' function. */
254 #undef HAVE_STRCASECMP
256 /* Define if you have the `strcmpi' function. */
259 /* Define if you have the `strdup' function. */
262 /* Define if you have the `strftime' function. */
263 #define HAVE_STRFTIME
265 /* Define if you have the `stricmp' function. */
268 /* Define if you have the <strings.h> header file. */
269 #define HAVE_STRINGS_H
271 /* Define if you have the <string.h> header file. */
272 #define HAVE_STRING_H
274 /* Define if you have the `strlcat' function. */
277 /* Define if you have the `strlcpy' function. */
280 /* Define if you have the <stropts.h> header file. */
281 #undef HAVE_STROPTS_H
283 /* Define if you have the `strstr' function. */
286 /* Define if you have the `strtok_r' function. */
287 #define HAVE_STRTOK_R
289 /* Define if you have the `strtoll' function. */
290 #undef HAVE_STRTOLL /* Allows ASCII compile on V5R1. */
292 /* Define if you have the <sys/param.h> header file. */
293 #define HAVE_SYS_PARAM_H
295 /* Define if you have the <sys/select.h> header file. */
296 #undef HAVE_SYS_SELECT_H
298 /* Define if you have the <sys/socket.h> header file. */
299 #define HAVE_SYS_SOCKET_H
301 /* Define if you have the <sys/sockio.h> header file. */
302 #undef HAVE_SYS_SOCKIO_H
304 /* Define if you have the <sys/stat.h> header file. */
305 #define HAVE_SYS_STAT_H
307 /* Define if you have the <sys/time.h> header file. */
308 #define HAVE_SYS_TIME_H
310 /* Define if you have the <sys/types.h> header file. */
311 #define HAVE_SYS_TYPES_H
313 /* Define if you have the <sys/un.h> header file. */
314 #define HAVE_SYS_UN_H
316 /* Define if you have the <sys/ioctl.h> header file. */
317 #define HAVE_SYS_IOCTL_H
319 /* Define if you have the `tcgetattr' function. */
320 #undef HAVE_TCGETATTR
322 /* Define if you have the `tcsetattr' function. */
323 #undef HAVE_TCSETATTR
325 /* Define if you have the <termios.h> header file. */
326 #undef HAVE_TERMIOS_H
328 /* Define if you have the <termio.h> header file. */
331 /* Define if you have the <time.h> header file. */
334 /* Define if you have the `uname' function. */
337 /* Define if you have the <unistd.h> header file. */
338 #define HAVE_UNISTD_H
340 /* Define if you have the <winsock.h> header file. */
341 #undef HAVE_WINSOCK_H
343 /* Define if you have the <x509.h> header file. */
346 /* Name of package */
349 /* Define as the return type of signal handlers (`int' or `void'). */
350 #define RETSIGTYPE void
352 /* The size of `int', as computed by sizeof. */
355 /* The size of a `long double', as computed by sizeof. */
356 #define SIZEOF_LONG_DOUBLE 8
358 /* Define if the compiler supports the 'long long' data type. */
359 #define HAVE_LONGLONG
361 /* The size of a `long long', as computed by sizeof. */
362 #define SIZEOF_LONG_LONG 8
364 /* The size of `short', as computed by sizeof. */
365 #define SIZEOF_SHORT 2
367 /* The size of `size_t', as computed by sizeof. */
368 #define SIZEOF_SIZE_T 8
370 /* Whether long long constants must be suffixed by LL. */
374 /* Define this if you have struct sockaddr_storage */
375 #define HAVE_STRUCT_SOCKADDR_STORAGE
377 /* Define if you have the ANSI C header files. */
380 /* Define if you can safely include both <sys/time.h> and <time.h>. */
381 #define TIME_WITH_SYS_TIME
383 /* Version number of package */
386 /* Number of bits in a file offset, on hosts where this is settable. */
387 #undef _FILE_OFFSET_BITS
389 /* Define for large files, on AIX-style hosts. */
392 /* Define to empty if `const' does not conform to ANSI C. */
395 /* type to use in place of in_addr_t if not defined */
396 #define in_addr_t unsigned long
398 /* Define to `unsigned' if <sys/types.h> does not define. */
401 /* Define if you have the ioctl function. */
404 /* Define if you have a working ioctl FIONBIO function. */
405 #define HAVE_IOCTL_FIONBIO
407 /* Define if you have a working ioctl SIOCGIFADDR function. */
408 #define HAVE_IOCTL_SIOCGIFADDR
410 /* To disable LDAP */
411 #undef CURL_DISABLE_LDAP
413 /* To avoid external use of library hidden symbols */
414 #define CURL_HIDDEN_SYMBOLS
416 /* External symbols need no special keyword. */
417 #define CURL_EXTERN_SYMBOL
419 /* Define if you have the ldap_url_parse procedure. */
420 /* #define HAVE_LDAP_URL_PARSE */ /* Disabled because of an IBM bug. */
422 /* Define if you have the getnameinfo function. */
423 /* OS400 has no ASCII version of this procedure: wrapped in setup-os400.h. */
424 #define HAVE_GETNAMEINFO
426 /* Define to the type qualifier of arg 1 for getnameinfo. */
427 #define GETNAMEINFO_QUAL_ARG1 const
429 /* Define to the type of arg 1 for getnameinfo. */
430 #define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
432 /* Define to the type of arg 2 for getnameinfo. */
433 #define GETNAMEINFO_TYPE_ARG2 socklen_t
435 /* Define to the type of args 4 and 6 for getnameinfo. */
436 #define GETNAMEINFO_TYPE_ARG46 socklen_t
438 /* Define to the type of arg 7 for getnameinfo. */
439 #define GETNAMEINFO_TYPE_ARG7 int
441 /* Define if you have the recv function. */
444 /* Define to the type of arg 1 for recv. */
445 #define RECV_TYPE_ARG1 int
447 /* Define to the type of arg 2 for recv. */
448 #define RECV_TYPE_ARG2 char *
450 /* Define to the type of arg 3 for recv. */
451 #define RECV_TYPE_ARG3 int
453 /* Define to the type of arg 4 for recv. */
454 #define RECV_TYPE_ARG4 int
456 /* Define to the function return type for recv. */
457 #define RECV_TYPE_RETV int
459 /* Define if you have the recvfrom function. */
460 #define HAVE_RECVFROM
462 /* Define to the type of arg 1 for recvfrom. */
463 #define RECVFROM_TYPE_ARG1 int
465 /* Define to the type pointed by arg 2 for recvfrom. */
466 #define RECVFROM_TYPE_ARG2 char
468 /* Define to the type of arg 3 for recvfrom. */
469 #define RECVFROM_TYPE_ARG3 int
471 /* Define to the type of arg 4 for recvfrom. */
472 #define RECVFROM_TYPE_ARG4 int
474 /* Define to the type pointed by arg 5 for recvfrom. */
475 #define RECVFROM_TYPE_ARG5 struct sockaddr
477 /* Define to the type pointed by arg 6 for recvfrom. */
478 #define RECVFROM_TYPE_ARG6 int
480 /* Define to the function return type for recvfrom. */
481 #define RECVFROM_TYPE_RETV int
483 /* Define if you have the send function. */
486 /* Define to the type of arg 1 for send. */
487 #define SEND_TYPE_ARG1 int
489 /* Define to the type qualifier of arg 2 for send. */
490 #define SEND_QUAL_ARG2
492 /* Define to the type of arg 2 for send. */
493 #define SEND_TYPE_ARG2 char *
495 /* Define to the type of arg 3 for send. */
496 #define SEND_TYPE_ARG3 int
498 /* Define to the type of arg 4 for send. */
499 #define SEND_TYPE_ARG4 int
501 /* Define to the function return type for send. */
502 #define SEND_TYPE_RETV int
504 /* Define to use the QsoSSL package. */
507 /* Use the system keyring as the default CA bundle. */
508 #define CURL_CA_BUNDLE "/QIBM/UserData/ICSS/Cert/Server/DEFAULT.KDB"
510 /* ---------------------------------------------------------------- */
511 /* ADDITIONAL DEFINITIONS */
512 /* ---------------------------------------------------------------- */
514 /* The following must be defined BEFORE system header files inclusion. */
516 #define __ptr128 /* No teraspace. */
517 #define qadrt_use_fputc_inline /* Generate fputc() wrapper inline. */
518 #define qadrt_use_fread_inline /* Generate fread() wrapper inline. */
519 #define qadrt_use_fwrite_inline /* Generate fwrite() wrapper inline. */