Yang Tse
248f057137
Avoid false positive detection of yaSSL
2007-03-19 15:41:28 +00:00
Daniel Stenberg
d052e545af
detect if built with the OpenSSL API "emulated" by yassl
2007-03-18 22:36:34 +00:00
Yang Tse
5c7c79bd08
show better description for AMD64-linux static libraries PIC check
2007-03-15 15:35:51 +00:00
Daniel Stenberg
d314453037
yassl doesn't have SSL_get_shutdown() in its OpenSSL() layer so we check for
...
it and avoid it, even if this cripples the CCC command
2007-03-14 23:40:46 +00:00
Daniel Stenberg
c8cd13337e
reverted the pselect patch => http://curl.haxx.se/mail/lib-2007-03/0100.html
2007-03-11 09:11:29 +00:00
Daniel Stenberg
dbaf4f9361
- Bryan Henderson introduces two things:
...
1) the progress callback gets called more frequently (at times)
2) libcurl *might* call the callback when it receives a signal
2007-03-10 12:11:21 +00:00
Yang Tse
389a15a867
fix test leftover in previous commit
2007-03-07 18:02:35 +00:00
Yang Tse
74befdfbe0
force libtool to build static libraries with PIC on AMD64
2007-03-07 17:59:03 +00:00
Yang Tse
d31feb8ff9
Autoconf redefines the M4 builtin macro 'm4_undefine' in such a way that
...
it fails if the macro that is being undefined is not already defined. To
make this work under all cases and be sure that at a certain point some
specific macro isn't defined we must use the following style in configure:
m4_ifdef([macro], [m4_undefine([macro])])
2007-03-07 01:13:03 +00:00
Dan Fandrich
b4ef5e22e0
Autoconf 2.57 didn't like these m4_undefine for some reason (probably a bug).
...
Luckily, they weren't needed.
2007-03-06 18:08:20 +00:00
Yang Tse
23786eae32
skip libtool C++ and Fortran linker checks
2007-03-06 16:53:53 +00:00
Yang Tse
c84f84c70d
skip libtool C++ and Fortran checks
2007-03-06 05:05:50 +00:00
Yang Tse
2a6a22a3b0
include <sys/types.h> when checking availability of the bool type
2007-02-22 16:44:43 +00:00
Yang Tse
69565afab0
Check for stdbool.h at configuration stage, and include it if available.
...
Check for lowercase 'bool' type at configuration stage. If not available
provide a suitable replacement with a type definition of 'unsigned char'
in setup_once.h
Move definitions of TRUE and FALSE to setup_once.h
2007-02-22 02:51:54 +00:00
Dan Fandrich
c461254dea
Do a better job at determining what test servers *really* need to link against.
2007-02-17 08:49:04 +00:00
Dan Fandrich
a0a47f2767
Better separate the library dependencies into those required by libcurl
...
and those required by other components to avoid forcing unneeded
dependencies into the target objects.
2007-02-17 01:29:01 +00:00
Yang Tse
fbcf86b83e
avoid using funtion isblank() and just use our ISBLANK
...
macro to provide this functionality on all platforms
2007-02-14 13:31:37 +00:00
Dan Fandrich
9de4e5ebe4
Fixed the problem of curl-config --libs specifying unneeded libraries
...
dependencies to applications.
2007-02-14 03:00:08 +00:00
Yang Tse
be71ccbce3
check for isblank() at configuration stage. If not available
...
provide a suitable replacement for use in our ISBLANK macro
2007-02-13 19:01:03 +00:00
Daniel Stenberg
7f70dbcad5
Rob Crittenden added support for NSS (Network Security Service) for the
...
SSL/TLS layer. http://www.mozilla.org/projects/security/pki/nss/
2007-02-12 22:32:37 +00:00
Yang Tse
4ab91a93e8
AIX xlc has to have strict aliasing turned off. If not, the optimizer
...
assumes that pointers can only point to an object of the same type.
2007-02-07 17:34:30 +00:00
Daniel Stenberg
c185cdf2b4
don't require OpenSSL for libssh2 linking to work, in preparation for
...
upcoming libgcrypt-capable libssh2-versions
2007-02-02 15:26:26 +00:00
Daniel Stenberg
b9af0d89d5
fix the libssh2 include path somewhat when --with-libssh2 is used and added
...
a warning output if no OpenSSL was found
2006-12-03 09:19:23 +00:00
Yang Tse
a46f55b9de
Make sure RETSIGTYPE is properly defined
2006-11-25 01:02:52 +00:00
Yang Tse
73226415fc
Added a check in configure that verifies if <signal.h> is available,
...
defining HAVE_SIGNAL_H if the header is available.
Added a check in configure that tests if the sig_atomic_t type is
available, defining HAVE_SIG_ATOMIC_T if it is available. Providing
a suitable default in setup_once.h if not available.
Added a check in configure that tests if the sig_atomic_t type is
already defined as volatile, defining HAVE_SIG_ATOMIC_T_VOLATILE
if it is available and already defined as volatile.
2006-11-22 18:41:34 +00:00
Yang Tse
7408976b15
fix missing '$' for var OPT_LIBSSH2
2006-11-03 03:05:15 +00:00
Daniel Stenberg
2147284cad
James Housley brought support for SCP transfers
2006-11-02 21:56:40 +00:00
Yang Tse
772a985dc3
Update copyright year, since the file has been modified
2006-10-27 03:47:57 +00:00
Daniel Stenberg
67e8d22958
Added a check in configure that simply tries to run a program (not when
...
cross-compiling) in order to detect problems with run-time libraries that
otherwise would occur when the sizeof tests for curl_off_t would run and
thus be much more confusing to users. The check of course should run after
all lib-checks are done and before any other test is used that would run an
executable built for testing-purposes.
2006-10-16 08:30:54 +00:00
Yang Tse
32ac4edeed
Check for struct timeval at configuration time
2006-10-13 01:35:14 +00:00
Daniel Stenberg
2723eda1e4
Bernard Leak fixed configure --with-gssapi-libs
2006-09-24 22:03:01 +00:00
Yang Tse
77b3bc239d
First step trying to avoid the multiple header inclusion and recursion nightmare.
...
Reintroduce checking for HAVE_MSG_NOSIGNAL in configure script, so that we don't depend on header inclusion order for a valid check.
2006-07-28 14:19:02 +00:00
Dan Fandrich
684245d6ce
Changes to support building for eCos 1.3.1. This has been tested with
...
file: URLs only.
2006-07-19 22:27:49 +00:00
Dan Fandrich
10489879f7
Enable --enable-hidden-symbols for SunPro C
2006-07-11 21:35:35 +00:00
Yang Tse
4d95d23d99
Define NEED_MALLOC_H if including <stdlib.h> is not enough for proper compilation and <malloc.h> must also be included.
2006-07-11 20:40:38 +00:00
Yang Tse
01fa02d0b5
Find out return types and argument types for functions recv() and send() at configuration stage.
2006-07-04 13:03:32 +00:00
Yang Tse
bec1977137
Use CURL_CHECK_FUNC_GETNAMEINFO results in CURL_CHECK_NI_WITHSCOPEID
2006-07-03 15:32:12 +00:00
Dan Fandrich
f13ac35edf
Check whether gcc supports --enable-hidden-symbols before allowing it.
2006-06-13 17:43:00 +00:00
Dan Fandrich
59582a9d9d
Implemented --enable-hidden-symbols configure option to enable
...
-fvisibility=hidden on gcc >= 4.0. This reduces the size of the libcurl
binary and speeds up dynamic linking by hiding all the internal symbols from
the symbol table.
2006-06-12 20:33:04 +00:00
Daniel Stenberg
990e56fb13
Brian Dessent's fixes for cygwin builds
2006-06-08 06:12:30 +00:00
Daniel Stenberg
3752b3aead
Fixed a shell script syntax error that all of a sudden started causing this
...
script to fail on debian unstable (some specific bash version perhaps?)
2006-05-23 22:55:46 +00:00
Daniel Stenberg
d99c20f628
Ok, when checking for old-style SSLeay headers we cannot just use
...
AC_CHECK_HEADERS() and the action-if-found since that action is run even if
just one of the six headers is found and I just now fell over a case with
a duplicate file name (a krb4 implementation with an err.h file).
I converted the check to manually make sure three of the headers are present
before considering them fine.
2006-05-11 21:37:58 +00:00
Daniel Stenberg
2df622fd14
detect ICC and pass on "-we 147" so that the configure checks for function
...
arguments work properly - and the option is not harmful for the rest of the
curl build either!
2006-04-19 11:11:10 +00:00
Daniel Stenberg
a2c289646d
check for fork() as well, so that we can build the sws http test server with
...
fork support for cooler tests
2006-04-10 13:31:35 +00:00
Daniel Stenberg
15f2647d71
Tor Arntsen fixed the AIX Toolbox RPM spec
2006-03-21 13:34:41 +00:00
Daniel Stenberg
c7e9e60b05
fixed the AIX packages
2006-03-20 07:59:45 +00:00
Daniel Stenberg
f13eba4c78
check for and use getprotobyname
2006-03-02 11:37:05 +00:00
Daniel Stenberg
b0bc2f00d2
Kent Boortz improved the configure check for GnuTLS to properly set LIBS
...
instead of LDFLAGS.
2006-02-11 12:56:52 +00:00
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.
2006-01-16 22:14:37 +00:00
Dan Fandrich
d7a2938849
Mention that PKG_CONFIG_PATH is preferred to --with-ssl
2005-12-23 22:33:06 +00:00
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
2005-12-21 20:44:54 +00:00
Yang Tse
02c7cf6fa5
Fix, header checks must be done before using its results.
2005-12-20 18:50:37 +00:00
Daniel Stenberg
d551412a32
added our standard source header
2005-12-20 09:02:36 +00:00
Yang Tse
fd0d560b47
Fix quoting
2005-12-20 03:23:49 +00:00
Yang Tse
cc542269a1
Give third argument to AC_DEFINE_UNQUOTED
2005-12-20 02:48:48 +00:00
Yang Tse
74ed5b5ebd
Adjust more windows header includes
2005-12-19 21:38:10 +00:00
Yang Tse
450a0a647a
Fix Msys/Mingw not detecting getnameinfo() with AC_CHECK_FUNCS
2005-12-18 04:47:29 +00:00
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.
2005-12-16 18:18:00 +00:00
Yang Tse
5acac0309a
Test CURL_CHECK_TYPE_SOCKLEN_T
2005-12-16 05:05:55 +00:00
Yang Tse
a6a5bba0a9
Experimental check for socklen_t CURL_CHECK_TYPE_SOCKLEN_T
2005-12-16 04:18:44 +00:00
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
2005-12-15 19:39:44 +00:00
Yang Tse
7f5d092223
Some preprocessors have problems if the # character isn't at position 1.
2005-12-14 21:09:30 +00:00
Yang Tse
2e5cccd1b6
Check getnameinfo() argument types only if we have getnameinfo().
2005-12-14 20:58:13 +00:00
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'.
2005-12-14 19:00:44 +00:00
Daniel Stenberg
84d30dffb6
Yang Tse's fix of the inet_pton check
2005-11-29 16:17:53 +00:00
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.
2005-11-28 20:21:35 +00:00
Daniel Stenberg
d2a27e02ce
Doug Kaufman corrected my attempt to a generic "skip extra test for function
...
F"
2005-11-25 09:52:19 +00:00
Daniel Stenberg
74e5beab9d
Doug Kaufman's set of patches to make curl build fine on DJGPP again using
...
configure.
2005-11-24 10:22:46 +00:00
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.
2005-11-13 09:24:06 +00:00
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)
2005-11-12 22:49:19 +00:00
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.
: ----------------------------------------------------------------------
2005-11-08 14:15:34 +00:00
Daniel Stenberg
b29017f15b
Domenico Andreoli's patch that removes a few 0xa0(!) bytes
2005-10-04 20:32:17 +00:00
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.
2005-09-20 07:53:44 +00:00
Daniel Stenberg
528a149def
ifdef for includes, added checking for two not previously checked files (one
...
being necessary for solaris builds)
2005-09-15 21:50:50 +00:00
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.
2005-09-02 15:11:08 +00:00
Daniel Stenberg
982ba21460
oops, the GNU GSS patch could clobber the CPPFLAGS variable and it thus
...
broke krb4 builds!
2005-08-31 21:23:47 +00:00
Daniel Stenberg
5effe8f336
Simon Josefson brought GNU GSS support
2005-08-29 08:42:45 +00:00
Daniel Stenberg
8882d1fa1b
avoid adding a blank dir to the LD_LIBRARY_PATH when OpenSSL is found in a
...
default dir
2005-08-21 21:15:07 +00:00
Dan Fandrich
e49a7e361c
Fixed --without-gnutls
2005-07-27 18:22:21 +00:00
Dan Fandrich
5872e8dd7e
Properly support the options --without-spnego --without-gssapi --without-krb4
2005-07-20 23:00:27 +00:00
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
2005-06-01 21:30:29 +00:00
Daniel Stenberg
4370e92dbd
set LD_LIBRARY_PATH properly even when the openssl lib dir is found using
...
pkg-config
2005-05-25 22:14:32 +00:00
Daniel Stenberg
6b638af92f
removed leftover debug message ("moo moo")
2005-05-22 17:54:11 +00:00
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.
2005-05-16 15:09:26 +00:00
Daniel Stenberg
aaace2e802
define GMTIME_R to 0 if not working
2005-05-16 14:53:48 +00:00
Daniel Stenberg
3f16d9fbc9
attempt to detect a bad (as in HPUX 10.20 bad) gmtime_r function
2005-05-16 14:40:10 +00:00
Daniel Stenberg
0b3deceea3
adjusted the configure to always skip the fine-poll() test on Mac OS X (darwin)
2005-05-13 21:19:21 +00:00
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.
2005-05-02 11:56:15 +00:00
Daniel Stenberg
0bb040822d
Andres Garcia's fix for building static curl on windows.
2005-04-22 21:13:27 +00:00
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.
2005-04-19 22:23:37 +00:00
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.
2005-04-19 22:12:34 +00:00
Daniel Stenberg
21337f4776
remove the warning for a lacking crypto lib since it migth just be a gnutls
...
build...
2005-04-19 22:03:10 +00:00
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)
2005-04-15 08:45:35 +00:00
Daniel Stenberg
241b2b4ae3
set LD_LIBRARY_PATH when GnuTLS has been found
2005-04-07 22:13:40 +00:00
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.
2005-04-07 15:12:03 +00:00
Daniel Stenberg
93fcb94b62
fix configure's SSL-detection for msys/mingw (from Andres Garcia)
2005-03-30 20:55:44 +00:00
Daniel Stenberg
d6460aff36
added missing features to curl-config
2005-03-15 07:49:47 +00:00
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
2005-03-14 09:39:11 +00:00
Daniel Stenberg
8ed31c48e0
Added --enable-sspi that now make libcurl build with SSPI support. This only
...
works when built for win32.
2005-03-13 23:59:28 +00:00
Dan Fandrich
205f8b266c
Fixed LDAP library file name bug (KNOWN_BUGS #1 ). configure now auto-detects
...
the correct dynamic library names by default, and provides override switches
--with-ldap-lib, --with-lber-lib and --without-lber-lib. Added
CURL_DISABLE_LDAP to platform-specific config files to disable LDAP
support on those platforms that probably don't have dynamic OpenLDAP
libraries available to avoid compile errors.
2005-03-11 05:28:07 +00:00