Commit Graph

187 Commits (67a83c1b3465c44b249eaa44fdc492952e59b31f)

Author SHA1 Message Date
Daniel Stenberg 67a83c1b34 David Shaw finally removed all traces of Gopher and we are now officially
not supporting it. It hasn't been functioning for years anyway, so this is
just finally stating what already was true. And a cleanup at the same time.
18 years ago
Dan Fandrich d7a2938849 Mention that PKG_CONFIG_PATH is preferred to --with-ssl 18 years ago
Yang Tse e4388643f1 Checking for function getnameinfo and its arguments is finally
done in one single function CURL_CHECK_FUNC_GETNAMEINFO which
will only define HAVE_GETNAMEINFO if the function has been found
AND the type of its arguments has been properly been detected
18 years ago
Yang Tse 02c7cf6fa5 Fix, header checks must be done before using its results. 18 years ago
Daniel Stenberg d551412a32 added our standard source header 18 years ago
Yang Tse fd0d560b47 Fix quoting 18 years ago
Yang Tse cc542269a1 Give third argument to AC_DEFINE_UNQUOTED 18 years ago
Yang Tse 74ed5b5ebd Adjust more windows header includes 18 years ago
Yang Tse 450a0a647a Fix Msys/Mingw not detecting getnameinfo() with AC_CHECK_FUNCS 18 years ago
Yang Tse d6ffb4c177 TYPE_SOCKLEN_T completely replaced by CURL_CHECK_TYPE_SOCKLEN_T.
CURL_FUNC_GETNAMEINFO_ARGTYPES now also checks first argument.
All related changes taken to cares configuration scripts.
18 years ago
Yang Tse 5acac0309a Test CURL_CHECK_TYPE_SOCKLEN_T 18 years ago
Yang Tse a6a5bba0a9 Experimental check for socklen_t CURL_CHECK_TYPE_SOCKLEN_T 18 years ago
Yang Tse 51581c034d Tests to check the availability of compilable and
valid windows.h winsock.h winsock2.h and ws2tcpip.h
header files:
CURL_CHECK_HEADER_WINDOWS
CURL_CHECK_HEADER_WINSOCK
CURL_CHECK_HEADER_WINSOCK2
CURL_CHECK_HEADER_WS2TCPIP
18 years ago
Yang Tse 7f5d092223 Some preprocessors have problems if the # character isn't at position 1. 18 years ago
Yang Tse 2e5cccd1b6 Check getnameinfo() argument types only if we have getnameinfo(). 18 years ago
Yang Tse 2645782f89 Determine the correct type to be passed to four of the `getnameinfo' function's arguments, and define those types in `GETNAMEINFO_TYPE_ARG2', `GETNAMEINFO_TYPE_ARG46', and `GETNAMEINFO_TYPE_ARG7'. 18 years ago
Daniel Stenberg 84d30dffb6 Yang Tse's fix of the inet_pton check 18 years ago
Daniel Stenberg b222b2304e Yang Tse's changes to provide an inet_pton() proto for the platforms who
don't have one in order to fix a remaining warning on IRIX 6.2.
18 years ago
Daniel Stenberg d2a27e02ce Doug Kaufman corrected my attempt to a generic "skip extra test for function
F"
18 years ago
Daniel Stenberg 74e5beab9d Doug Kaufman's set of patches to make curl build fine on DJGPP again using
configure.
18 years ago
Daniel Stenberg c2862742ab Thanks to this nice summary of poll() implementations:
http://www.greenend.org.uk/rjk/2001/06/poll.html and further tests by Eugene
Kotlyarov, we now know that cygwin's poll returns only POLLHUP on remote
connection closure so we check for that case (too) and re-enable poll for
cygwin builds.
18 years ago
Daniel Stenberg 8a712eb5af Eugene Kotlyarov found out that cygwin's poll() function isn't doing things
right: http://curl.haxx.se/mail/archive-2005-11/0045.html so we now disable
poll() and use select() on cygwin too (we already do the same choice on Mac OS
X)
18 years ago
Daniel Stenberg 175335808b Dmitry Bartsevich discovered some issues in compatibilty of SSPI-enabled
version of libcurl with different Windows versions. Current version of
libcurl imports SSPI functions from secur32.dll. However, under Windows NT
4.0 these functions are located in security.dll, under Windows 9x - in
secur32.dll and Windows 2000 and XP contains both these DLLs (security.dll
just forwards calls to secur32.dll).

Dmitry's patch loads proper library dynamically depending on Windows
version. Function InitSecurityInterface() is used to obtain pointers to all
of SSPI function in one structure.
: ----------------------------------------------------------------------
18 years ago
Daniel Stenberg b29017f15b Domenico Andreoli's patch that removes a few 0xa0(!) bytes 18 years ago
Daniel Stenberg 1e69394545 Since newer ares versions should work with ipv6, I modified the error message
to a warning message as a first step. We should persue to make curl use
c-ares properly even when built with ipv6 support.
18 years ago
Daniel Stenberg 528a149def ifdef for includes, added checking for two not previously checked files (one
being necessary for solaris builds)
18 years ago
Daniel Stenberg 56d9624b56 John Kelly added TFTP support to libcurl. A bunch of new error codes was
added. TODO: add them to docs. add TFTP server to test suite. add TFTP to
list of protocols whereever those are mentioned.
18 years ago
Daniel Stenberg 982ba21460 oops, the GNU GSS patch could clobber the CPPFLAGS variable and it thus
broke krb4 builds!
18 years ago
Daniel Stenberg 5effe8f336 Simon Josefson brought GNU GSS support 18 years ago
Daniel Stenberg 8882d1fa1b avoid adding a blank dir to the LD_LIBRARY_PATH when OpenSSL is found in a
default dir
18 years ago
Dan Fandrich e49a7e361c Fixed --without-gnutls 18 years ago
Dan Fandrich 5872e8dd7e Properly support the options --without-spnego --without-gssapi --without-krb4 18 years ago
Daniel Stenberg f75038634f specify the cares lib before the other libs, to make it build fine with mingw
- inspired by Tupone Alfredo's bug report (and patch) #1212940
18 years ago
Daniel Stenberg 4370e92dbd set LD_LIBRARY_PATH properly even when the openssl lib dir is found using
pkg-config
18 years ago
Daniel Stenberg 6b638af92f removed leftover debug message ("moo moo") 18 years ago
Daniel Stenberg f425a25c98 Modified the gmtime_r check to not check for it until the "check for a working
one" is made, and only if that test runs ok we define it as present. Unless
crosscompiling, since then we use the former AC_CHECK_FUNCS method.
18 years ago
Daniel Stenberg aaace2e802 define GMTIME_R to 0 if not working 18 years ago
Daniel Stenberg 3f16d9fbc9 attempt to detect a bad (as in HPUX 10.20 bad) gmtime_r function 18 years ago
Daniel Stenberg 0b3deceea3 adjusted the configure to always skip the fine-poll() test on Mac OS X (darwin) 18 years ago
Daniel Stenberg a31ddd363b Now configure checks for struct sockaddr_storage and the ftp code tries
to survive without it if not found. AIX 4.3 targetted adjustment.
18 years ago
Daniel Stenberg 0bb040822d Andres Garcia's fix for building static curl on windows. 18 years ago
Daniel Stenberg 779ca09775 Check for and config for the ca cert bundle properly when built with GnuTLS.
Previously this was only done for OpenSSL builds.
18 years ago
Daniel Stenberg 313f1a1e83 when --with-gnutls is used, we assume a bin/libgnutls-config file in the
given prefix. Building something with gnutls without it just is too error-
prone.
18 years ago
Daniel Stenberg 21337f4776 remove the warning for a lacking crypto lib since it migth just be a gnutls
build...
18 years ago
Daniel Stenberg c2fcdf3a02 if libgnutls-config isn't found in the given path, deal with it nicer (but
it is still likely to not do very good since it can't figure out all the lib
dependencies)
18 years ago
Daniel Stenberg 241b2b4ae3 set LD_LIBRARY_PATH when GnuTLS has been found 18 years ago
Daniel Stenberg bebd5dbc5a Add support for --with-gnutls. If configure detects OpenSSL, you need to
to explicitly disable that first with --without-ssl. Initial attempt.
18 years ago
Daniel Stenberg 93fcb94b62 fix configure's SSL-detection for msys/mingw (from Andres Garcia) 18 years ago
Daniel Stenberg d6460aff36 added missing features to curl-config 18 years ago
Daniel Stenberg 9f3d9da119 if ws2_32 is used, append the lib last in the LIBS list (too) to make it
build and link fine with c-ares
18 years ago