aboutsummaryrefslogtreecommitdiff
path: root/acinclude.m4
AgeCommit message (Collapse)Author
2008-08-07Initial support of curlbuild.h and curlrules.h which allowsYang Tse
to have a curl_off_t data type no longer gated to off_t.
2008-08-04Autoconf 2.62 has changed the behaviour of the AC_AIX macro which we use.Yang Tse
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-01Add a whitespaceYang Tse
2008-08-01Ensure that reserved keyword AC_DEFUN is only used for its purpose.Yang Tse
2008-08-01Removed definition of CURL_CHECK_WORKING_RESOLVER from acinclude.m4 it hasYang Tse
not been in use since revision 1.81 of configure.in 6 years, 9 months ago.
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-26simplify multi '#' char comment lineYang 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-22cleanup duplicate lineYang Tse
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-22checks for gethostbyaddr_r with 7 and 8 args now also done with -D_REENTRANTYang Tse
checks for gethostbyname_r with 5 and 6 args now also done with -D_REENTRANT
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-20Remove showing additional info needed to debug configureYang Tse
failure to properly detect recvfrom arg types on Solaris
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-19Temporarily show additional info needed to debug configureYang Tse
failure to properly detect recvfrom arg types on Solaris
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-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-13Fixed curl-config --ca which wasn't being exported by configure.Dan Fandrich
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-20When unable to properly detect gethostbyname_r() usage, configureYang Tse
script will simply issue a warning and gethostbyname() will be used.
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-19better select() function detection that worksYang Tse
even when cross compiling a Windows target.
2008-05-19fix socklen_t equivalent detection when cross compiling Windows targetYang Tse
2008-05-17minor change for wince-cegcc and wince-mingw32ce supportYang 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
2008-03-31Removed the generated ca-bundle.h file. The verbatim value of $ca andMichal Marek
$capath is known to configure, so it can be defined in config.h instead.
2008-03-20- Added --with-ca-path=DIRECTORY configure option to use an openSSL CApath byMichal Marek
default instead of a ca bundle. The configure script will also look for a ca path if no ca bundle is found and no option given. - Fixed detection of previously installed curl-ca-bundle.crt
2008-02-18- We're no longer providing a very old ca-bundle in the curl tarball. You canDaniel Stenberg
get a fresh one downloaded and created with 'make ca-bundle' or you can get one from here => http://curl.haxx.se/docs/caextract.html if you want a fresh new one extracted from Mozilla's recent list of ca certs. The configure option --with-ca-bundle now lets you specify what file to use as default ca bundle for your build. If not specified, the configure script will check a few known standard places for a global ca cert to use.
2007-10-24Missing double quotesYang Tse
2007-10-19Add custom check for WINLDAP libraries.Yang Tse
In CURL_CHECK_LIBS_WINLDAP and CURL_CHECK_LIBS_LDAP, check first with no additional library even when the optional list of libraries has been given.
2007-10-17Fix CURL_CHECK_LIBS_LDAP failure when no parameter is givenYang Tse
2007-10-17Default check for more libraries in CURL_CHECK_LIBS_LDAP,Yang Tse
and allow parameter specification of libraries to check.
2007-10-15Avoid depending on a header file for the definition of NULLYang Tse