Yang Tse
f32dc6b828
Fix an m4 overquoting triggering a spurious 'AS_TR_CPP' symbol definition
...
attempt in generated config.h
2009-05-07 14:03:04 +00:00
Yang Tse
7a928b40f3
Proper naming for the experimental compiler test and moved to *-compilers.m4
2009-05-07 13:58:15 +00:00
Yang Tse
afe06b48d6
Use autobuilds to verify if a couple of experimental compiler tests pass on all of them.
...
This will be removed in 24 or 48 hours.
2009-05-06 18:37:24 +00:00
Yang Tse
cc8c2efff2
fix makefile reference to packages/TPF
2009-05-04 00:33:31 +00:00
Yang Tse
9b4253fe67
HP-UX's X/Open network library requirement check follow-up
2009-05-03 17:35:44 +00:00
Yang Tse
9137e717b0
Use build-time configured curl_socklen_t instead of socklen_t
2009-05-02 02:37:32 +00:00
Yang Tse
6ac739630f
Remove temporary debug tracing for X/Open HP-UX
2009-05-01 22:59:16 +00:00
Yang Tse
8469db016d
Check definition of _XOPEN_SOURCE_EXTENDED with the compiler
2009-05-01 02:03:42 +00:00
Yang Tse
f6312b16f1
Add temporary debug tracing for X/Open HP-UX
2009-04-30 20:33:37 +00:00
Yang Tse
c76e538231
Check if X/Open network library is required
2009-04-30 18:35:36 +00:00
Yang Tse
8611631f5e
Reorder curl_socklen_t and socklen_t equivalent check while both coexist
2009-04-27 02:47:34 +00:00
Yang Tse
0daeab3b8d
Initial step towards a configure time curl_socklen_t definition
2009-04-26 18:51:03 +00:00
Yang Tse
9770899a4b
Moved potential inclusion of system's malloc.h and memory.h header files to
...
setup_once.h. Inclusion of each header file is based on the definition of
NEED_MALLOC_H and NEED_MEMORY_H respectively.
2009-04-21 10:26:58 +00:00
Daniel Stenberg
74ba4d7950
- Use libssh2_version() to present the libssh2 version in case the libssh2
...
library is found to support it.
2009-03-13 09:58:15 +00:00
Daniel Stenberg
34cd99d1d9
update the embedded copyright year
2009-03-11 09:00:34 +00:00
Dan Fandrich
b98e0aa09b
Fixed a problem with m4 quoting in the OpenSSL configure check reported
...
by Daniel Johnson.
2009-03-04 08:09:39 +00:00
Yang Tse
debe0b561d
check for poll() as it is done for other functions
2009-02-13 05:49:58 +00:00
Dan Fandrich
9ddc7ad038
Fixed NTLM on curl-config --features with GnuTLS
2009-02-12 23:57:17 +00:00
Dan Fandrich
9a4c887c4a
Added support for Digest and NTLM authentication using GnuTLS.
2009-02-12 20:48:40 +00:00
Dan Fandrich
4b441ebac5
Don't add the standard /usr/lib or /usr/include paths to LDFLAGS and CPPFLAGS
...
(respectively) when --with-ssl=/usr is used (patch based on FreeBSD).
2009-02-04 23:33:34 +00:00
Daniel Stenberg
b9fdc0c251
- Based on bug report #2498665 ( http://curl.haxx.se/bug/view.cgi?id=2498665 )
...
by Daniel Black, I've now added magic to the configure script that makes it
use pkg-config to detect gnutls details as well if the existing method
(using libgnutls-config) fails. While doing this, I cleaned up and unified
the pkg-config usage when detecting openssl and nss as well.
2009-01-11 23:41:50 +00:00
Gunter Knauf
1cc50d31f9
changed HAVE_SIN6_SCOPE_ID define to HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID since just found that ares already uses this define.
2008-12-30 08:05:38 +00:00
Gunter Knauf
6efde61227
added check for sin6_scope_id member in struct sockaddr_in6.
2008-12-27 04:30:36 +00:00
Yang Tse
39d0b57ebf
Further adjust a libssh2 preprocessor function-symbol definition check
2008-11-29 17:45:16 +00:00
Daniel Stenberg
53a8a6e5a6
- Based on a patch by Vlad Grachov, libcurl now uses a new libssh2 0.19
...
function when built to support SCP and SFTP that helps the library to know
in which direction a particular libssh2 operation would return EAGAIN so
that libcurl knows what socket conditions to wait for before trying the
function call again. Previously (and still when using libssh2 0.18 or
earlier), libcurl will busy-loop in this situation when the easy interface
is used!
2008-11-24 13:59:51 +00:00
Yang Tse
4e4b6de5ce
provide a common PATH_SEPARATOR check method which is required by
...
upcomming work to support the broadest range of Autoconf versions
2008-11-18 19:29:31 +00:00
Yang Tse
9b12f09600
check for gethostbyaddr and gethostbyname as it is done for other functions
2008-11-18 01:57:28 +00:00
Yang Tse
3f01d9a043
trim down configure script size
2008-11-16 02:23:18 +00:00
Yang Tse
17d2a464ad
Refactor configure script detection of functions used to set sockets into
...
non-blocking mode, and decouple function detection from function capability.
2008-11-13 18:56:55 +00:00
Yang Tse
9717ccb786
check for getifaddrs and freeifaddrs as it is done for other functions
2008-11-08 03:27:15 +00:00
Yang Tse
33319f5d2d
check for freeaddrinfo() at configuration phase
2008-10-30 17:45:47 +00:00
Yang Tse
23eb74e085
make CHECK_FUNC_GETADDRINFO_UNFREEABLE_AI_ADDR
...
and CHECK_FUNC_GETADDRINFO_UNFREEABLE_AI_CANONNAME
internal to CHECK_FUNC_GETADDRINFO
2008-10-29 01:45:07 +00:00
Yang Tse
74a16db975
Initial attempt to detect at configuration time if the getaddrinfo()
...
function returns an addrinfo with an unfreeable ai_canonname member ptr.
2008-10-28 20:03:22 +00:00
Yang Tse
0989cd358a
Initial attempt to detect at configuration time if the getaddrinfo()
...
function returns an addrinfo with an unfreeable ai_addr member ptr.
2008-10-28 19:13:25 +00:00
Yang Tse
1054dc5ed1
remove from configure.ac temporary magic for the icc seg-fault issue
2008-10-22 11:10:56 +00:00
Yang Tse
db325d1f43
some more temporary magic for the icc seg-fault issue
2008-10-21 17:54:18 +00:00
Yang Tse
231a51fe7a
some more temporary magic for the icc seg-fault issue
2008-10-20 15:56:08 +00:00
Yang Tse
be760bed7e
Ensure that shell variable contents which have active meaning
...
to the shell echo command are not interpreted when trying to
remove extra whitespace from shell variable content.
2008-10-15 18:10:02 +00:00
Dan Fandrich
fad3288d20
Fixed the --interface option to work with IPv6 connections on glibc
...
systems supporting getifaddrs(). Also fixed a problem where an IPv6
address could be chosen instead of an IPv4 one for --interface when it
involved a name lookup.
2008-10-09 19:23:50 +00:00
Yang Tse
d930280af5
Initial attempt to support configure's --(dis|en)able-optimize
...
option to specify dis(activation) of compiler optimizations.
If option is specified, it will be honored independant of the
--(dis|en)able-debug option.
2008-10-07 13:13:34 +00:00
Yang Tse
2245ac2f88
Initial attempt to support configure's --(dis|en)able-warnings
...
option to specify dis(activation) of picky compiler warnings.
If option is specified, it will be honored independant of the
--(dis|en)able-debug option.
If option is not specified, it will follow --(dis|en)able-debug
setting, whose default is disabled if not specified.
2008-10-02 03:56:55 +00:00
Yang Tse
4aee6822ca
now compiler warnings are activated for all gcc builds, not only debug ones.
2008-09-30 12:39:54 +00:00
Yang Tse
beb14ca6d6
Use CFLAGS for icc linker options instead of LDFLAGS,
...
otherwise gethostbyname() is not detected.
2008-09-30 02:59:35 +00:00
Daniel Stenberg
6f8d439717
spell!
2008-09-29 21:49:10 +00:00
Daniel Stenberg
f3ab5d5500
- Daniel Egger provided a patch that allows you to disable proxy support in
...
libcurl to somewhat reduce the size of the binary. Run configure
--disable-proxy.
2008-09-29 21:46:04 +00:00
Yang Tse
9f8c40ed78
use ac_cv_compiler and ac_cv_compiler_num to keep compiler ID and version number
2008-09-29 19:14:52 +00:00
Yang Tse
cda9d7e579
Temporary icc adjustment:
...
Disable floating point optimizations
2008-09-29 16:09:31 +00:00
Yang Tse
83c199bb00
siginterrupt, signal and sigsetjmp checks
2008-09-26 18:28:32 +00:00
Yang Tse
4d437416da
HAVE_INET_PTON will only be defined when an IPv6 capable working
...
inet_pton function is available.
2008-09-24 19:13:01 +00:00
Yang Tse
267b942383
configure script now checks availability of the inet_ntop() function,
...
and when not crosscompiling verifies if it is IPv6 capable.
HAVE_INET_NTOP will only be defined when an IPv6 capable working
inet_ntop function is available.
2008-09-24 16:43:40 +00:00
Yang Tse
006cab3e9e
temporarily enable CURL_CHECK_FUNC_INET_NTOA_R
2008-09-24 12:38:11 +00:00
Yang Tse
4e909ee8b1
ntoa() and inet_ntoa_r() no longer used
2008-09-24 12:22:16 +00:00
Yang Tse
188311863a
icc adjustments for icc 9.0 and prior versions:
...
Disable remark #279 : controlling expression is constant
Remark triggered mostly on va_arg() and FD_ZERO() macros.
2008-09-22 18:42:48 +00:00
Yang Tse
6abbbaad1b
fix regression in configure script which affected OpenSSL builds on MSYS
2008-09-20 12:44:44 +00:00
Yang Tse
4e4f6c1ec8
configure script now checks availability of the alarm() function
2008-09-19 18:39:24 +00:00
Yang Tse
51ba24991c
icc adjustments:
...
Disable remark #981 : operands are evaluated in unspecified order
Function calls which are triggering this remark, today, do not depend
on the order of evaluation of its arguments.
Disable remark #1469 : "cc" clobber ignored
Remark triggered on htons() and ntohs() due to glibc header files.
2008-09-19 15:59:28 +00:00
Yang Tse
a8323cc3f5
icc adjustments
2008-09-18 13:56:56 +00:00
Dan Fandrich
33b658a341
Fixed a syntax error
2008-09-17 17:36:58 +00:00
Yang Tse
d84440d53b
improve detection of gethostbyaddr_r() and gethostbyname_r()
2008-09-17 16:03:49 +00:00
Yang Tse
0c1ae21c11
improve detection of getservbyport_r()
2008-09-17 11:31:37 +00:00
Yang Tse
f30959c6bd
On Linux Intel's icc uses gcc's header files, so
...
we select ANSI C89 dialect plus GNU extensions.
2008-09-17 09:37:41 +00:00
Yang Tse
d7e406e020
improve detection of gethostname(), localtime_r() and strstr()
2008-09-17 08:14:28 +00:00
Yang Tse
aa41743ebd
rearrange to allow internal/private use of ares_writev to any system
...
that lacks the writev function.
2008-09-16 16:42:48 +00:00
Yang Tse
4c621bc697
improve detection of:
...
strcasecmp()
strcasestr()
strcmpi()
stricmp()
strlcat()
strncasecmp()
strncmpi()
strnicmp()
2008-09-15 00:32:08 +00:00
Yang Tse
b93ad10fa5
improve detection of fdopen() and strerror_r()
2008-09-12 01:16:26 +00:00
Dan Fandrich
6cea51585f
Checked in some code improvements and minor fixes that I discovered in the
...
FreeBSD ports system.
2008-09-10 20:05:45 +00:00
Yang Tse
fce9c3a9f1
improve detection of strdup() and ftruncate()
2008-09-10 19:26:30 +00:00
Yang Tse
969903ebf2
improve detection of sigaction() and strtok_r()
2008-09-10 19:03:00 +00:00
Yang Tse
7b3f86152a
icc adjustments
2008-09-10 17:35:22 +00:00
Yang Tse
ea1362a936
improve detection of gmtime_r() and strtoll()
2008-09-10 17:33:15 +00:00
Yang Tse
3072c5b8a1
icc adjustments
2008-09-09 12:19:16 +00:00
Yang Tse
a3787eff19
Select strict ANSI C89 conformance for icc
2008-09-08 16:48:58 +00:00
Daniel Stenberg
bbc002a505
- Keith Mok added supported_protocols and supported_features to the pkg-config
...
file for libcurl, and while doing that fix he unified with curl-config.in
how the supported protocols and features are extracted and used, so both those
tools should now always be synced.
2008-09-02 12:07:08 +00:00
Yang Tse
243cf29793
Windows build targets don't use the 'SONAME' mechanism.
2008-08-26 16:46:46 +00:00
Yang Tse
fef60d9d41
Added check and symbol definition for WIN32 file API usage in configure,
...
supporting configure's --disable-largefile option for WIN32 targets also.
Non-configure systems which do not use config-win32.h configuration file,
and want to use the WIN32 file API, must define USE_WIN32_LARGE_FILES or
USE_WIN32_SMALL_FILES as appropriate in their own configuration files.
2008-08-26 12:54:12 +00:00
Daniel Stenberg
d7d5618498
remove some leftover debug code
2008-08-25 12:50:02 +00:00
Daniel Stenberg
3f3d6ebe66
if the size of off_t is not the same as curl_off_t, this is not like how libcurl
...
used to get built < 7.19.0 so we enforce an soname bump and display a warning
2008-08-25 12:49:13 +00:00
Daniel Stenberg
8dabd34432
Introduced the configure option --enable-soname-bump that lets a user enforce
...
an SONAME bump.
2008-08-24 21:26:42 +00:00
Daniel Stenberg
8980f89370
revert accidental commit of test code
2008-08-23 12:14:35 +00:00
Daniel Stenberg
13dc82b9d4
- Constantine Sapuntzakis fixed a bug when doing proxy CONNECT with the multi
...
interface, and the proxy would send Connection: close during the
authentication phase. http://curl.haxx.se/bug/view.cgi?id=2069047
2008-08-23 12:11:38 +00:00
Daniel Stenberg
a6a2174bf7
Sort of hackish approach to get the off_t size before large file support
...
is enabled (or skipped). Thanks to Jamie Lokier for the nice work-around the
cached-check-problem: http://curl.haxx.se/mail/lib-2008-08/0331.html
2008-08-22 07:58:30 +00:00
Yang Tse
95cef39def
Test case 557 now also verifies signed and unsigned int formatting.
2008-08-21 05:19:40 +00:00
Yang Tse
ceb49d3742
Get rid of ENABLE_64BIT symbol definition and usage.
...
Improve HAVE_LONGLONG symbol description.
2008-08-21 00:06:15 +00:00
Yang Tse
a06e077938
Use autoconf's result of AC_CHECK_SIZEOF(long) in CURL_CONFIGURE_LONG
2008-08-13 19:49:19 +00:00
Yang Tse
63818f8488
Fix IBM C and DEC/Compaq C compiler detection
2008-08-09 17:01:17 +00:00
Yang Tse
14240e9e10
Initial support of curlbuild.h and curlrules.h which allows
...
to have a curl_off_t data type no longer gated to off_t.
2008-08-07 00:29:08 +00:00
Yang Tse
b4fdccf87a
Autoconf 2.62 has changed the behaviour of the AC_AIX macro which we use.
...
Prior versions of autoconf defined _ALL_SOURCE if _AIX was defined. But,
autoconf 2.62 version of AC_AIX defines _ALL_SOURCE along with other four
preprocessor symbols no matter if the system is AIX or not. To keep the
traditional behaviour, as well as an uniform one, across autoconf versions
AC_AIX is replaced with our own internal macro.
2008-08-04 06:48:11 +00:00
Yang Tse
74d77cb140
Adjust DEC/Compaq C compiler settings.
2008-08-03 03:14:05 +00:00
Yang Tse
7ad3abfd05
Another AC_TRY_COMPILE conversion to AC_COMPILE_IFELSE
2008-08-03 01:01:05 +00:00
Yang Tse
7c6df7132e
No longer test availability of the gdi32 library, nor use it for linking, even
...
when we have been doing this since revision 1.47 of configure.ac 4 years and
5 months ago when cross-compiling a Windows target. We actually don't use any
function from the Windows GDI (Graphics Device Interface) related with drawing
or graphics-related operations.
2008-08-02 01:44:13 +00:00
Yang Tse
357389a905
Another AC_TRY_LINK conversion to AC_LINK_IFELSE.
...
Sorting of function names.
Proper definition of HAVE_function if function is found deeper.
2008-08-01 19:01:35 +00:00
Yang Tse
817efbc29c
These lines were unintentionally removed in previous commit
2008-07-27 23:43:53 +00:00
Yang Tse
d2661cb4b2
Partially undo change that prevented SED, GREP, EGREP and AR from being changed by libtool or autoconf.
2008-07-27 22:25:07 +00:00
Yang Tse
3d4fb5136d
Remove explicit inclusion of our m4 files first. It was interesting as a test,
...
but it breaks aclocal execution on some systems, with the following error:
Can't locate object method "rel2abs" via package "File::Spec" at /usr/local/bin/aclocal line 256.
2008-07-27 02:41:13 +00:00
Yang Tse
052f9ddedb
Another step towards detecting if _REENTRANT is already defined or actually
...
needed, and being able to define it if appropriate for further configure tests
as well as for the generated config file.
2008-07-27 01:36:33 +00:00
Yang Tse
fa1009b6fc
Explicitly include our m4 files first. This might minimize the impact
...
that other package's underquoted m4 function definitions have on ours.
2008-07-26 14:45:16 +00:00
Yang Tse
b377e857bd
simplify multi '#' char comment line
2008-07-26 12:11:22 +00:00
Yang Tse
8a323f8354
Another step towards detecting if _REENTRANT is already defined or actually
...
needed, and being able to define it if appropriate for further configure tests
as well as for the generated config file.
Introduced reentrant.m4 intended for our reentrant related autotools/m4 macros.
2008-07-24 15:20:35 +00:00
Yang Tse
1bc490077a
Make sure that configure process tests are done with the same _REENTRANT
...
setting as the one actually used when finally building the library.
2008-07-22 19:04:16 +00:00
Yang Tse
71525352f0
Adjust DEC/Compaq C compiler settings
2008-07-20 17:18:29 +00:00
Yang Tse
3f84e373ac
Adjust DEC/Compaq C compiler settings
2008-07-19 11:27:45 +00:00
Yang Tse
a9dc900515
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.
2008-07-16 19:16:41 +00:00
Yang Tse
3a705696af
Initial DEC/Compaq C compiler detection and flags
2008-07-16 14:17:56 +00:00
Yang Tse
0b57c47547
egrep and ar are also mandatory
2008-07-04 04:03:55 +00:00
Yang Tse
bfaab6ed6b
The configure process will now halt when sed or grep are unavailable
2008-07-02 17:42:08 +00:00
Yang Tse
513c22df3b
IBM C/C++ compiler predefined macro check
2008-07-01 10:29:25 +00:00
Yang Tse
b5afd53138
set earlier in configure process IBM compilers optimization flags
2008-07-01 00:30:44 +00:00
Yang Tse
2c61e9c76a
Modified configuration script to actually verify if the compiler is good
...
enough at detecting compilation errors or at least it has been properly
configured to do so. Configuration heavily depends on this capability, so
if this compiler sanity check fails the configuration process will now fail.
2008-06-20 18:09:48 +00:00
Daniel Stenberg
b97606f0b0
Andreas Faerber and Scott McCreary made (lib)curl build for the Haiku OS
2008-05-26 15:09:28 +00:00
Yang Tse
8ad1928d93
update several macros using AC_TRY_LINK with AC_LINK_IFELSE
2008-05-20 15:55:31 +00:00
Yang Tse
862049c490
fix underquoting of AC_LANG_PROGRAM arguments
2008-05-20 04:23:30 +00:00
Yang Tse
d70f33748c
update several macros using AC_TRY_LINK with AC_LINK_IFELSE
2008-05-20 01:03:45 +00:00
Yang Tse
9346e55d5a
better select() function detection that works
...
even when cross compiling a Windows target.
2008-05-19 16:57:56 +00:00
Yang Tse
512b9ac194
if WINSOCK2 API is used link with 'ws2_32', else
...
if WINSOCK API is used under WinCE link with 'winsock', else
if WINSOCK API is used link with 'wsock32'.
2008-05-19 02:50:29 +00:00
Yang Tse
560a82aeaf
on winsock systems linking is done using library 'ws2_32' when
...
winsock2.h is available, and library 'winsock' is used when only
winsock.h is available.
2008-05-18 20:13:13 +00:00
Yang Tse
7358db5c27
minor change for wince-cegcc and wince-mingw32ce support
2008-05-17 01:20:56 +00:00
Yang Tse
c4f1ab3cc5
remove duplicate check
2008-05-14 16:17:23 +00:00
Yang Tse
5e06ec8409
skip checks for Windows specific header files
...
when build target is not a native Windows one
2008-05-14 16:14:35 +00:00
Yang Tse
ed80eb5b0f
configure script will now define HAVE_CLOCK_GETTIME_MONOTONIC symbol only
...
when function clock_gettime() is available and the monotonic timer is
also available. Otherwise, in some cases, librt or libposix4 could be used
for linking even when finally not using the clock_gettime() function due
to lack of the monotonic clock.
2008-05-12 02:04:21 +00:00
Yang Tse
b380dd030f
Add library checking for clock_gettime() support
2008-05-10 15:46:08 +00:00
Yang Tse
19479ea021
Internal time differences now use monotonic time source if available.
...
This also implies the removal of the winmm.lib dependency for WIN32.
2008-05-09 16:31:51 +00:00
Daniel Stenberg
4e3d235e04
- Yuriy Sosov pointed out a configure fix for detecting c-ares when that is
...
built debug-enabled.
2008-05-03 22:04:39 +00:00
Daniel Stenberg
3d29bda9f8
- Bart Whiteley provided a patch that made libcurl work properly when an app
...
uses the CURLOPT_OPENSOCKETFUNCTION callback to create a unix domain socket
to a http server.
2008-05-01 21:34:34 +00:00
Yang Tse
95fd093c4a
Remove fflush() + fsync() previously introduced accelerated writing of
...
server input and response request files of the test harness sws server.
Reintroduce, for test # 1001, the <postcheck> small delay. The delay is
needed even with the accelerated writing of server input and response
request files in test harness sws server.
http://curl.haxx.se/mail/lib-2008-04/0385.html
2008-04-22 12:40:05 +00:00
Yang Tse
a87c468c5c
accelerate the writing of server input and response request files
...
to disk, trying to defeat file and disk write-behind algorithms
2008-04-20 19:15:08 +00:00
Michal Marek
d0a4b50e19
- Fix the MIT / Heimdal check for good:
...
Define HAVE_GSSMIT if <gssapi/{gssapi.h,gssapi_generic.h,gssapi_krb5.h}> are
available, otherwise define HAVE_GSSHEIMDAL if <gssapi.h> is available.
Only define GSS_C_NT_HOSTBASED_SERVICE to gss_nt_service_name if
GSS_C_NT_HOSTBASED_SERVICE isn't declared by the gssapi headers. This should
avoid breakage in case we wrongly recognize Heimdal as MIT again.
2008-04-07 09:26:30 +00:00
Michal Marek
d13be06aaa
Removed the generated ca-bundle.h file. The verbatim value of $ca and
...
$capath is known to configure, so it can be defined in config.h instead.
2008-03-31 12:09:43 +00:00
Daniel Stenberg
342fa1cf06
fix --with-libssh2 when given without path
2008-03-27 23:10:24 +00:00
Dan Fandrich
c37cdbe2cf
Fixed a problem where curl-config --protocols could erroneously show LDAPS
...
support when curl didn't even have regular LDAP support. It looks like
this could happen when the --enable-ldaps configure switch is given but
configure couldn't find the LDAP headers or libraries.
2008-03-20 20:08:44 +00:00
Michal Marek
86cbb23282
- Added --with-ca-path=DIRECTORY configure option to use an openSSL CApath by
...
default instead of a ca bundle. The configure script will also look for a
ca path if no ca bundle is found and no option given.
- Fixed detection of previously installed curl-ca-bundle.crt
2008-03-20 08:09:23 +00:00
Michal Marek
9bb51d767e
(try to) use LIBS for libraries (-l) and LDFLAGS for paths (-L) in the
...
gssapi check. Cleans up curl-config --libs output when REQUIRE_LIB_DEPS=no
2008-03-10 09:56:49 +00:00
Michal Marek
40e1a016f9
Fix the gssapi configure check to detect newer MIT Kerberos (patch by
...
Michael Calmer)
2008-03-06 17:22:45 +00:00
Yang Tse
115446be37
Force AIX xlc to fail and not generate object code if the source code has
...
compiled with errors. This behaviour is needed for autoconf macros which
rely on the ability to compile with or without errors, and is safer than
xlc's default of failing only upon severe errors.
2008-02-29 17:13:39 +00:00
Daniel Stenberg
fb23b85770
- We're no longer providing a very old ca-bundle in the curl tarball. You can
...
get a fresh one downloaded and created with 'make ca-bundle' or you can get
one from here => http://curl.haxx.se/docs/caextract.html if you want a fresh
new one extracted from Mozilla's recent list of ca certs.
The configure option --with-ca-bundle now lets you specify what file to use
as default ca bundle for your build. If not specified, the configure script
will check a few known standard places for a global ca cert to use.
2008-02-18 11:35:12 +00:00
Yang Tse
23547fa2a0
sockfilt will quit when orphaned
2008-02-17 04:36:08 +00:00
Daniel Stenberg
267836e83c
updated copyright year in the generated configure
2008-01-28 11:48:41 +00:00
Yang Tse
bdb2beb8e4
check availability of poll.h header at configuration time, and include
...
it when sys/poll.h is unavailable
2008-01-22 14:52:54 +00:00
Yang Tse
a674654f83
Disable ldap support for cygwin builds, since it breaks whole build process.
2008-01-21 20:22:33 +00:00
Daniel Stenberg
e2c817731a
I made the curl tool switch from using CURLOPT_IOCTLFUNCTION to now use the
...
spanking new CURLOPT_SEEKFUNCTION simply to take advantage of the improved
performance for the upload resume cases where you want to upload the last
few bytes of a very large file. To implement this decently, I had to switch
the client code for uploading from fopen()/fread() to plain open()/read() so
that we can use lseek() to do >32bit seeks (as fseek() doesn't allow that)
on systems that offer support for that.
2008-01-11 14:00:47 +00:00
Daniel Stenberg
20695098c8
remove mistaken "-d" from here
2007-12-14 22:09:15 +00:00
Dan Fandrich
380ed8bebf
Upped copyright year
2007-11-30 02:31:07 +00:00
Daniel Stenberg
c1b734a3e1
When --with-gssapi (without given path) is used, we must use krb5-config to
...
get the libs as well and not only the include path like we used to.
2007-11-28 10:33:47 +00:00
Daniel Stenberg
bff962398d
Andres Garcia made the examples build fine on Windows (mingw + msys) when
...
the lib was built staticly.
2007-11-17 10:22:44 +00:00
Dan Fandrich
48dd0c5673
Fixed curl-config --features to not display libz when it wasn't used
...
due to a missing header file.
2007-11-01 18:55:00 +00:00
Dan Fandrich
823a0454a6
Fixed the output of curl-config --protocols which showed SCP and SFTP
...
always, except when --without-libssh2 was given
2007-10-31 23:33:58 +00:00
Daniel Stenberg
57d2fb41d0
Based on one of those bug reports that are intercepted by a distro's bug
...
tracker (https://bugzilla.redhat.com/show_bug.cgi?id=316191 ), I now made
curl-config --features and --protocols show the correct output when built
with NSS.
2007-10-29 22:13:00 +00:00
Dan Fandrich
faaaf62655
Added the --static-libs option to curl-config
2007-10-25 22:30:35 +00:00
Yang Tse
d0fe681a28
Fix message shown when detecting icc version
2007-10-19 12:15:00 +00:00
Yang Tse
33ddeb6dcc
Fix compiler warning: feupdateenv is not implemented and will always fail.
...
Specifically for linux x86-64 with Intel's icc.
2007-10-18 16:24:14 +00:00
Yang Tse
4db954f802
Add custom check for LDAP libraries
2007-10-14 21:25:10 +00:00
Yang Tse
a171f60bf7
Add custom checks for lber, ldap, ldapssl and ldap_ssl header files
2007-10-14 02:37:04 +00:00
Yang Tse
07625fe243
Add check for winldap and winber header files
2007-10-13 14:23:15 +00:00
Yang Tse
d09bac137a
improve checking for ldap.h and ldap_ssl.h header files
2007-10-10 13:00:11 +00:00
Yang Tse
3337be81c8
Add check for lber.h and ldap.h header files
2007-10-09 23:44:14 +00:00
Dan Fandrich
c478200766
Use a native strcasestr() if found.
2007-09-25 06:43:58 +00:00
Daniel Stenberg
8c3f40ee32
Rob Crittenden provided an NSS update with the following highlights:
...
o It looks for the NSS database first in the environment variable SSL_DIR,
then in /etc/pki/nssdb, then it initializes with no database if neither of
those exist.
o If the NSS PKCS#11 libnspsem.so driver is available then PEM files may be
loaded, including the ca-bundle. If it is not available then only
certificates already in the NSS database are used.
o Tries to detect whether a file or nickname is being passed in so the right
thing is done
o Added a bit of code to make the output more like the OpenSSL module,
including displaying the certificate information when connecting in
verbose mode
o Improved handling of certificate errors (expired, untrusted, etc)
The libnsspem.so PKCS#11 module is currently only available in Fedora
8/rawhide. Work will be done soon to upstream it. The NSS module will work
with or without it, all that changes is the source of the certificates and
keys.
2007-09-18 22:21:54 +00:00
Dan Fandrich
9b23b31071
Added LDAPS, SCP and SFTP to curl-config --protocols.
...
Removed and fixed some AC_SUBST configure entries.
2007-09-14 01:24:59 +00:00
Gunter Knauf
4b60c3e9d3
added --enable-ldaps switch;
...
renamed LDAP(S) messages from 'yes' to 'enabled'.
2007-08-30 20:28:40 +00:00
Gunter Knauf
77431568d2
converted tabs to spaces.
2007-08-20 19:33:46 +00:00
Gunter Knauf
e16c1b8e28
removed trailing spaces.
2007-08-20 19:30:25 +00:00
Gunter Knauf
72e675caee
dont set CURL_LDAP_HYBRID for MingW32 configure builds.
2007-08-20 15:51:45 +00:00
Gunter Knauf
e347cff0e4
added define for ldap_ssl.h.
2007-08-20 12:50:44 +00:00
Daniel Stenberg
d0edb47896
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.
2007-08-11 20:57:54 +00:00
Daniel Stenberg
375cdf89ad
With lots of help from Rich Rauenza(?) in bug #1733119 , we introduce a fairly
...
complicated work-around for 64bit HPUX compiles. We do the fix using inline
static functions to make them follow the header file properly and thus get
used fine in the test suite too etc.
2007-06-12 21:39:21 +00:00
Daniel Stenberg
4c663ba9a8
When transferring 500 downloads in parallel with a c-ares enabled build only
...
to find that it crashed miserably, and this was due to some select()isms left
in the code. This was due to API restrictions in c-ares 1.3.x, but with the
upcoming c-ares 1.4.0 this is no longer the case so now libcurl runs much
better with c-ares and the multi interface with > 1024 file descriptors in
use.
2007-05-31 11:34:32 +00:00
Dan Fandrich
0427e94465
Added support for compiling under Minix 3.1.3 using ACK.
2007-05-17 06:04:44 +00:00
Daniel Stenberg
60588b2455
brlcad on #curl provided this patch (edited by me) since "configure will fail
...
looking for a C++ preprocessor on libtool-using projects" with the factory-
installed libtool version on Mac OS X.
2007-04-30 21:47:58 +00:00
Daniel Stenberg
0abccc676d
--without-ssl disables OpenSSL only
2007-04-22 09:37:05 +00:00
Daniel Stenberg
02267eba4c
shell script assigns should not have spaces, hopefully fixes bug #1705177
2007-04-22 07:36:12 +00:00
Yang Tse
d8d3dc9302
--enable-sspi only supported on Windows native builds
2007-04-10 18:53:21 +00:00
Daniel Stenberg
c518c52aba
Nick Zitzmann did ssh.c cleanups
2007-04-08 22:44:21 +00:00
Daniel Stenberg
5e7164f87a
Matt Kraai provided a patch that makes curl build on QNX 6 fine again. Mostly
...
by letting configure check for setmode and ifdef on HAVE_SETMODE. NOTE: non-
configure platforms that havve setmode() needs their hard-coded config.h files
fixed. I fixed the src/config-win32.h.
2007-04-01 07:51:30 +00:00
Yang Tse
273b2b230b
Add check for compiler variadic macro support in configuration script
2007-03-22 18:25:38 +00:00
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
Dan Fandrich
c4f7570a23
Stopped linking to the SSL libs if a full installation isn't found.
...
Removed a redundant library check.
2005-03-09 18:40:41 +00:00
Dan Fandrich
18d87edd6d
Fixed the --with-zlib configure option so that it always adds the specified
...
path to the compiler flags. Before, a zlib installation in the default
path was always used in preference to the one in the desired location.
2005-03-08 03:24:49 +00:00
Daniel Stenberg
4d815c9990
Based on Mike Dobbs' report, BUILDING_LIBCURL is now defined in here if it
...
runs to build with mingw.
2005-02-18 08:24:53 +00:00
Daniel Stenberg
f169b750b8
check for ENGINE_load_builtin_engines() as well if engine is around
2005-02-14 23:50:29 +00:00
Daniel Stenberg
22c1d48cb2
remove the check for strftime(), we don't need it
2005-02-11 19:34:05 +00:00
Daniel Stenberg
65dbee01e5
check for errno.h
2005-01-18 14:34:50 +00:00
Daniel Stenberg
8ac90316d9
nah, don't use the system's getpass() function since it too often is limited
...
to 8(!) or similar lengths passwords
2004-12-26 09:17:38 +00:00
Daniel Stenberg
7ef6b05ef1
My reimplementation and cleanup of the getpass source code. We officially no
...
longer use Angus Mackay's getpass code due to the weirdo license his code was
donated to us under.
2004-12-25 22:08:02 +00:00
Daniel Stenberg
3955b31362
David Shaw fixed the disable variables so that curl-config --feature works
...
correctly!
2004-12-23 08:48:59 +00:00
Daniel Stenberg
58f4af7973
Marcin Konicki provided two configure fixes and a source fix to make curl
...
build out-of-the-box on BeOS.
2004-12-22 22:28:10 +00:00
Daniel Stenberg
090a7f38be
check for openssl/pkcs12.h
2004-12-19 09:36:54 +00:00
Daniel Stenberg
f966dad306
Dan Fandrich did minor corrections to his SSL cleanup patch
2004-12-13 08:34:46 +00:00
Daniel Stenberg
df3ca59116
Dan Fandrich:
...
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.
2004-12-11 18:47:22 +00:00
Daniel Stenberg
98adcdd466
Ton Voon provided a configure fix that should fix the notorious (mostly
...
reported on Solaris) problem where the size_t check fails due to the SSL libs
being found in a dir not searched through by the run-time linker.
patch-tracker entry #1081707 .
2004-12-09 09:27:30 +00:00
Daniel Stenberg
ac269a8f68
Dan Fandrich added the --disable-cookies option to configure to build
...
libcurl without cookie support. This is mainly useful if you want to build a
minimalistic libcurl with no cookies support at all. Like for embedded
systems or similar.
2004-12-05 23:59:32 +00:00
Daniel Stenberg
25559ac02e
Andrés García fixed the configure script to detect select properly when run
...
with Msys/Mingw on Windows.
2004-11-24 15:49:43 +00:00
Daniel Stenberg
a4e1ac7952
David Phillips fix for test 518 and my extension to make it not run on
...
systems that can't run it fine.
2004-11-22 22:26:46 +00:00
Daniel Stenberg
94043b1150
Dan Fandrich added the --disable-crypto-auth option to configure to allow
...
libcurl to build without Digest support. (I figure it should also explicitly
disable Negotiate and NTLM.)
2004-11-12 09:18:14 +00:00
Daniel Stenberg
4897587615
Dan Fandrich can spell, I cannot
2004-11-11 23:13:59 +00:00
Daniel Stenberg
8c16696f47
fix a IDN detect/use mistake
2004-11-11 22:01:53 +00:00
Daniel Stenberg
710e370c34
Dan Fandrich added --disable-verbose
2004-11-11 16:34:24 +00:00
Daniel Stenberg
7bb6d76d14
When libidn is detected without explicitly told to, we provide -L/lib and
...
-I/include options. Not anymore.
2004-11-11 14:41:37 +00:00
Daniel Stenberg
cd73a733c7
dates from 2038 or later now return 0x7fffffff when 32 bit time_t is used
2004-11-11 09:26:09 +00:00
Daniel Stenberg
49111a63e6
configure --with-gssapi fix
2004-11-10 21:43:41 +00:00
Daniel Stenberg
facfa19cdd
weirdo hack to fix debian bug report 278691:
...
'curl -v writes debugging to its network socket if stderr is closed'
2004-11-08 19:41:28 +00:00
Daniel Stenberg
c688166066
check for and require tld.h to be present before libidn usage is activated
...
in the build, since libidn 0.3.X didn't have the header and we don't support
that old libidn versions anyway.
This was mentioned on the list by Jean-Philippe Barrette-LaPierre and in bug
report #1062264 .
2004-11-08 07:47:08 +00:00
Daniel Stenberg
2e973684c0
based Andres Garcia's patch, added for mingw build
2004-11-04 14:19:22 +00:00