df3ca59116
Here's a stab at a consolidation of the SSL detection heuristics into configure. Source files aren't changed by this patch, except for setup.h and the various config*.h files. Within the configure script, OPENSSL_ENABLED is used to determine if SSL is being used or not, and outside configure, USE_SSLEAY means the same thing; this could be even further unified some day. Now, when SSL is not detected, configure skips the various checks that are dependent on SSL, speeding up the configure process and avoiding complications with cross compiles. I also updated all the architecture- specific config files I could see, but I couldn't test them.
88 lines
2.0 KiB
C
88 lines
2.0 KiB
C
|
|
#ifndef LIBCURL_CONFIG_AMIGAOS_H
|
|
#define LIBCURL_CONFIG_AMIGAOS_H
|
|
|
|
#define HAVE_ARPA_INET_H 1
|
|
#define HAVE_GETHOSTBYADDR 1
|
|
#define HAVE_INET_ADDR 1
|
|
#define HAVE_INET_NTOA 1
|
|
#define HAVE_INTTYPES_H 1
|
|
#define HAVE_IOCTLSOCKET_CASE 1
|
|
#define HAVE_LIBCRYPTO 1
|
|
#define HAVE_LIBSSL 1
|
|
#define HAVE_LIBZ 1
|
|
#define HAVE_LONGLONG 1
|
|
#define HAVE_MALLOC_H 1
|
|
#define HAVE_MEMORY_H 1
|
|
#define HAVE_NETDB_H 1
|
|
#define HAVE_NETINET_IN_H 1
|
|
#define HAVE_NET_IF_H 1
|
|
#define HAVE_OPENSSL_CRYPTO_H 1
|
|
#define HAVE_OPENSSL_ERR_H 1
|
|
#define HAVE_OPENSSL_PEM_H 1
|
|
#define HAVE_OPENSSL_RSA_H 1
|
|
#define HAVE_OPENSSL_SSL_H 1
|
|
#define HAVE_OPENSSL_X509_H 1
|
|
#define HAVE_PERROR 1
|
|
#define HAVE_PWD_H 1
|
|
#define HAVE_RAND_EGD 1
|
|
#define HAVE_RAND_STATUS 1
|
|
#define HAVE_SELECT 1
|
|
#define HAVE_SETJMP_H 1
|
|
#define HAVE_SGTTY_H 1
|
|
#define HAVE_SIGNAL 1
|
|
#define HAVE_SOCKET 1
|
|
#define HAVE_STRCASECMP 1
|
|
#define HAVE_STRDUP 1
|
|
#define HAVE_STRFTIME 1
|
|
#define HAVE_STRICMP 1
|
|
#define HAVE_STRINGS_H 1
|
|
#define HAVE_STRING_H 1
|
|
#define HAVE_STRSTR 1
|
|
#define HAVE_SYS_PARAM_H 1
|
|
#define HAVE_SYS_SOCKET_H 1
|
|
#define HAVE_SYS_SOCKIO_H 1
|
|
#define HAVE_SYS_STAT_H 1
|
|
#define HAVE_SYS_TIME_H 1
|
|
#define HAVE_SYS_TYPES_H 1
|
|
#define HAVE_TERMIOS_H 1
|
|
#define HAVE_TERMIO_H 1
|
|
#define HAVE_TIME_H 1
|
|
#define HAVE_UNAME 1
|
|
#define HAVE_UNISTD_H 1
|
|
#define HAVE_UTIME 1
|
|
#define HAVE_UTIME_H 1
|
|
#define HAVE_WRITABLE_ARGV 1
|
|
#define HAVE_ZLIB_H 1
|
|
|
|
#define USE_OPENSSL 1
|
|
#define USE_SSLEAY 1
|
|
|
|
#define OS "AmigaOS"
|
|
|
|
#define PACKAGE "curl"
|
|
#define PACKAGE_BUGREPORT "curl-bug@haxx.se"
|
|
#define PACKAGE_NAME "curl"
|
|
#define PACKAGE_STRING "curl -"
|
|
#define PACKAGE_TARNAME "curl"
|
|
#define PACKAGE_VERSION "-"
|
|
#define CURL_CA_BUNDLE "s:curl-ca-bundle.crt"
|
|
|
|
#define RETSIGTYPE void
|
|
#define SELECT_TYPE_ARG1 int
|
|
#define SELECT_TYPE_ARG234 (fd_set *)
|
|
#define SELECT_TYPE_ARG5 (struct timeval *)
|
|
#define SIZEOF_CURL_OFF_T 4
|
|
|
|
#define STDC_HEADERS 1
|
|
#define TIME_WITH_SYS_TIME 1
|
|
|
|
#define in_addr_t int
|
|
#define socklen_t int
|
|
|
|
#ifndef O_RDONLY
|
|
# define O_RDONLY 0x0000
|
|
#endif
|
|
|
|
#endif /* LIBCURL_CONFIG_AMIGAOS_H */
|