618e34bcf6
configure: undo using autobuilds to temporarily verify strict aliasing warnings.
2010-12-02 19:08:46 +01:00
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
2010-11-18 17:11:38 +01:00
e43e69718f
configure: werror related adjustments
2010-08-11 14:08:18 +02:00
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 >
2010-07-29 23:43:02 -07:00
cd6b2b8659
remove all .cvsignore files
2010-03-27 19:36:38 +01:00
f8d181ddf6
ignore lots of generated files
2010-03-23 13:51:47 +01:00
25116bbc54
Fix warnings for clang
2010-03-23 13:43:34 +01:00
7ce764fe7c
replaced intel compiler option -no-ansi-alias with -fno-strict-aliasing
2010-03-17 10:44:28 +00:00
1cb7bccb6a
update outdated serial number
2010-03-17 10:39:07 +00:00
0a076df87f
Daniel Johnson provided fixes for building with the clang compiler
2010-03-05 22:53:31 +00:00
cf38264e2a
Add icc fvisibility bug test
2009-11-16 23:01:37 +00:00
c4ee4a5d21
Fix three var names
2009-11-16 01:56:16 +00:00
afa62136a5
getaddrinfo is fully thread safe on solaris versions which
...
implement the function even when h_errno is not a macro.
The h_errno macro test now only done on systems for which there
is no hard coded knowledge about getaddrinfo's thread safeness.
2009-11-15 13:43:15 +00:00
e43ac04a1f
Refactor how preprocessor symbol _THREAD_SAFE definition is done.
2009-11-14 18:51:37 +00:00
ccabe949dd
Assume that getaddrinfo is thread safe, unless hard coded
...
knowledge says the contrary or h_errno is not defined.
2009-11-13 20:03:45 +00:00
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.
2009-11-13 05:01:51 +00:00
f5b37120f3
AIX 5.2 and newer have threadsafe getaddrinfo.
...
Add some comments to better understand what the regex's pretend to achieve.
2009-11-12 22:48:40 +00:00
f084328b48
HP-UX 11.11 and later have threadsafe getaddrinfo
2009-11-12 20:29:28 +00:00
109c17b680
Check if getaddrinfo is threadsafe when function check allows it to be used
2009-11-12 18:31:33 +00:00
d101880c6a
Undo old temporary change once used for testing purposes
2009-11-01 20:26:02 +00:00
f77839ed17
Symbol hiding configure options renamed to the hopefully less ambiguous
...
--enable-symbol-hiding and --disable-symbol-hiding as well as related
macro names and some internal variables used for them.
Related configuration file preprocessor symbols named to
CARES_SYMBOL_HIDING and CARES_SYMBOL_SCOPE_EXTERN.
2009-10-31 04:16:40 +00:00
4cb3aa4080
External API function linkage decoration adjustment
2009-10-29 01:34:19 +00:00
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.
2009-10-28 19:45:26 +00:00
6c48e1ff36
Use *_CHECK_PATH_SEPARATOR_REQUIRED to ensure that *_CHECK_PATH_SEPARATOR
...
is only expanded and included once in the configure script.
2009-10-19 04:13:12 +00:00
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.
2009-10-19 04:11:54 +00:00
bd4a8c159e
Check if _REENTRANT definition is required to
...
make errno available as a preprocessor macro.
2009-09-29 16:34:03 +00:00
8ddea4e287
test if adding ../lib to includes can fix the current break ...
2009-07-16 12:20:16 +00:00
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.
2009-07-14 13:38:50 +00:00
cdcc3aca8c
Refactor how libraries are checked for connect() function,
...
and check for connect() as it is done for other functions.
2009-06-20 17:24:43 +00:00
0757cbf7f4
add CloseSocket camel case function check
2009-06-18 12:36:10 +00:00
d960739133
check for socket() and closesocket() as it is done for other functions
2009-06-17 12:52:46 +00:00
7fcd022b2a
c-ares' --enable-debug --enable-curldebug decoupling follow-up
2009-06-09 17:58:34 +00:00
80d4f1170c
c-ares' -no-undefined and --enable-curldebug adjustments
2009-06-05 13:17:55 +00:00
96f34988f4
c-ares' --enable-curldebug adjustments
2009-05-28 14:38:04 +00:00
388e389638
Allow curl debug memory tracking when building a shared library on
...
systems which support external, undefined, symbols in shared libraries.
2009-05-27 19:21:09 +00:00
84aa2f8a5d
c-ares's --enable-curldebug configure option decoupled from c-ares's --enable-debug
2009-05-26 14:50:45 +00:00
4b5589ab99
remove outdated comment
2009-05-15 09:35:46 +00:00
78e9ec92b7
Proper naming for the experimental compiler test and moved to *-compilers.m4
2009-05-07 13:58:15 +00:00
411a7e17a1
Moved *_CHECK_COMPILER_HALT_ON_ERROR and *_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE to *-compilers.m4 along with other *_CHECK_COMPILER_*
2009-05-07 11:06:48 +00:00
486802e3a9
Added CARES_INCLUDES_SYS_TYPES
2009-04-28 10:40:02 +00:00
61ac74c684
Initial step towards a configure time curl_socklen_t definition
2009-04-26 18:51:03 +00:00
51ecfc023a
remove compiler options used while debugging the icc 9.1 optimizer issue
2009-04-17 07:48:37 +00:00
ed9f1219a5
Set HP-UX compiler warning level back to the one that exposes
...
the socklen_t issue on this platform.
2009-04-15 22:54:25 +00:00
fb7803fbd0
ignore
2009-02-13 06:34:44 +00:00
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.
2008-11-20 07:59:26 +00:00
8a34a3a045
user provided PATH_SEPARATOR always overrides auto-detected one
2008-11-19 01:57:27 +00:00
ca44947b99
attempting to keep lines below 80 chars
2008-11-18 20:13:55 +00:00
26637be8e9
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
d3609a98e5
check for gethostbyaddr and gethostbyname as it is done for other functions
2008-11-18 01:57:29 +00:00
b0b6a7c8aa
Make configure script check if ioctl with the SIOCGIFADDR command can be
...
used, and define HAVE_IOCTL_SIOCGIFADDR if appropriate.
2008-11-17 13:13:15 +00:00