aboutsummaryrefslogtreecommitdiff
path: root/ares
AgeCommit message (Collapse)Author
2008-08-01Sync up with realityYang Tse
2008-08-01Rename reentrant.m4 to avoid filename clash.Yang Tse
2008-07-30Add file version serial number that might be used by 'aclocal' and others.Yang Tse
Keep the '#' character as the first one on the line.
2008-07-30Update copyright year.Yang Tse
2008-07-30Sync comment with reality.Yang Tse
2008-07-30Reinstate the 'aclocal -I m4' in buildconf and 'ACLOCAL_AMFLAGS = -I m4' way ofYang Tse
including our local m4/reentrant.m4 file. This even takes care of including the file in the distribution tarball.
2008-07-29Add quoting for the AC_DEFINE arguments.Yang Tse
2008-07-29Also remove the whitespace.Yang Tse
2008-07-29Also remove the extra quoting.Yang Tse
2008-07-29Replace some '@%:@' quadigraphs by its actual representation '#'.Yang Tse
This quadigraph used before a C preprocessor 'define' directive could be fooling M4, when processing this file, and make it think that the line contains a pure M4 'define' macro.
2008-07-29Tests done using 'aclocal -I m4' in buildconf and 'ACLOCAL_AMFLAGS = -I m4Yang Tse
in top Makefile.am triggered a problem that prevented aclocal from running successfully on SunOS 5.10 with GNU m4 1.4.5 and GNU Autoconf 2.61 A tarball which reproduces mentioned problem is the one dated July-28-2008 http://cool.haxx.se/curl-daily/curl-7.19.0-20080728.tar.gz We actually don't need all the bells and whistles that the above mechanism provides. We only need to include our m4/reentrant.m4 file in acinclude.m4 so here we go with this simpler mechanism.
2008-07-28for debugging purposes show ACLOCAL_FLAGSYang Tse
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