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
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
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
142cb601f8
HAVE_INET_NTOP will only be defined when an IPv6 capable working
...
inet_ntop function is available.
2008-09-24 16:43:12 +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
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
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
638e3c070c
improve detection of gethostname()
2008-09-17 08:14:00 +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
938458b330
improve detection of:
...
strcasecmp()
strcmpi()
stricmp()
strncasecmp()
strncmpi()
strnicmp()
2008-09-15 00:31:42 +00:00
Yang Tse
802f1e4406
strdup() clone for systems/configurations which lack it
2008-09-11 04:02:49 +00:00
Yang Tse
7b3f86152a
icc adjustments
2008-09-10 17:35:22 +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
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
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
47724ef238
Another AC_TRY_LINK conversion to AC_LINK_IFELSE.
...
Proper definition of HAVE_function if function is found deeper.
2008-08-01 19:29:05 +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
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
21ee1c2d01
Allow --enable-largefile and --disable-largefile configurations.
...
Configure process no longer needs nor checks size of curl_off_t.
Library will now be built with _REENTRANT symbol defined.
2008-07-15 16:43:39 +00:00
Yang Tse
d816a11bca
fix c-ares version reported in generated libcares.pc file when building
...
from CVS tree.
2008-07-07 02:11:21 +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
Yang Tse
6cd007838d
fix pkg-config reporting of private libraries needed for static linking
2008-06-09 01:06:48 +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
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
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
d72efff878
skip libtool C++ preprocessor compiler and linker checks
2008-05-12 15:02:51 +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