aboutsummaryrefslogtreecommitdiff
path: root/ares
AgeCommit message (Collapse)Author
2008-07-27These lines were unintentionally removed in previous commitYang Tse
2008-07-27Partially undo change that prevented SED, GREP, EGREP and AR from being ↵Yang Tse
changed by libtool or autoconf.
2008-07-27Assert that SED and GREP are setYang Tse
2008-07-27Require autoconf 2.57 or newerYang Tse
2008-07-27When calling aclocal, user defined ACLOCAL_FLAGS will now precede ours.Yang Tse
2008-07-27move ACLOCAL_AMFLAGS after AUTOMAKE_OPTIONSYang Tse
2008-07-27setup.h handles definition of _REENTRANT based on NEED_REENTRANTYang Tse
definition which might be defined in config.h or config-*.h files
2008-07-27Remove explicit inclusion of our m4 files first. It was interesting as a test,Yang Tse
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-27Another step towards detecting if _REENTRANT is already defined or actuallyYang Tse
needed, and being able to define it if appropriate for further configure tests as well as for the generated config file.
2008-07-26Explicitly include our m4 files first. This might minimize the impactYang Tse
that other package's underquoted m4 function definitions have on ours.
2008-07-26Add a 3 argument check for getprotobyname_rYang Tse
2008-07-25move reentrant.m4 to the m4 subdirectory to avoid infinite loop inclusion ↵Yang Tse
problem
2008-07-24add checks for strtok_r and getprotobyname_rYang Tse
2008-07-24Another step towards detecting if _REENTRANT is already defined or actuallyYang Tse
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-23reorder argument number detection for getservbyport_r toYang Tse
actually verify if the test is properly working
2008-07-22Make sure that configure process tests are done with the same _REENTRANTYang Tse
setting as the one actually used when finally building the library.
2008-07-21Change recvfrom's sixth argument data type to the 'historically standard' 'int'Yang Tse
data type for systems where this sixth argument is prototyped as a void pointer. Start of thread: http://curl.haxx.se/mail/lib-2008-07/0153.html
2008-07-21use prototypes to improve getservbyport_r detectionYang Tse
2008-07-21Adjust recvfrom's sixth arg data type definition for NetWare (LIBC)Yang Tse
2008-07-21Use the sreadfrom() wrapper to replace recvfrom() in our code.Yang Tse
2008-07-21when recvfrom prototype uses a void pointer for arguments 2, 5 or 6 this willYang Tse
now cause the definition of RECVFROM_TYPE_ARG2_IS_VOID, RECVFROM_TYPE_ARG5_IS_VOID or RECVFROM_TYPE_ARG6_IS_VOID, as appropriate.
2008-07-20Adjust DEC/Compaq C compiler settingsYang Tse
2008-07-20Added "pointer to void" as another data type to check for the sixth argument ofYang Tse
function recvfrom as a result of the info additionally logged when running on a Solaris system. The compiler error showed that the prototype being used on Solaris was the one declared in line 427 of "/usr/include/sys/socket.h" as: function(int, pointer to void, unsigned int, int, pointer to struct sockaddr, pointer to void) returning int
2008-07-19Adjust DEC/Compaq C compiler settingsYang Tse
2008-07-17RECVFROM_TYPE_ARG2, RECVFROM_TYPE_ARG5 and RECVFROM_TYPE_ARG6 are now definedYang Tse
to the data type pointed by its respective argument and not the pointer type.
2008-07-16Configure process now checks availability of recvfrom() socket function andYang Tse
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-16Initial DEC/Compaq C compiler detection and flagsYang Tse
2008-07-16Improved configure detection of number of arguments for getservbyport_rYang Tse
2008-07-15Allow --enable-largefile and --disable-largefile configurations.Yang Tse
Configure process no longer needs nor checks size of curl_off_t. Library will now be built with _REENTRANT symbol defined.
2008-07-10fix compiler warningYang Tse
2008-07-09since Jun 30 2008 MAXHOSTNAMELEN define is no longer usedYang Tse
2008-07-07fix c-ares version reported in generated libcares.pc file when buildingYang Tse
from CVS tree.
2008-07-04egrep and ar are also mandatoryYang Tse
2008-07-03just to clarify that c-ares actually have some ipv6 supportDaniel Stenberg
2008-07-03ares_gethostbyname() fallback from AAA to A records with CNAME presentDaniel Stenberg
2008-07-03- Phil Blundell: If you ask ares_gethostbyname() to do an AF_INET6 lookup andDaniel Stenberg
the target host has only A records, it automatically falls back to an AF_INET lookup and gives you the A results. However, if the target host has a CNAME record, this behaviour is defeated since the original query does return some data even though ares_parse_aaa_reply() doesn't consider it relevant. Here's a small patch to make it behave the same with and without the CNAME.
2008-07-02The configure process will now halt when sed or grep are unavailableYang Tse
2008-07-02fallback to gettimeofday when monotonic clock is unavailable at run-timeYang Tse
2008-07-01IBM C/C++ compiler predefined macro checkYang Tse
2008-07-01set earlier in configure process IBM compilers optimization flagsYang Tse
2008-06-30make check message wording more preciseYang Tse
2008-06-30- As was pointed out to me by Andreas Schuldei, the MAXHOSTNAMELEN define isDaniel Stenberg
not posix or anything and thus c-ares failed to build on hurd (and possibly elsewhere). The define was also somewhat artificially used in the windows port. Now, I instead rewrote the use of gethostbyname to enlarge the host name buffer in case of need and totally avoid the use of the MAXHOSTNAMELEN define. I thus also removed the defien from the namser.h file where it was once added for the windows build. I also fixed init_by_defaults() function to not leak memory in case if error.
2008-06-29fix C style commentYang Tse
2008-06-29John Lightsey filed bug report #1999181: "CLOCK_MONOTONIC always fails onYang Tse
some systems" (http://curl.haxx.se/bug/view.cgi?id=1999181). The problem was that the configure script did not use the _POSIX_MONOTONIC_CLOCK feature test macro when checking monotonic clock availability. This is now fixed and the monotonic clock will not be used unless the feature test macro is defined with a value greater than zero indicating always supported.
2008-06-20Modified configuration script to actually verify if the compiler is goodYang Tse
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-18No longer break out of a shell "for" statement from insideYang Tse
AC_FOO_IFELSE macros, otherwise temp files are not removed. Identation adjustment.
2008-06-11enable additional CFLAGS from commandline.Gunter Knauf
2008-06-09fix pkg-config reporting of private libraries needed for static linkingYang Tse
2008-06-06MSVC does build Windows native targetsYang Tse
2008-05-30Brad House fixed a missing header file inclusion in adig sample programYang Tse