From 5a4b43848ac21b3d831f00ce11136e20f820f0a0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 7 Apr 2006 21:50:47 +0000 Subject: First commit of David McCreedy's EBCDIC and TPF changes. --- lib/config-tpf.h | 652 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 652 insertions(+) create mode 100644 lib/config-tpf.h (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h new file mode 100644 index 000000000..63a1e6607 --- /dev/null +++ b/lib/config-tpf.h @@ -0,0 +1,652 @@ +#ifndef __LIBCONFIGTPF_H +#define __LIBCONFIGTPF_H + +/* ================================================================ */ +/* lib/config-tpf.h - Hand crafted config file for TPF */ +/* ================================================================ */ + +/* ---------------------------------------------------------------- */ +/* FEATURES, FUNCTIONS, and DEFINITIONS */ +/* ---------------------------------------------------------------- */ + +/* when building libcurl itself */ +/* #undef BUILDING_LIBCURL */ + +/* to disable cookies support */ +/* #undef CURL_DISABLE_COOKIES */ + +/* to disable cryptographic authentication */ +/* #undef CURL_DISABLE_CRYPTO_AUTH */ + +/* to disable DICT */ +#define CURL_DISABLE_DICT 1 + +/* to disable FILE */ +#define CURL_DISABLE_FILE 1 + +/* to disable FTP */ +/* #undef CURL_DISABLE_FTP */ + +/* to disable HTTP */ +#define CURL_DISABLE_HTTP 1 + +/* to disable LDAP */ +#define CURL_DISABLE_LDAP 1 + +/* to disable TELNET */ +#define CURL_DISABLE_TELNET 1 + +/* to disable TFTP */ +#define CURL_DISABLE_TFTP 1 + +/* to disable verbose strings */ +/* #undef CURL_DISABLE_VERBOSE_STRINGS */ + +/* when not building a shared library */ +/* #undef CURL_STATICLIB */ + +/* Set to explicitly specify we don't want to use thread-safe functions */ +/* #undef DISABLED_THREADSAFE */ +#define DISABLED_THREADSAFE 1 + +/* lber dynamic library file */ +/* #undef DL_LBER_FILE */ + +/* ldap dynamic library file */ +/* #undef DL_LDAP_FILE */ + +/* your Entropy Gathering Daemon socket pathname */ +/* #undef EGD_SOCKET */ + +/* Define if you want to enable IPv6 support */ +/* #undef ENABLE_IPV6 */ + +/* Define to 1 if you have the header file. */ +#define HAVE_ALLOCA_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_ARPA_INET_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_ASSERT_H 1 + +/* Define to 1 if you have the `basename' function. */ +#define HAVE_BASENAME 1 + +/* Define to 1 if you have the `closesocket' function. */ +/* #undef HAVE_CLOSESOCKET */ + +/* Define to 1 if you have the `CRYPTO_cleanup_all_ex_data' function. */ +/* #undef HAVE_CRYPTO_CLEANUP_ALL_EX_DATA */ +#define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_CRYPTO_H */ +#define HAVE_CRYPTO_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_DES_H */ +#define HAVE_DES_H 1 + +/* disabled non-blocking sockets */ +/* #undef HAVE_DISABLED_NONBLOCKING */ + +/* Define to 1 if you have the header file. */ +#define HAVE_DLFCN_H 1 + +/* Define to 1 if you have the `dlopen' function. */ +#define HAVE_DLOPEN 1 + +/* Define to 1 if you have the `ENGINE_load_builtin_engines' function. */ +/* #undef HAVE_ENGINE_LOAD_BUILTIN_ENGINES */ +#define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_ERRNO_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_ERR_H */ +#define HAVE_ERR_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_FCNTL_H 1 + +/* use FIONBIO for non-blocking sockets */ +/* #undef HAVE_FIONBIO */ +#define HAVE_FIONBIO 1 + +/* Define to 1 if you have the `ftruncate' function. */ +#define HAVE_FTRUNCATE 1 + +/* Define if getaddrinfo exists and works */ +/* #undef HAVE_GETADDRINFO */ + +/* Define to 1 if you have the `geteuid' function. */ +#define HAVE_GETEUID 1 + +/* Define to 1 if you have the `gethostbyaddr' function. */ +#define HAVE_GETHOSTBYADDR 1 + +/* If you have gethostbyname */ +#define HAVE_GETHOSTBYNAME 1 + +/* Define to 1 if you have the `gethostbyname_r' function. */ +/* #undef HAVE_GETHOSTBYNAME_R */ + +/* gethostbyname_r() takes 3 args */ +/* #undef HAVE_GETHOSTBYNAME_R_3 */ + +/* gethostbyname_r() takes 5 args */ +/* #undef HAVE_GETHOSTBYNAME_R_5 */ + +/* gethostbyname_r() takes 6 args */ +/* #define HAVE_GETHOSTBYNAME_R_6 1 */ + +/* Define to 1 if you have the `getpass_r' function. */ +/* #undef HAVE_GETPASS_R */ + +/* Define to 1 if you have the `getpwuid' function. */ +#define HAVE_GETPWUID 1 + +/* Define to 1 if you have the `getrlimit' function. */ +#define HAVE_GETRLIMIT 1 + +/* Define to 1 if you have the `gettimeofday' function. */ +#define HAVE_GETTIMEOFDAY 1 + +/* we have a glibc-style strerror_r() */ +/* #undef HAVE_GLIBC_STRERROR_R */ + +/* Define to 1 if you have the `gmtime_r' function. */ +#define HAVE_GMTIME_R 1 + +/* if you have the gssapi libraries */ +/* #undef HAVE_GSSAPI */ + +/* if you have the Heimdal gssapi libraries */ +/* #undef HAVE_GSSHEIMDAL */ + +/* if you have the MIT gssapi libraries */ +/* #undef HAVE_GSSMIT */ + +/* Define to 1 if you have the `iconv' functions. */ +#define HAVE_ICONV + +/* Define to 1 if you have the `idna_strerror' function. */ +/* #undef HAVE_IDNA_STRERROR */ + +/* Define to 1 if you have the `idn_free' function. */ +/* #undef HAVE_IDN_FREE */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_IDN_FREE_H */ + +/* Define to 1 if you have the `inet_addr' function. */ +#define HAVE_INET_ADDR 1 + +/* Define to 1 if you have the `inet_ntoa' function. */ +#define HAVE_INET_NTOA 1 + +/* Define to 1 if you have the `inet_ntoa_r' function. */ +/* #undef HAVE_INET_NTOA_R */ + +/* inet_ntoa_r() is declared */ +/* #undef HAVE_INET_NTOA_R_DECL */ + +/* Define to 1 if you have the `inet_pton' function. */ +/* #undef HAVE_INET_PTON */ + +/* Define to 1 if you have the header file. */ +#define HAVE_INTTYPES_H 1 + +/* use ioctlsocket() for non-blocking sockets */ +/* #undef HAVE_IOCTLSOCKET */ + +/* use Ioctlsocket() for non-blocking sockets */ +/* #undef HAVE_IOCTLSOCKET_CASE */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_IO_H */ + +/* if you have the Kerberos4 libraries (including -ldes) */ +/* #undef HAVE_KRB4 */ + +/* Define to 1 if you have the `krb_get_our_ip_for_realm' function. */ +/* #undef HAVE_KRB_GET_OUR_IP_FOR_REALM */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_KRB_H */ + +/* Define to 1 if you have the `dl' library (-ldl). */ +#define HAVE_LIBDL 1 + +/* Define to 1 if you have the header file. */ +/* #define HAVE_LIBGEN_H 1 */ + +/* Define to 1 if you have the `idn' library (-lidn). */ +/* #undef HAVE_LIBIDN */ + +/* Define to 1 if you have the `resolv' library (-lresolv). */ +/* #undef HAVE_LIBRESOLV */ + +/* Define to 1 if you have the `resolve' library (-lresolve). */ +/* #undef HAVE_LIBRESOLVE */ + +/* Define to 1 if you have the `socket' library (-lsocket). */ +/* #undef HAVE_LIBSOCKET */ + +/* Define to 1 if you have the `ssl' library (-lssl). */ +/* #undef HAVE_LIBSSL */ +#define HAVE_LIBSSL + +/* if zlib is available */ +/* #undef HAVE_LIBZ */ + +/* Define to 1 if you have the header file. */ +#define HAVE_LIMITS_H 1 + +/* if your compiler supports LL */ +#define HAVE_LL 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_LOCALE_H 1 + +/* Define to 1 if you have the `localtime_r' function. */ +#define HAVE_LOCALTIME_R 1 + +/* if your compiler supports long long */ +#define HAVE_LONGLONG 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_MALLOC_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_MEMORY_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_NETDB_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_NETINET_IN_H 1 + +/* Define to 1 if you have the header file. */ +/* undef HAVE_NETINET_TCP_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_NET_IF_H 1 + +/* Define if NI_WITHSCOPEID exists and works */ +/* #undef HAVE_NI_WITHSCOPEID */ + +/* we have no strerror_r() proto */ +/* #undef HAVE_NO_STRERROR_R_DECL */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_OPENSSL_CRYPTO_H */ +#define HAVE_OPENSSL_CRYPTO_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_OPENSSL_ENGINE_H */ +#define HAVE_OPENSSL_ENGINE_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_OPENSSL_ERR_H */ +#define HAVE_OPENSSL_ERR_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_OPENSSL_PEM_H */ +#define HAVE_OPENSSL_PEM_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_OPENSSL_PKCS12_H */ +#define HAVE_OPENSSL_PKCS12_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_OPENSSL_RSA_H */ +#define HAVE_OPENSSL_RSA_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_OPENSSL_SSL_H */ +#define HAVE_OPENSSL_SSL_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_OPENSSL_X509_H */ +#define HAVE_OPENSSL_X509_H 1 + +/* use O_NONBLOCK for non-blocking sockets */ +/* #undef HAVE_O_NONBLOCK 1 */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_PEM_H */ +#define HAVE_PEM_H 1 + +/* Define to 1 if you have the `perror' function. */ +#define HAVE_PERROR 1 + +/* Define to 1 if you have the `pipe' function. */ +#define HAVE_PIPE 1 + +/* Define to 1 if you have the `poll' function. */ +/* #undef HAVE_POLL */ + +/* If you have a fine poll */ +/* #undef HAVE_POLL_FINE */ + +/* we have a POSIX-style strerror_r() */ +/* #undef HAVE_POSIX_STRERROR_R */ +/* #define HAVE_POSIX_STRERROR_R 1 */ + +/* Define to 1 if you have the header file. */ +#define HAVE_PWD_H 1 + +/* Define to 1 if you have the `RAND_egd' function. */ +/* #undef HAVE_RAND_EGD */ +#define HAVE_RAND_EGD 1 + +/* Define to 1 if you have the `RAND_screen' function. */ +/* #undef HAVE_RAND_SCREEN */ + +/* Define to 1 if you have the `RAND_status' function. */ +/* #undef HAVE_RAND_STATUS */ +#define HAVE_RAND_STATUS 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_RSA_H */ +#define HAVE_RSA_H 1 + +/* Define to 1 if you have the `select' function. */ +#define HAVE_SELECT 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SETJMP_H 1 + +/* Define to 1 if you have the `setlocale' function. */ +#define HAVE_SETLOCALE 1 + +/* Define to 1 if you have the `setrlimit' function. */ +#define HAVE_SETRLIMIT 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SGTTY_H 1 */ + +/* Define to 1 if you have the `sigaction' function. */ +#define HAVE_SIGACTION 1 + +/* Define to 1 if you have the `siginterrupt' function. */ +/* #undef HAVE_SIGINTERRUPT */ + +/* Define to 1 if you have the `signal' function. */ +#define HAVE_SIGNAL 1 + +/* If you have sigsetjmp */ +/* #undef HAVE_SIGSETJMP */ + +/* Define to 1 if you have the `socket' function. */ +#define HAVE_SOCKET 1 + +/* use SO_NONBLOCK for non-blocking sockets */ +/* #undef HAVE_SO_NONBLOCK */ + +/* Define this if you have the SPNEGO library fbopenssl */ +/* #undef HAVE_SPNEGO */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SSL_H */ +#define HAVE_SSL_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDINT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the `strcasecmp' function. */ +#define HAVE_STRCASECMP 1 + +/* Define to 1 if you have the `strcmpi' function. */ +/* #undef HAVE_STRCMPI */ + +/* Define to 1 if you have the `strdup' function. */ +#define HAVE_STRDUP 1 + +/* Define to 1 if you have the `strerror_r' function. */ +#define HAVE_STRERROR_R 1 + +/* Define to 1 if you have the `stricmp' function. */ +/* #undef HAVE_STRICMP */ +#define HAVE_STRICMP + +/* Define to 1 if you have the header file. */ +#define HAVE_STRINGS_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the `strlcat' function. */ +/* #undef HAVE_STRLCAT */ + +/* Define to 1 if you have the `strlcpy' function. */ +/* #undef HAVE_STRLCPY */ + +/* Define to 1 if you have the `strstr' function. */ +#define HAVE_STRSTR 1 + +/* Define to 1 if you have the `strtok_r' function. */ +#define HAVE_STRTOK_R 1 + +/* Define to 1 if you have the `strtoll' function. */ +#define HAVE_STRTOLL 1 + +/* if struct sockaddr_storage is defined */ +/* undef HAVE_STRUCT_SOCKADDR_STORAGE */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_IOCTL_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_PARAM_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_POLL_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_RESOURCE_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_SELECT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_SOCKET_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_SOCKIO_H */ +#define HAVE_SYS_SOCKIO_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TIME_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_UTIME_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_TERMIOS_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_TERMIO_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_TIME_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_TLD_H */ + +/* Define to 1 if you have the `tld_strerror' function. */ +/* #undef HAVE_TLD_STRERROR */ + +/* Define to 1 if you have the `uname' function. */ +/* #undef HAVE_UNAME */ + +/* Define to 1 if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Define to 1 if you have the `utime' function. */ +#define HAVE_UTIME 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_UTIME_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_WINSOCK2_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_WINSOCK_H */ + +/* Define this symbol if your OS supports changing the contents of argv */ +/* #undef HAVE_WRITABLE_ARGV */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_X509_H */ +#define undef HAVE_X509_H 1 + +/* if you have the zlib.h header file */ +/* #undef HAVE_ZLIB_H */ + +/* If you lack a fine basename() prototype */ +/* #undef NEED_BASENAME_PROTO */ + +/* need REENTRANT defined */ +/* #undef NEED_REENTRANT */ + +#define HAVE_GLIBC_STRERROR_R + +/* cpu-machine-OS */ +#define OS "s390x-ibm-tpf" + +/* Name of package */ +#define PACKAGE "curl" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "curl" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "curl -" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "curl" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "-" + +/* a suitable file to read random data from */ +/* #undef RANDOM_FILE */ + +/* Define as the return type of signal handlers (`int' or `void'). */ +#define RETSIGTYPE void + +/* Define to the type of arg 1 for `select'. */ +#define SELECT_TYPE_ARG1 int + +/* Define to the type of args 2, 3 and 4 for `select'. */ +#define SELECT_TYPE_ARG234 (fd_set *) + +/* Define to the type of arg 5 for `select'. */ +#define SELECT_TYPE_ARG5 (struct timeval *) + +/* The size of a `curl_off_t', as computed by sizeof. */ +#define SIZEOF_CURL_OFF_T 8 + +/* The size of a `long', as computed by sizeof. */ +#define SIZEOF_LONG 8 + +/* The size of a `size_t', as computed by sizeof. */ +#define SIZEOF_SIZE_T 8 + +/* The size of a `time_t', as computed by sizeof. */ +#define SIZEOF_TIME_T 8 + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Define to 1 if you can safely include both and . */ +#define TIME_WITH_SYS_TIME 1 + +/* Define if you want to enable ares support */ +/* #undef USE_ARES */ + +/* if GnuTLS is enabled */ +/* #undef USE_GNUTLS */ + +/* If you want to build curl with the built-in manual */ +/* #undef USE_MANUAL */ + +/* if OpenSSL is in use */ +/* #undef USE_OPENSSL */ +#define USE_OPENSSL + +/* if SSL is enabled */ +/* #undef USE_SSLEAY */ +#define USE_SSLEAY + +/* to enable SSPI support */ +/* #undef USE_WINDOWS_SSPI */ + +/* Version number of package */ +#define VERSION "not-used" + +/* Define to 1 if on AIX 3. + System headers sometimes define this. + We just want to avoid a redefinition error message. */ +#ifndef _ALL_SOURCE +/* # undef _ALL_SOURCE */ +#endif + +/* Number of bits in a file offset, on hosts where this is settable. */ +/* #undef _FILE_OFFSET_BITS */ + +/* Define for large files, on AIX-style hosts. */ +/* #undef _LARGE_FILES */ + +/* define this if you need it to compile thread-safe code */ +/* #undef _THREAD_SAFE */ + +/* Define to empty if `const' does not conform to ANSI C. */ +/* #undef const */ + +/* type to use in place of in_addr_t if not defined */ +/* #undef in_addr_t */ + +/* Define to `unsigned' if does not define. */ +/* #undef size_t */ + +/* type to use in place of socklen_t if not defined */ +/* #undef socklen_t */ + +/* the signed version of size_t */ +/* #undef ssize_t */ + +#define CURL_DOES_CONVERSIONS +#ifndef CURL_ICONV_CODESET_OF_HOST +#define CURL_ICONV_CODESET_OF_HOST "IBM-1047" +#endif + +/* ---------------------------------------------------------------- */ +/* HEADER FILES */ +/* ---------------------------------------------------------------- */ + +#include /* for bzero, strcasecmp, and strncasecmp */ +#include /* for strcpy and strlen */ +#include /* for rand and srand */ +#include /* for select and ioctl*/ +#include /* for in_addr_t definition */ +#include /* for tpf_process_signals */ + +#endif /* __LIBCONFIGTPF_H */ -- cgit v1.2.1 From b81d41df222a150d1787392c09921524f018c6bd Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 23 May 2006 21:19:36 +0000 Subject: David McCreedy's update --- lib/config-tpf.h | 78 +++++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 57 insertions(+), 21 deletions(-) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index 63a1e6607..34055e16e 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -9,6 +9,8 @@ /* FEATURES, FUNCTIONS, and DEFINITIONS */ /* ---------------------------------------------------------------- */ +/* NOTE: Refer also to the .mak file for some of the flags below */ + /* when building libcurl itself */ /* #undef BUILDING_LIBCURL */ @@ -19,25 +21,25 @@ /* #undef CURL_DISABLE_CRYPTO_AUTH */ /* to disable DICT */ -#define CURL_DISABLE_DICT 1 +/* #undef CURL_DISABLE_DICT */ /* to disable FILE */ -#define CURL_DISABLE_FILE 1 +/* #undef CURL_DISABLE_FILE */ /* to disable FTP */ /* #undef CURL_DISABLE_FTP */ /* to disable HTTP */ -#define CURL_DISABLE_HTTP 1 +/* #undef CURL_DISABLE_HTTP */ /* to disable LDAP */ -#define CURL_DISABLE_LDAP 1 +/* #undef CURL_DISABLE_LDAP */ /* to disable TELNET */ -#define CURL_DISABLE_TELNET 1 +/* #undef CURL_DISABLE_TELNET */ /* to disable TFTP */ -#define CURL_DISABLE_TFTP 1 +/* #undef CURL_DISABLE_TFTP */ /* to disable verbose strings */ /* #undef CURL_DISABLE_VERBOSE_STRINGS */ @@ -47,7 +49,6 @@ /* Set to explicitly specify we don't want to use thread-safe functions */ /* #undef DISABLED_THREADSAFE */ -#define DISABLED_THREADSAFE 1 /* lber dynamic library file */ /* #undef DL_LBER_FILE */ @@ -61,12 +62,27 @@ /* Define if you want to enable IPv6 support */ /* #undef ENABLE_IPV6 */ +/* Define to the type of arg 1 for getnameinfo. */ +/* #undef GETNAMEINFO_TYPE_ARG1 */ + +/* Define to the type of arg 2 for getnameinfo. */ +/* #undef GETNAMEINFO_TYPE_ARG2 */ + +/* Define to the type of args 4 and 6 for getnameinfo. */ +/* #undef GETNAMEINFO_TYPE_ARG46 */ + +/* Define to the type of arg 7 for getnameinfo. */ +/* #undef GETNAMEINFO_TYPE_ARG7 */ + /* Define to 1 if you have the header file. */ #define HAVE_ALLOCA_H 1 /* Define to 1 if you have the header file. */ #define HAVE_ARPA_INET_H 1 +/* Define to 1 if you have the header file. */ +/* #undef HAVE_ARPA_TFTP_H */ + /* Define to 1 if you have the header file. */ #define HAVE_ASSERT_H 1 @@ -115,6 +131,10 @@ /* #undef HAVE_FIONBIO */ #define HAVE_FIONBIO 1 +/* Define to 1 if you have the `fork' function. */ +/* #undef HAVE_FORK */ +#define HAVE_FORK 1 + /* Define to 1 if you have the `ftruncate' function. */ #define HAVE_FTRUNCATE 1 @@ -140,22 +160,29 @@ /* #undef HAVE_GETHOSTBYNAME_R_5 */ /* gethostbyname_r() takes 6 args */ -/* #define HAVE_GETHOSTBYNAME_R_6 1 */ +/* #undef HAVE_GETHOSTBYNAME_R_6 1 */ + +/* Define to 1 if you have the getnameinfo function. */ +/* #undef HAVE_GETNAMEINFO */ /* Define to 1 if you have the `getpass_r' function. */ /* #undef HAVE_GETPASS_R */ +/* Define to 1 if you have the `getprotobyname' function. */ +/* #undef HAVE_GETPROTOBYNAME */ + /* Define to 1 if you have the `getpwuid' function. */ #define HAVE_GETPWUID 1 /* Define to 1 if you have the `getrlimit' function. */ -#define HAVE_GETRLIMIT 1 +/* #undef HAVE_GETRLIMIT */ /* Define to 1 if you have the `gettimeofday' function. */ #define HAVE_GETTIMEOFDAY 1 /* we have a glibc-style strerror_r() */ /* #undef HAVE_GLIBC_STRERROR_R */ +#define HAVE_GLIBC_STRERROR_R 1 /* Define to 1 if you have the `gmtime_r' function. */ #define HAVE_GMTIME_R 1 @@ -163,6 +190,9 @@ /* if you have the gssapi libraries */ /* #undef HAVE_GSSAPI */ +/* if you have the GNU gssapi libraries */ +/* #undef HAVE_GSSGNU */ + /* if you have the Heimdal gssapi libraries */ /* #undef HAVE_GSSHEIMDAL */ @@ -170,7 +200,7 @@ /* #undef HAVE_GSSMIT */ /* Define to 1 if you have the `iconv' functions. */ -#define HAVE_ICONV +#define HAVE_ICONV 1 /* Define to 1 if you have the `idna_strerror' function. */ /* #undef HAVE_IDNA_STRERROR */ @@ -221,7 +251,7 @@ #define HAVE_LIBDL 1 /* Define to 1 if you have the header file. */ -/* #define HAVE_LIBGEN_H 1 */ +/* #undef HAVE_LIBGEN_H 1 */ /* Define to 1 if you have the `idn' library (-lidn). */ /* #undef HAVE_LIBIDN */ @@ -237,7 +267,7 @@ /* Define to 1 if you have the `ssl' library (-lssl). */ /* #undef HAVE_LIBSSL */ -#define HAVE_LIBSSL +#define HAVE_LIBSSL 1 /* if zlib is available */ /* #undef HAVE_LIBZ */ @@ -258,7 +288,7 @@ #define HAVE_LONGLONG 1 /* Define to 1 if you have the header file. */ -#define HAVE_MALLOC_H 1 +/* #undef HAVE_MALLOC_H */ /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 @@ -278,6 +308,9 @@ /* Define if NI_WITHSCOPEID exists and works */ /* #undef HAVE_NI_WITHSCOPEID */ +/* Defined if no inet_pton() prototype available */ +/* #undef HAVE_NO_INET_PTON_PROTO */ + /* we have no strerror_r() proto */ /* #undef HAVE_NO_STRERROR_R_DECL */ @@ -334,7 +367,6 @@ /* we have a POSIX-style strerror_r() */ /* #undef HAVE_POSIX_STRERROR_R */ -/* #define HAVE_POSIX_STRERROR_R 1 */ /* Define to 1 if you have the header file. */ #define HAVE_PWD_H 1 @@ -414,7 +446,7 @@ /* Define to 1 if you have the `stricmp' function. */ /* #undef HAVE_STRICMP */ -#define HAVE_STRICMP +#define HAVE_STRICMP 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 @@ -438,7 +470,10 @@ #define HAVE_STRTOLL 1 /* if struct sockaddr_storage is defined */ -/* undef HAVE_STRUCT_SOCKADDR_STORAGE */ +/* #undef HAVE_STRUCT_SOCKADDR_STORAGE */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_FILIO_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_IOCTL_H 1 @@ -510,9 +545,11 @@ /* Define this symbol if your OS supports changing the contents of argv */ /* #undef HAVE_WRITABLE_ARGV */ +/* Define to 1 if you have the ws2tcpip.h header file. */ +/* #undef HAVE_WS2TCPIP_H */ + /* Define to 1 if you have the header file. */ /* #undef HAVE_X509_H */ -#define undef HAVE_X509_H 1 /* if you have the zlib.h header file */ /* #undef HAVE_ZLIB_H */ @@ -523,8 +560,6 @@ /* need REENTRANT defined */ /* #undef NEED_REENTRANT */ -#define HAVE_GLIBC_STRERROR_R - /* cpu-machine-OS */ #define OS "s390x-ibm-tpf" @@ -590,11 +625,9 @@ /* if OpenSSL is in use */ /* #undef USE_OPENSSL */ -#define USE_OPENSSL /* if SSL is enabled */ /* #undef USE_SSLEAY */ -#define USE_SSLEAY /* to enable SSPI support */ /* #undef USE_WINDOWS_SSPI */ @@ -602,6 +635,9 @@ /* Version number of package */ #define VERSION "not-used" +/* Define to avoid automatic inclusion of winsock.h */ +/* #undef WIN32_LEAN_AND_MEAN */ + /* Define to 1 if on AIX 3. System headers sometimes define this. We just want to avoid a redefinition error message. */ -- cgit v1.2.1 From 89f54f373979d182dfec4ddb7c9adbccbca9f2f1 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 4 Jul 2006 16:10:13 +0000 Subject: Platforms that don't have/run configure need default values in their config files for: HAVE_GETNAMEINFO, GETNAMEINFO_QUAL_ARG1, GETNAMEINFO_TYPE_ARG1, GETNAMEINFO_TYPE_ARG2, GETNAMEINFO_TYPE_ARG46, GETNAMEINFO_TYPE_ARG7 HAVE_RECV, RECV_TYPE_ARG1, RECV_TYPE_ARG2, RECV_TYPE_ARG3, RECV_TYPE_ARG4, RECV_TYPE_RETV HAVE_SEND, SEND_TYPE_ARG1, SEND_TYPE_ARG2, SEND_TYPE_ARG3, SEND_TYPE_ARG4, SEND_TYPE_RETV --- lib/config-tpf.h | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index 34055e16e..48d1056f6 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -669,6 +669,60 @@ /* the signed version of size_t */ /* #undef ssize_t */ +/* Define to 1 if you have the getnameinfo function. */ +/* #undef HAVE_GETNAMEINFO 1 */ + +/* Define to the type qualifier of arg 1 for getnameinfo. */ +/* #undef GETNAMEINFO_QUAL_ARG1 const */ + +/* Define to the type of arg 1 for getnameinfo. */ +/* #undef GETNAMEINFO_TYPE_ARG1 struct sockaddr * */ + +/* Define to the type of arg 2 for getnameinfo. */ +/* #undef GETNAMEINFO_TYPE_ARG2 socklen_t */ + +/* Define to the type of args 4 and 6 for getnameinfo. */ +/* #undef GETNAMEINFO_TYPE_ARG46 size_t */ + +/* Define to the type of arg 7 for getnameinfo. */ +/* #undef GETNAMEINFO_TYPE_ARG7 int */ + +/* Define to 1 if you have the recv function. */ +#define HAVE_RECV 1 + +/* Define to the type of arg 1 for recv. */ +#define RECV_TYPE_ARG1 int + +/* Define to the type of arg 2 for recv. */ +#define RECV_TYPE_ARG2 char * + +/* Define to the type of arg 3 for recv. */ +#define RECV_TYPE_ARG3 int + +/* Define to the type of arg 4 for recv. */ +#define RECV_TYPE_ARG4 int + +/* Define to the function return type for recv. */ +#define RECV_TYPE_RETV int + +/* Define to 1 if you have the send function. */ +#define HAVE_SEND 1 + +/* Define to the type of arg 1 for send. */ +#define SEND_TYPE_ARG1 int + +/* Define to the type of arg 2 for send. */ +#define SEND_TYPE_ARG2 char * + +/* Define to the type of arg 3 for send. */ +#define SEND_TYPE_ARG3 int + +/* Define to the type of arg 4 for send. */ +#define SEND_TYPE_ARG4 int + +/* Define to the function return type for send. */ +#define SEND_TYPE_RETV int + #define CURL_DOES_CONVERSIONS #ifndef CURL_ICONV_CODESET_OF_HOST #define CURL_ICONV_CODESET_OF_HOST "IBM-1047" -- cgit v1.2.1 From 7e43d06b602f5158b7240b03efad7f7066d0650d Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 4 Jul 2006 16:54:10 +0000 Subject: Get qualifier of arg 2 for send() apart into SEND_QUAL_ARG2. --- lib/config-tpf.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index 48d1056f6..593437cc2 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -711,6 +711,9 @@ /* Define to the type of arg 1 for send. */ #define SEND_TYPE_ARG1 int +/* Define to the type qualifier of arg 2 for send. */ +#define SEND_QUAL_ARG2 const + /* Define to the type of arg 2 for send. */ #define SEND_TYPE_ARG2 char * -- cgit v1.2.1 From fe22872d14c3b6b63ac27a9017ed9695ac3b932b Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 11 Jul 2006 21:34:23 +0000 Subject: include only if HAVE_MALLOC_H and NEED_MALLOC_H are both defined. --- lib/config-tpf.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index 593437cc2..4d1831207 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -290,6 +290,9 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_MALLOC_H */ +/* Define to 1 if you need the malloc.h header file. */ +/* #undef NEED_MALLOC_H */ + /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 -- cgit v1.2.1 From 13616f8f96b12bbbec1ca40ea4356560a456cc11 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 25 Jul 2006 13:49:49 +0000 Subject: Simplify check for NEED_MALLOC_H, and make more explicit that NEED_MALLOC_H shall be defined if header file must be included even when including . --- lib/config-tpf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index 4d1831207..5deb112d2 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -290,7 +290,7 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_MALLOC_H */ -/* Define to 1 if you need the malloc.h header file. */ +/* Define to 1 if you need the malloc.h header file even with stdlib.h */ /* #undef NEED_MALLOC_H */ /* Define to 1 if you have the header file. */ -- cgit v1.2.1 From dc3ed353132f853dc3ddee410a4f9423534a8289 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 14 Oct 2006 12:01:44 +0000 Subject: Define HAVE_STRUCT_TIMEVAL as appropriate for platforms that lack autotools support --- lib/config-tpf.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index 5deb112d2..6b1accc79 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -475,6 +475,9 @@ /* if struct sockaddr_storage is defined */ /* #undef HAVE_STRUCT_SOCKADDR_STORAGE */ +/* Define this if you have struct timeval */ +#define HAVE_STRUCT_TIMEVAL 1 + /* Define to 1 if you have the header file. */ #define HAVE_SYS_FILIO_H 1 -- cgit v1.2.1 From bcd8a3b2403d6269a121c469273880021f2cfb20 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 24 Nov 2006 16:38:58 +0000 Subject: Define HAVE_SIGNAL_H, HAVE_SIG_ATOMIC_T and HAVE_SIG_ATOMIC_T_VOLATILE as appropriate for platforms that don't have autotools support --- lib/config-tpf.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index 6b1accc79..7a4843c3e 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -413,6 +413,15 @@ /* Define to 1 if you have the `signal' function. */ #define HAVE_SIGNAL 1 +/* Define to 1 if you have the header file. */ +#define HAVE_SIGNAL_H 1 + +/* Define to 1 if sig_atomic_t is an available typedef. */ +#define HAVE_SIG_ATOMIC_T 1 + +/* Define to 1 if sig_atomic_t is already defined as volatile. */ +/* #undef HAVE_SIG_ATOMIC_T_VOLATILE */ + /* If you have sigsetjmp */ /* #undef HAVE_SIGSETJMP */ -- cgit v1.2.1 From 34ed4642ecec17ec3f3bf6bba304a07b141458cd Mon Sep 17 00:00:00 2001 From: Gisle Vanem Date: Tue, 20 Mar 2007 16:30:14 +0000 Subject: Remove unneeded 'HAVE_*' defines. --- lib/config-tpf.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index 7a4843c3e..a22756c52 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -74,9 +74,6 @@ /* Define to the type of arg 7 for getnameinfo. */ /* #undef GETNAMEINFO_TYPE_ARG7 */ -/* Define to 1 if you have the header file. */ -#define HAVE_ALLOCA_H 1 - /* Define to 1 if you have the header file. */ #define HAVE_ARPA_INET_H 1 @@ -287,9 +284,6 @@ /* if your compiler supports long long */ #define HAVE_LONGLONG 1 -/* Define to 1 if you have the header file. */ -/* #undef HAVE_MALLOC_H */ - /* Define to 1 if you need the malloc.h header file even with stdlib.h */ /* #undef NEED_MALLOC_H */ @@ -539,9 +533,6 @@ /* Define to 1 if you have the `tld_strerror' function. */ /* #undef HAVE_TLD_STRERROR */ -/* Define to 1 if you have the `uname' function. */ -/* #undef HAVE_UNAME */ - /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 -- cgit v1.2.1 From d0edb478964cb5bf7446c34d5ac1e9d34dc5ca63 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 11 Aug 2007 20:57:54 +0000 Subject: Patrick Monnerat modified the LDAP code and approach in curl. Starting now, the configure script checks for openldap and friends and we link with those libs just like we link all other third party libraries, and we no longer dlopen() those libraries. Our private header file lib/ldap.h was renamed to lib/curl_ldap.h due to this. I set a tag in CVS (curl-7_17_0-preldapfix) just before this commit, just in case. --- lib/config-tpf.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index a22756c52..56ef38ac7 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -104,12 +104,6 @@ /* disabled non-blocking sockets */ /* #undef HAVE_DISABLED_NONBLOCKING */ -/* Define to 1 if you have the header file. */ -#define HAVE_DLFCN_H 1 - -/* Define to 1 if you have the `dlopen' function. */ -#define HAVE_DLOPEN 1 - /* Define to 1 if you have the `ENGINE_load_builtin_engines' function. */ /* #undef HAVE_ENGINE_LOAD_BUILTIN_ENGINES */ #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 @@ -244,9 +238,6 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_KRB_H */ -/* Define to 1 if you have the `dl' library (-ldl). */ -#define HAVE_LIBDL 1 - /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBGEN_H 1 */ -- cgit v1.2.1 From 0163b5b8be819bceb66546d6205c8d57913fc3ee Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 21 May 2008 13:57:50 +0000 Subject: fix: socklen_t definition comment --- lib/config-tpf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index 56ef38ac7..85714b84b 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -660,7 +660,7 @@ /* Define to `unsigned' if does not define. */ /* #undef size_t */ -/* type to use in place of socklen_t if not defined */ +/* Type to use in place of socklen_t when system does not provide it. */ /* #undef socklen_t */ /* the signed version of size_t */ -- cgit v1.2.1 From 669c555874c7229cd95a494e36d826770460e8d7 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 14 Jul 2008 16:58:34 +0000 Subject: Removed inclusion of remaining system header files from configuration files. These are included from lib/setup.h or specific source code file. --- lib/config-tpf.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index 85714b84b..ee86bab41 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -728,15 +728,5 @@ #define CURL_ICONV_CODESET_OF_HOST "IBM-1047" #endif -/* ---------------------------------------------------------------- */ -/* HEADER FILES */ -/* ---------------------------------------------------------------- */ - -#include /* for bzero, strcasecmp, and strncasecmp */ -#include /* for strcpy and strlen */ -#include /* for rand and srand */ -#include /* for select and ioctl*/ -#include /* for in_addr_t definition */ -#include /* for tpf_process_signals */ #endif /* __LIBCONFIGTPF_H */ -- cgit v1.2.1 From a9dc900515a28dcf55b2901a8609072430087693 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 16 Jul 2008 19:16:41 +0000 Subject: Configure process now checks availability of recvfrom() socket function and finds out its return type and the types of its arguments. Added definitions for non-configure systems config files, and introduced macro sreadfrom which will be used on udp sockets as a recvfrom() wrapper. --- lib/config-tpf.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index ee86bab41..1d114b9ce 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -702,6 +702,30 @@ /* Define to the function return type for recv. */ #define RECV_TYPE_RETV int +/* Define to 1 if you have the recvfrom function. */ +#define HAVE_RECVFROM 1 + +/* Define to the type of arg 1 for recvfrom. */ +#define RECVFROM_TYPE_ARG1 int + +/* Define to the type of arg 2 for recvfrom. */ +#define RECVFROM_TYPE_ARG2 char * + +/* Define to the type of arg 3 for recvfrom. */ +#define RECVFROM_TYPE_ARG3 int + +/* Define to the type of arg 4 for recvfrom. */ +#define RECVFROM_TYPE_ARG4 int + +/* Define to the type of arg 5 for recvfrom. */ +#define RECVFROM_TYPE_ARG5 struct sockaddr * + +/* Define to the type of arg 6 for recvfrom. */ +#define RECVFROM_TYPE_ARG6 int * + +/* Define to the function return type for recvfrom. */ +#define RECVFROM_TYPE_RETV int + /* Define to 1 if you have the send function. */ #define HAVE_SEND 1 -- cgit v1.2.1 From 39f23aec6b3cd5e7e5dd9077d96f8eff37ff2b19 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 17 Jul 2008 03:07:54 +0000 Subject: RECVFROM_TYPE_ARG2, RECVFROM_TYPE_ARG5 and RECVFROM_TYPE_ARG6 are now defined to the data type pointed by its respective argument and not the pointer type. --- lib/config-tpf.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index 1d114b9ce..dbeabf6b1 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -708,8 +708,8 @@ /* Define to the type of arg 1 for recvfrom. */ #define RECVFROM_TYPE_ARG1 int -/* Define to the type of arg 2 for recvfrom. */ -#define RECVFROM_TYPE_ARG2 char * +/* Define to the type pointed by arg 2 for recvfrom. */ +#define RECVFROM_TYPE_ARG2 char /* Define to the type of arg 3 for recvfrom. */ #define RECVFROM_TYPE_ARG3 int @@ -717,11 +717,11 @@ /* Define to the type of arg 4 for recvfrom. */ #define RECVFROM_TYPE_ARG4 int -/* Define to the type of arg 5 for recvfrom. */ -#define RECVFROM_TYPE_ARG5 struct sockaddr * +/* Define to the type pointed by arg 5 for recvfrom. */ +#define RECVFROM_TYPE_ARG5 struct sockaddr -/* Define to the type of arg 6 for recvfrom. */ -#define RECVFROM_TYPE_ARG6 int * +/* Define to the type pointed by arg 6 for recvfrom. */ +#define RECVFROM_TYPE_ARG6 int /* Define to the function return type for recvfrom. */ #define RECVFROM_TYPE_RETV int -- cgit v1.2.1 From 14240e9e109fe6af19438c6531d573f85dbb0b1e Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 7 Aug 2008 00:29:08 +0000 Subject: Initial support of curlbuild.h and curlrules.h which allows to have a curl_off_t data type no longer gated to off_t. --- lib/config-tpf.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index dbeabf6b1..70b799a3d 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -593,9 +593,6 @@ /* Define to the type of arg 5 for `select'. */ #define SELECT_TYPE_ARG5 (struct timeval *) -/* The size of a `curl_off_t', as computed by sizeof. */ -#define SIZEOF_CURL_OFF_T 8 - /* The size of a `long', as computed by sizeof. */ #define SIZEOF_LONG 8 -- cgit v1.2.1 From feb03e471786e9c543ef6e807a4a748046c0ce2b Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 13 Aug 2008 15:32:20 +0000 Subject: The size of long is a build time characteristic and as such it is now recorded in curlbuild.h as CURL_SIZEOF_LONG. Definition now done from configure process and in CVS curlbuild.h.dist for non-configure systems. --- lib/config-tpf.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index 70b799a3d..f8d193e17 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -593,9 +593,6 @@ /* Define to the type of arg 5 for `select'. */ #define SELECT_TYPE_ARG5 (struct timeval *) -/* The size of a `long', as computed by sizeof. */ -#define SIZEOF_LONG 8 - /* The size of a `size_t', as computed by sizeof. */ #define SIZEOF_SIZE_T 8 -- cgit v1.2.1 From ceb49d3742e4c27fdd86f9a6b043bebf7f42deaa Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 21 Aug 2008 00:06:15 +0000 Subject: Get rid of ENABLE_64BIT symbol definition and usage. Improve HAVE_LONGLONG symbol description. --- lib/config-tpf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index f8d193e17..104fb8116 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -272,7 +272,7 @@ /* Define to 1 if you have the `localtime_r' function. */ #define HAVE_LOCALTIME_R 1 -/* if your compiler supports long long */ +/* Define to 1 if the compiler supports the 'long long' data type. */ #define HAVE_LONGLONG 1 /* Define to 1 if you need the malloc.h header file even with stdlib.h */ -- cgit v1.2.1 From 19bc92289ddb57110b93b1480d058e31963d9648 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 19 Sep 2008 23:51:16 +0000 Subject: HAVE_ALARM definition for static config-*.h files --- lib/config-tpf.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index 104fb8116..ff441e59e 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -74,6 +74,9 @@ /* Define to the type of arg 7 for getnameinfo. */ /* #undef GETNAMEINFO_TYPE_ARG7 */ +/* Define to 1 if you have the alarm function. */ +#define HAVE_ALARM 1 + /* Define to 1 if you have the header file. */ #define HAVE_ARPA_INET_H 1 -- cgit v1.2.1 From 4e909ee8b1e7e9f174af629615224180568a7e92 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 24 Sep 2008 12:22:16 +0000 Subject: ntoa() and inet_ntoa_r() no longer used --- lib/config-tpf.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index ff441e59e..35231976a 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -208,15 +208,6 @@ /* Define to 1 if you have the `inet_addr' function. */ #define HAVE_INET_ADDR 1 -/* Define to 1 if you have the `inet_ntoa' function. */ -#define HAVE_INET_NTOA 1 - -/* Define to 1 if you have the `inet_ntoa_r' function. */ -/* #undef HAVE_INET_NTOA_R */ - -/* inet_ntoa_r() is declared */ -/* #undef HAVE_INET_NTOA_R_DECL */ - /* Define to 1 if you have the `inet_pton' function. */ /* #undef HAVE_INET_PTON */ -- cgit v1.2.1 From 4d437416daee0f626988b8c056ae9cd22486c655 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 24 Sep 2008 19:13:01 +0000 Subject: HAVE_INET_PTON will only be defined when an IPv6 capable working inet_pton function is available. --- lib/config-tpf.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index 35231976a..35c44ed70 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -208,7 +208,10 @@ /* Define to 1 if you have the `inet_addr' function. */ #define HAVE_INET_ADDR 1 -/* Define to 1 if you have the `inet_pton' function. */ +/* Define to 1 if you have a IPv6 capable working inet_ntop function. */ +/* #undef HAVE_INET_NTOP */ + +/* Define to 1 if you have a IPv6 capable working inet_pton function. */ /* #undef HAVE_INET_PTON */ /* Define to 1 if you have the header file. */ @@ -290,9 +293,6 @@ /* Define if NI_WITHSCOPEID exists and works */ /* #undef HAVE_NI_WITHSCOPEID */ -/* Defined if no inet_pton() prototype available */ -/* #undef HAVE_NO_INET_PTON_PROTO */ - /* we have no strerror_r() proto */ /* #undef HAVE_NO_STRERROR_R_DECL */ -- cgit v1.2.1 From 17d2a464ad42c47ec37870e4b01a18ef5593877f Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 13 Nov 2008 18:56:55 +0000 Subject: Refactor configure script detection of functions used to set sockets into non-blocking mode, and decouple function detection from function capability. --- lib/config-tpf.h | 44 +++++++++++++++++++++++++++++--------------- 1 file changed, 29 insertions(+), 15 deletions(-) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index 35c44ed70..67f9cbfef 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -104,9 +104,6 @@ /* #undef HAVE_DES_H */ #define HAVE_DES_H 1 -/* disabled non-blocking sockets */ -/* #undef HAVE_DISABLED_NONBLOCKING */ - /* Define to 1 if you have the `ENGINE_load_builtin_engines' function. */ /* #undef HAVE_ENGINE_LOAD_BUILTIN_ENGINES */ #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 @@ -121,9 +118,11 @@ /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 -/* use FIONBIO for non-blocking sockets */ -/* #undef HAVE_FIONBIO */ -#define HAVE_FIONBIO 1 +/* Define to 1 if you have the fcntl function. */ +#define HAVE_FCNTL 1 + +/* Define to 1 if you have a working fcntl O_NONBLOCK function. */ +#define HAVE_FCNTL_O_NONBLOCK 1 /* Define to 1 if you have the `fork' function. */ /* #undef HAVE_FORK */ @@ -217,11 +216,23 @@ /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 -/* use ioctlsocket() for non-blocking sockets */ +/* Define to 1 if you have the ioctl function. */ +#define HAVE_IOCTL 1 + +/* Define to 1 if you have a working ioctl FIONBIO function. */ +#define HAVE_IOCTL_FIONBIO 1 + +/* Define to 1 if you have the ioctlsocket function. */ /* #undef HAVE_IOCTLSOCKET */ -/* use Ioctlsocket() for non-blocking sockets */ -/* #undef HAVE_IOCTLSOCKET_CASE */ +/* Define to 1 if you have a working ioctlsocket FIONBIO function. */ +/* #undef HAVE_IOCTLSOCKET_FIONBIO */ + +/* Define to 1 if you have the IoctlSocket camel case function. */ +/* #undef HAVE_IOCTLSOCKET_CAMEL */ + +/* Define to 1 if you have a working IoctlSocket camel case FIONBIO function. */ +/* #undef HAVE_IOCTLSOCKET_CAMEL_FIONBIO */ /* Define to 1 if you have the header file. */ /* #undef HAVE_IO_H */ @@ -328,9 +339,6 @@ /* #undef HAVE_OPENSSL_X509_H */ #define HAVE_OPENSSL_X509_H 1 -/* use O_NONBLOCK for non-blocking sockets */ -/* #undef HAVE_O_NONBLOCK 1 */ - /* Define to 1 if you have the header file. */ /* #undef HAVE_PEM_H */ #define HAVE_PEM_H 1 @@ -380,6 +388,12 @@ /* Define to 1 if you have the `setrlimit' function. */ #define HAVE_SETRLIMIT 1 +/* Define to 1 if you have the setsockopt function. */ +/* #undef HAVE_SETSOCKOPT */ + +/* Define to 1 if you have a working setsockopt SO_NONBLOCK function. */ +/* #undef HAVE_SETSOCKOPT_SO_NONBLOCK */ + /* Define to 1 if you have the header file. */ /* #undef HAVE_SGTTY_H 1 */ @@ -407,9 +421,6 @@ /* Define to 1 if you have the `socket' function. */ #define HAVE_SOCKET 1 -/* use SO_NONBLOCK for non-blocking sockets */ -/* #undef HAVE_SO_NONBLOCK */ - /* Define this if you have the SPNEGO library fbopenssl */ /* #undef HAVE_SPNEGO */ @@ -602,6 +613,9 @@ /* Define if you want to enable ares support */ /* #undef USE_ARES */ +/* Define to disable non-blocking sockets */ +/* #undef USE_BLOCKING_SOCKETS */ + /* if GnuTLS is enabled */ /* #undef USE_GNUTLS */ -- cgit v1.2.1 From 104377d718654947f42f8812b17d1d3127c843a0 Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Tue, 30 Dec 2008 07:31:04 +0000 Subject: added HAVE_SIN6_SCOPE_ID define to all non-configure platforms which seem to be IPv6-aware. --- lib/config-tpf.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index 67f9cbfef..8524cda19 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -62,6 +62,9 @@ /* Define if you want to enable IPv6 support */ /* #undef ENABLE_IPV6 */ +/* Define if struct sockaddr_in6 has the sin6_scope_id member */ +/* #undef HAVE_SIN6_SCOPE_ID */ + /* Define to the type of arg 1 for getnameinfo. */ /* #undef GETNAMEINFO_TYPE_ARG1 */ -- cgit v1.2.1 From 1cc50d31f9962264fd78cdbe6a27dac10742dcd6 Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Tue, 30 Dec 2008 08:05:38 +0000 Subject: changed HAVE_SIN6_SCOPE_ID define to HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID since just found that ares already uses this define. --- lib/config-tpf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index 8524cda19..107158ca8 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -63,7 +63,7 @@ /* #undef ENABLE_IPV6 */ /* Define if struct sockaddr_in6 has the sin6_scope_id member */ -/* #undef HAVE_SIN6_SCOPE_ID */ +/* #undef HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID */ /* Define to the type of arg 1 for getnameinfo. */ /* #undef GETNAMEINFO_TYPE_ARG1 */ -- cgit v1.2.1 From 5a91746b80fd41b9915574d8514f1d40e9cfd1b6 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 1 May 2009 12:39:40 +0000 Subject: David McCreedy's "TPF-platform specific changes to various files" patch --- lib/config-tpf.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index 107158ca8..e67467ba6 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -601,6 +601,9 @@ /* Define to the type of arg 5 for `select'. */ #define SELECT_TYPE_ARG5 (struct timeval *) +/* The size of an `off_t', as computed by sizeof. */ +#define SIZEOF_OFF_T 8 + /* The size of a `size_t', as computed by sizeof. */ #define SIZEOF_SIZE_T 8 -- cgit v1.2.1 From 9137e717b04644592b9b527839470337fdd9f44d Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 2 May 2009 02:37:32 +0000 Subject: Use build-time configured curl_socklen_t instead of socklen_t --- lib/config-tpf.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index e67467ba6..3e482a6bd 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -668,9 +668,6 @@ /* Define to `unsigned' if does not define. */ /* #undef size_t */ -/* Type to use in place of socklen_t when system does not provide it. */ -/* #undef socklen_t */ - /* the signed version of size_t */ /* #undef ssize_t */ -- cgit v1.2.1 From 6d4e6cc8137ff2ebdbaf055e39ce1263ad634191 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sun, 18 Oct 2009 03:37:39 +0000 Subject: Check for basename() is now done the same as other function checks --- lib/config-tpf.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index 3e482a6bd..cea5d3bd9 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -559,9 +559,6 @@ /* if you have the zlib.h header file */ /* #undef HAVE_ZLIB_H */ -/* If you lack a fine basename() prototype */ -/* #undef NEED_BASENAME_PROTO */ - /* need REENTRANT defined */ /* #undef NEED_REENTRANT */ -- cgit v1.2.1 From 1cbc93fb54b773d1564bf2f2194d81c02a985a81 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 14 Nov 2009 18:51:37 +0000 Subject: Refactor how preprocessor symbol _THREAD_SAFE definition is done. --- lib/config-tpf.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index cea5d3bd9..fd995bf4c 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -559,9 +559,12 @@ /* if you have the zlib.h header file */ /* #undef HAVE_ZLIB_H */ -/* need REENTRANT defined */ +/* Define to 1 if _REENTRANT preprocessor symbol must be defined. */ /* #undef NEED_REENTRANT */ +/* Define to 1 if _THREAD_SAFE preprocessor symbol must be defined. */ +/* #undef NEED_THREAD_SAFE */ + /* cpu-machine-OS */ #define OS "s390x-ibm-tpf" @@ -653,9 +656,6 @@ /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */ -/* define this if you need it to compile thread-safe code */ -/* #undef _THREAD_SAFE */ - /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ -- cgit v1.2.1 From 581ce03345d38b124c03c30dcfadcc5b2a2dd819 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sun, 15 Nov 2009 02:45:23 +0000 Subject: Remove enable-thread / disable-thread configure option. These were only placebo options. The library is always built as thread safe as possible on every system. --- lib/config-tpf.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index fd995bf4c..efbd9b429 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -47,9 +47,6 @@ /* when not building a shared library */ /* #undef CURL_STATICLIB */ -/* Set to explicitly specify we don't want to use thread-safe functions */ -/* #undef DISABLED_THREADSAFE */ - /* lber dynamic library file */ /* #undef DL_LBER_FILE */ -- cgit v1.2.1 From cef95aadebf0be4be6b4ed82e07f38cc83faf546 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 26 Feb 2010 18:32:46 +0000 Subject: Added SIZEOF_INT and SIZEOF_SHORT definitions for non-configure systems --- lib/config-tpf.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index efbd9b429..3e494f7c9 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -598,13 +598,19 @@ /* Define to the type of arg 5 for `select'. */ #define SELECT_TYPE_ARG5 (struct timeval *) -/* The size of an `off_t', as computed by sizeof. */ +/* The size of `int', as computed by sizeof. */ +#define SIZEOF_INT 4 + +/* The size of `off_t', as computed by sizeof. */ #define SIZEOF_OFF_T 8 -/* The size of a `size_t', as computed by sizeof. */ +/* The size of `short', as computed by sizeof. */ +#define SIZEOF_SHORT 2 + +/* The size of `size_t', as computed by sizeof. */ #define SIZEOF_SIZE_T 8 -/* The size of a `time_t', as computed by sizeof. */ +/* The size of `time_t', as computed by sizeof. */ #define SIZEOF_TIME_T 8 /* Define to 1 if you have the ANSI C header files. */ -- cgit v1.2.1 From 1aeb635cdd296c16acb375a4a83a78f13166ccab Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 10 Mar 2011 11:48:02 +0100 Subject: sources: update source headers All C and H files now (should) feature the proper project curl source code header, which includes basic info, a copyright statement and some basic disclaimers. --- lib/config-tpf.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index 3e494f7c9..673753100 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -1,5 +1,26 @@ #ifndef __LIBCONFIGTPF_H #define __LIBCONFIGTPF_H +/*************************************************************************** + * _ _ ____ _ + * Project ___| | | | _ \| | + * / __| | | | |_) | | + * | (__| |_| | _ <| |___ + * \___|\___/|_| \_\_____| + * + * Copyright (C) 1998 - 2011, Daniel Stenberg, , et al. + * + * This software is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at http://curl.haxx.se/docs/copyright.html. + * + * You may opt to use, copy, modify, merge, publish, distribute and/or sell + * copies of the Software, and permit persons to whom the Software is + * furnished to do so, under the terms of the COPYING file. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ***************************************************************************/ /* ================================================================ */ /* lib/config-tpf.h - Hand crafted config file for TPF */ -- cgit v1.2.1 From 21423497efe36c70615d0a54e040f76043823345 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 9 Apr 2012 21:24:16 +0200 Subject: configure: Windows cross-compilation fixes BUILDING_LIBCURL and CURL_STATICLIB are no longer defined in curl_config.h, configure will generate appropriate conditionals so that mentioned symbols get defined and used in Makefiles at compilation time --- lib/config-tpf.h | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'lib/config-tpf.h') diff --git a/lib/config-tpf.h b/lib/config-tpf.h index 673753100..0208ab835 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -1,5 +1,5 @@ -#ifndef __LIBCONFIGTPF_H -#define __LIBCONFIGTPF_H +#ifndef HEADER_CURL_CONFIG_TPF_H +#define HEADER_CURL_CONFIG_TPF_H /*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2011, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2012, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -23,7 +23,7 @@ ***************************************************************************/ /* ================================================================ */ -/* lib/config-tpf.h - Hand crafted config file for TPF */ +/* Hand crafted config file for TPF */ /* ================================================================ */ /* ---------------------------------------------------------------- */ @@ -32,9 +32,6 @@ /* NOTE: Refer also to the .mak file for some of the flags below */ -/* when building libcurl itself */ -/* #undef BUILDING_LIBCURL */ - /* to disable cookies support */ /* #undef CURL_DISABLE_COOKIES */ @@ -65,9 +62,6 @@ /* to disable verbose strings */ /* #undef CURL_DISABLE_VERBOSE_STRINGS */ -/* when not building a shared library */ -/* #undef CURL_STATICLIB */ - /* lber dynamic library file */ /* #undef DL_LBER_FILE */ @@ -779,4 +773,4 @@ #endif -#endif /* __LIBCONFIGTPF_H */ +#endif /* HEADER_CURL_CONFIG_TPF_H */ -- cgit v1.2.1