aboutsummaryrefslogtreecommitdiff
path: root/ares/acinclude.m4
AgeCommit message (Collapse)Author
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-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-27Assert that SED and GREP are setYang 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-21use prototypes to improve getservbyport_r detectionYang 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-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-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-16Improved configure detection of number of arguments for getservbyport_rYang Tse
2008-07-02fallback to gettimeofday when monotonic clock is unavailable at run-timeYang Tse
2008-06-30make check message wording more preciseYang Tse
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-06MSVC does build Windows native targetsYang Tse
2008-05-21fix: [action-if-found] part of AC_CHECK_TYPE macro cannot be quoted when emptyYang Tse
2008-05-21fix: remove need and definition of HAVE_SOCKLEN_T symbolYang Tse
2008-05-21fix: socklen_t definition commentYang Tse
2008-05-20update several macros using AC_TRY_LINK with AC_LINK_IFELSEYang Tse
2008-05-20fix underquoting of AC_LANG_PROGRAM argumentsYang Tse
2008-05-20update several macros using AC_TRY_LINK with AC_LINK_IFELSEYang Tse
2008-05-19fix socklen_t equivalent detection when cross compiling Windows targetYang Tse
2008-05-14Improve toolchain detection for WinCE cross compilation:Yang Tse
When cross compiling WinCE with the arm-wince-cegcc-gcc C compiler symbol __CEGCC__ is defined and the unix-like compatibility layer is used. For our purposes this is not a native Windows build. When cross compiling WinCE with the arm-wince-mingw32ce-gcc C compiler symbol __MINGW32CE__ is defined and the unix-like compatibility layer is not used. For our purposes this _is_ a native Windows build.
2008-05-14skip checks for Windows specific header filesYang Tse
when build target is not a native Windows one
2008-05-14WinCE cross compilation adjustments:Yang Tse
HAVE_WINSOCK2_H shall not be defined. HAVE_WS2TCPIP_H shall not be defined.
2008-05-12configure script will now define HAVE_CLOCK_GETTIME_MONOTONIC symbol onlyYang Tse
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-10Add library checking for clock_gettime() supportYang Tse
2007-10-18Sync PLATFORM_AIX_V3 detection and CURL_CC_DEBUG_OPTS()Yang Tse
icc warning level with libcurl's
2007-04-03Cleanup. Warnings related with FD_SET, FD_ISSET, and FD_ZERO macrosYang Tse
are not icc 9.0 specific.
2007-03-22attempt to keep message length below 80 charsYang Tse
2007-03-08remove code superceeded by the new method used to forceYang Tse
libtool to skip C++ and Fortran checks in patchset: http://cool.haxx.se/cvs.cgi/curl/ares/configure.ac.diff?r1=1.60&r2=1.64
2007-02-15icc 9.0 when compiling its generated code for its own FD_SET,Yang Tse
FD_ISSET, and FD_ZERO macros emits warnings #1469 and #593. So for icc 9.0 we also ignore warnings #1469 and #593. * 593 warns on "variable __d0 was set but never used" * 1469 warns on "cc clobber ignored"
2007-02-07*) Remove duplicate declaration of TYPE_SOCKADDR_STORAGEYang Tse
*) Update CURL_CC_DEBUG_OPTS from curl's script
2006-11-22Added a check in configure that verifies if <signal.h> is available,Yang Tse
defining HAVE_SIGNAL_H if the header is available. Added a check in configure that tests if the sig_atomic_t type is available, defining HAVE_SIG_ATOMIC_T if it is available. Providing a suitable default in setup_once.h if not available. Added a check in configure that tests if the sig_atomic_t type is already defined as volatile, defining HAVE_SIG_ATOMIC_T_VOLATILE if it is available and already defined as volatile.
2006-10-13Check for struct timeval at configuration timeYang Tse
2006-08-04Being unable to link or find out recv() or send() args types is a fatal error.Yang Tse
2006-07-31Avoid the risk of a false positive detection of MSG_NOSIGNAL when cross ↵Yang Tse
compiling a Windows target.
2006-07-28First step trying to avoid the multiple header inclusion and recursion ↵Yang Tse
nightmare. Reintroduce checking for HAVE_MSG_NOSIGNAL in configure script, so that we don't depend on header inclusion order for a valid check.
2006-07-25Simplify check for NEED_MALLOC_H, and make more explicit that NEED_MALLOC_H ↵Yang Tse
shall be defined if <malloc.h> header file must be included even when including <stdlib.h>.
2006-07-11Define NEED_MALLOC_H if including <stdlib.h> is not enough for proper ↵Yang Tse
compilation and <malloc.h> must also be included.
2006-07-07Finally get rid of CURL_CHECK_HEADERS_ONCE since it adds very little value ↵Yang Tse
and has portability issues. Change some shell if...then...fi tests into case...esac tests which demand less resources.
2006-07-07Substitution of the literal '-' is only done if it's the first or last ↵Yang Tse
character.
2006-07-07Using backslashes and slashes in the strings of the sed 'y' command shall be ↵Yang Tse
avoided since its interpretation is not the same across platforms. Now we use the sed 's' command with a bracket expression.
2006-07-07Fix excessive escaping.Yang Tse
2006-07-07Fix CURL_CHECK_HEADERS_ONCEYang Tse
2006-07-06Fix MinGW/MSYS support in CURL_CHECK_FUNC_RECV and CURL_CHECK_FUNC_SEND.Yang Tse