Yang Tse
3a55bbebf1
Use build-time configured ares_socklen_t instead of socklen_t
16 years ago
Yang Tse
dcdabb9ebe
Check definition of _XOPEN_SOURCE_EXTENDED with the compiler
16 years ago
Yang Tse
c2ae8f0059
Check if X/Open network library is required
16 years ago
Yang Tse
5fc305a0ba
Initial step towards a configure time ares_socklen_t definition
16 years ago
Yang Tse
1509409fe1
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.
16 years ago
Yang Tse
262ff45c9d
use HAVE_LIMITS_H symbol to protect limits.h inclusion
16 years ago
Yang Tse
26637be8e9
provide a common PATH_SEPARATOR check method which is required by
...
upcomming work to support the broadest range of Autoconf versions
16 years ago
Yang Tse
d3609a98e5
check for gethostbyaddr and gethostbyname as it is done for other functions
16 years ago
Yang Tse
03c1199864
trim down configure script size
16 years ago
Yang Tse
65cafbe109
Refactor configure script detection of functions used to set sockets into
...
non-blocking mode, and decouple function detection from function capability.
16 years ago
Yang Tse
c0711bdca9
check for freeaddrinfo() at configuration phase
16 years ago
Yang Tse
40d3121cd4
make CHECK_FUNC_GETADDRINFO_UNFREEABLE_AI_ADDR
...
and CHECK_FUNC_GETADDRINFO_UNFREEABLE_AI_CANONNAME
internal to CHECK_FUNC_GETADDRINFO
16 years ago
Yang Tse
dfd9ac3c26
Initial attempt to detect at configuration time if the getaddrinfo()
...
function returns an addrinfo with an unfreeable ai_canonname member ptr.
16 years ago
Yang Tse
ad60c2d0c3
Initial attempt to detect at configuration time if the getaddrinfo()
...
function returns an addrinfo with an unfreeable ai_addr member ptr.
16 years ago
Yang Tse
59f4582352
remove from configure.ac temporary magic for the icc seg-fault issue
16 years ago
Yang Tse
f5a8f8c6ac
some more temporary magic for the icc seg-fault issue
16 years ago
Yang Tse
e1b2f2eff4
some more temporary magic for the icc seg-fault issue
16 years ago
Yang Tse
4037d01c3e
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.
16 years ago
Yang Tse
8c2fe4c67f
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.
16 years ago
Yang Tse
79f844f672
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.
16 years ago
Yang Tse
2823a5380f
now compiler warnings are activated for all gcc builds, not only debug ones.
16 years ago
Yang Tse
2bc4f4c175
Use CFLAGS for icc linker options instead of LDFLAGS,
...
otherwise gethostbyname() is not detected.
16 years ago
Yang Tse
4c1d2df804
use ac_cv_compiler and ac_cv_compiler_num to keep compiler ID and version number
16 years ago
Yang Tse
eb9f7d046a
Temporary icc adjustment:
...
Disable floating point optimizations
16 years ago
Yang Tse
5ca18d6d80
HAVE_INET_PTON will only be defined when an IPv6 capable working
...
inet_pton function is available.
16 years ago
Yang Tse
a08ee8a0be
HAVE_INET_NTOP will only be defined when an IPv6 capable working
...
inet_ntop function is available.
16 years ago
Yang Tse
c97f02af5f
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.
16 years ago
Yang Tse
22747a54b6
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.
16 years ago
Yang Tse
5e9d41fb29
icc adjustments
16 years ago
Yang Tse
898e10bd60
improve detection of getservbyport_r()
16 years ago
Yang Tse
8c3c805269
On Linux Intel's icc uses gcc's header files, so
...
we select ANSI C89 dialect plus GNU extensions.
16 years ago
Yang Tse
fe11cb41ec
improve detection of gethostname()
16 years ago
Yang Tse
1a9795b401
rearrange to allow internal/private use of ares_writev to any system
...
that lacks the writev function.
16 years ago
Yang Tse
b6e5b752fe
improve detection of:
...
strcasecmp()
strcmpi()
stricmp()
strncasecmp()
strncmpi()
strnicmp()
16 years ago
Yang Tse
797372b0f4
strdup() clone for systems/configurations which lack it
16 years ago
Yang Tse
9a36d5718d
icc adjustments
16 years ago
Yang Tse
34cc272d98
icc adjustments
16 years ago
Yang Tse
6e781eb2c4
Select strict ANSI C89 conformance for icc
16 years ago
Yang Tse
c64329b7b1
Get rid of ENABLE_64BIT symbol definition and usage.
...
Improve HAVE_LONGLONG symbol description.
17 years ago
Yang Tse
0a44b62ea1
Fix IBM C and DEC/Compaq C compiler detection
17 years ago
Yang Tse
bcca6b4a47
Initial support of curlbuild.h and curlrules.h which allows
...
to have a curl_off_t data type no longer gated to off_t.
17 years ago
Yang Tse
5c5e64b2f5
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.
17 years ago
Yang Tse
abf47388f9
Adjust DEC/Compaq C compiler settings.
17 years ago
Yang Tse
10ebec6364
Another AC_TRY_LINK conversion to AC_LINK_IFELSE.
...
Proper definition of HAVE_function if function is found deeper.
17 years ago
Yang Tse
cf37a2bed6
These lines were unintentionally removed in previous commit
17 years ago
Yang Tse
bf7a169de7
Partially undo change that prevented SED, GREP, EGREP and AR from being changed by libtool or autoconf.
17 years ago
Yang Tse
ad84e84e1c
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.
17 years ago
Yang Tse
736e46d730
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.
17 years ago
Yang Tse
fd2d11e6b3
Explicitly include our m4 files first. This might minimize the impact
...
that other package's underquoted m4 function definitions have on ours.
17 years ago
Yang Tse
df6373a9e6
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.
17 years ago