Yang Tse
e49ce8f973
configure: fix libtool warning
...
Recent versions of libtool are now tracing usage of AC_CONFIG_MACRO_DIR
macro and warn heavily when not used in configure script along with
ACLOCAL_AMFLAGS in Makefile.am. So in order to make libtool happy
while keeping backwards compatibility this is added.
14 years ago
Yang Tse
822fd0f877
build: use getenv() replacement function for systems which lack it
14 years ago
Yang Tse
623f3cb531
configure: inet_net_pton function check adjustments
...
Define HAVE_INET_NET_PTON only when system's inet_net_pton function is IPv6
capable and is not affected by the WLB-2008080064 advisory.
HAVE_INET_NET_PTON_IPV6 is no longer defined nor used.
14 years ago
Yang Tse
618e34bcf6
configure: undo using autobuilds to temporarily verify strict aliasing warnings.
14 years ago
Yang Tse
4d44b54c75
configure: use autobuilds to temporarily verify strict aliasing warnings.
...
Temporarily, When cross-compiling with gcc 3.0 or later, enable strict aliasing
rules and warnings. Given that cross-compiled targets autobuilds do not run the
test-suite, there is no risk of running code that violates strict aliasing rules
14 years ago
Yang Tse
e43e69718f
configure: werror related adjustments
15 years ago
Ben Greear
45557a138e
build: Enable compiling with -Werror.
...
This helps find compile warnings because they simply break
the build.
To use:
./configure --enable-warnings --enable-werror
Signed-off-by: Ben Greear <greearb@candelatech.com>
15 years ago
Daniel Stenberg
cd6b2b8659
remove all .cvsignore files
15 years ago
Daniel Stenberg
f8d181ddf6
ignore lots of generated files
15 years ago
Daniel Johnson
25116bbc54
Fix warnings for clang
15 years ago
Yang Tse
7ce764fe7c
replaced intel compiler option -no-ansi-alias with -fno-strict-aliasing
15 years ago
Yang Tse
1cb7bccb6a
update outdated serial number
15 years ago
Daniel Stenberg
0a076df87f
Daniel Johnson provided fixes for building with the clang compiler
15 years ago
Yang Tse
cf38264e2a
Add icc fvisibility bug test
15 years ago
Yang Tse
c4ee4a5d21
Fix three var names
15 years ago
Yang Tse
afa62136a5
getaddrinfo is fully thread safe on solaris versions which
...
15 years ago
Yang Tse
e43ac04a1f
Refactor how preprocessor symbol _THREAD_SAFE definition is done.
15 years ago
Yang Tse
ccabe949dd
Assume that getaddrinfo is thread safe, unless hard coded
...
knowledge says the contrary or h_errno is not defined.
15 years ago
Yang Tse
3d2e078f2b
Related with the threadsafe capability of getaddrinfo:
...
- Constantine Sapuntzakis reported that Darwin 6.0 a.k.a. MAC OS X 10.2
and newer have a threadsafe getaddrinfo.
- Fix Dragonfly BSD triplet detection.
- In case the hard-coded knowledge says that getaddrinfo is threadsafe,
an additional check is done to verify that h_errno is also defined.
If h_errno isn't defined, we finally assume that it isn't threadsafe.
Jamie Lokier provided the inspiration for this extra check.
15 years ago
Yang Tse
f5b37120f3
AIX 5.2 and newer have threadsafe getaddrinfo.
...
Add some comments to better understand what the regex's pretend to achieve.
15 years ago
Yang Tse
f084328b48
HP-UX 11.11 and later have threadsafe getaddrinfo
15 years ago
Yang Tse
109c17b680
Check if getaddrinfo is threadsafe when function check allows it to be used
15 years ago
Yang Tse
d101880c6a
Undo old temporary change once used for testing purposes
15 years ago
Yang Tse
f77839ed17
Symbol hiding configure options renamed to the hopefully less ambiguous
...
15 years ago
Yang Tse
4cb3aa4080
External API function linkage decoration adjustment
15 years ago
Yang Tse
9cac6a4625
Initial step towards the ability to reduce c-ares exported symbols
...
based on the 'visibility' attribute for GNUC and __global for Sun
compilers, taking also in account __declspec function decoration
for Win32 and Symbian DLL's.
Introducing configure options --enable-hidden-symbols and
--disable-hidden-symbols following libcurl's naming.
15 years ago
Yang Tse
6c48e1ff36
Use *_CHECK_PATH_SEPARATOR_REQUIRED to ensure that *_CHECK_PATH_SEPARATOR
...
is only expanded and included once in the configure script.
15 years ago
Yang Tse
7472bed472
Our _AS_PATH_SEPARATOR_PREPARE override is now m4_defun'd instead of m4_define'd
...
due to autoconf 2.64 m4_require'ing it in _AS_SHELL_SANITIZE indirectly through
_AS_PATH_WALK.
15 years ago
Yang Tse
bd4a8c159e
Check if _REENTRANT definition is required to
...
make errno available as a preprocessor macro.
15 years ago
Gunter Knauf
8ddea4e287
test if adding ../lib to includes can fix the current break ...
16 years ago
Gunter Knauf
e391db0ef9
renamed generated config.h to ares_config.h in order to avoid clashes when libcurl is used with other projects which also have a config.h.
16 years ago
Yang Tse
cdcc3aca8c
Refactor how libraries are checked for connect() function,
...
16 years ago
Yang Tse
0757cbf7f4
add CloseSocket camel case function check
16 years ago
Yang Tse
d960739133
check for socket() and closesocket() as it is done for other functions
16 years ago
Yang Tse
7fcd022b2a
c-ares' --enable-debug --enable-curldebug decoupling follow-up
16 years ago
Yang Tse
80d4f1170c
c-ares' -no-undefined and --enable-curldebug adjustments
16 years ago
Yang Tse
96f34988f4
c-ares' --enable-curldebug adjustments
16 years ago
Yang Tse
388e389638
Allow curl debug memory tracking when building a shared library on
...
systems which support external, undefined, symbols in shared libraries.
16 years ago
Yang Tse
84aa2f8a5d
c-ares's --enable-curldebug configure option decoupled from c-ares's --enable-debug
16 years ago
Yang Tse
4b5589ab99
remove outdated comment
16 years ago
Yang Tse
78e9ec92b7
Proper naming for the experimental compiler test and moved to *-compilers.m4
16 years ago
Yang Tse
411a7e17a1
Moved *_CHECK_COMPILER_HALT_ON_ERROR and *_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE to *-compilers.m4 along with other *_CHECK_COMPILER_*
16 years ago
Yang Tse
486802e3a9
Added CARES_INCLUDES_SYS_TYPES
16 years ago
Yang Tse
61ac74c684
Initial step towards a configure time curl_socklen_t definition
16 years ago
Yang Tse
51ecfc023a
remove compiler options used while debugging the icc 9.1 optimizer issue
16 years ago
Yang Tse
ed9f1219a5
Set HP-UX compiler warning level back to the one that exposes
...
the socklen_t issue on this platform.
16 years ago
Yang Tse
fb7803fbd0
ignore
16 years ago
Dan Fandrich
e3d86772c4
Make checking for struct ifreq a prerequisite for setting
...
HAVE_IOCTL_SIOCGIFADDR since it's needed to use SIOCGIFADDR and Watcom C
doesn't currently define it.
16 years ago
Yang Tse
8a34a3a045
user provided PATH_SEPARATOR always overrides auto-detected one
16 years ago
Yang Tse
ca44947b99
attempting to keep lines below 80 chars
16 years ago