aboutsummaryrefslogtreecommitdiff
path: root/ares/acinclude.m4
AgeCommit message (Collapse)Author
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
2006-07-05Prevent definition of HAVE_WINxxx_H symbols and avoid inclusion of Windows ↵Yang Tse
headers when compiled with Cygwin in POSIX emulation mode.
2006-07-04Use a more descriptive var name.Yang Tse
2006-07-04Get qualifier of arg 2 for send() apart into SEND_QUAL_ARG2.Yang Tse
2006-07-04Find out return types and argument types for functions recv() and send() at ↵Yang Tse
configuration stage.
2006-07-03Use CURL_CHECK_FUNC_GETNAMEINFO results in CURL_CHECK_NI_WITHSCOPEIDYang Tse
2006-07-02Make CURL_CHECK_NI_WITHSCOPEID actually try to compile NI_WITHSCOPEID when ↵Yang Tse
cross-compiling.
2006-07-02Fix shell globbing in CURL_CHECK_FUNC_GETNAMEINFOYang Tse
2006-07-02Fix shell globbing in CURL_CHECK_FUNC_GETNAMEINFOYang Tse
2006-07-01Get qualifier of arg 1 for getnameinfo apart. Take 2.Yang Tse
2006-06-30Get qualifier of arg 1 for getnameinfo apart.Yang Tse
2006-06-30Remove experimental notice from CURL_CHECK_FUNC_GETNAMEINFOYang Tse
2006-05-10Bram Matthys brought my attention to a libtool peculiarity where detectingDaniel Stenberg
things such as C++ compiler actually is a bad thing and since we don't need that detection I added a work-around, much inspired by a previous patch by Paolo Bonzini. This also shortens the configure script quite a lot.