aboutsummaryrefslogtreecommitdiff
path: root/acinclude.m4
AgeCommit message (Collapse)Author
2008-11-13Refactor configure script detection of functions used to set sockets intoYang Tse
non-blocking mode, and decouple function detection from function capability.
2008-10-28Initial attempt to detect at configuration time if the getaddrinfo()Yang Tse
function returns an addrinfo with an unfreeable ai_addr member ptr.
2008-10-23#include <stdlib.h> for exit() prototypeYang Tse
2008-10-02Initial attempt to support configure's --(dis|en)able-warningsYang Tse
option to specify dis(activation) of picky compiler warnings. If option is specified, it will be honored independant of the --(dis|en)able-debug option. If option is not specified, it will follow --(dis|en)able-debug setting, whose default is disabled if not specified.
2008-09-30now compiler warnings are activated for all gcc builds, not only debug ones.Yang Tse
2008-09-24ntoa() and inet_ntoa_r() no longer usedYang Tse
2008-09-18icc adjustmentsYang Tse
2008-09-17improve detection of gethostbyaddr_r() and gethostbyname_r()Yang Tse
2008-09-17improve detection of gethostname(), localtime_r() and strstr()Yang Tse
2008-09-12improve detection of fdopen() and strerror_r()Yang Tse
2008-09-09icc adjustmentsYang Tse
2008-09-03Search for the FreeBSD CA cert file /usr/local/share/certs/ca-root.crtDan Fandrich
2008-08-27Don't abort configuration if recvfrom() is not available.Yang Tse
2008-08-26Added check and symbol definition for WIN32 file API usage in configure,Yang Tse
supporting configure's --disable-largefile option for WIN32 targets also. Non-configure systems which do not use config-win32.h configuration file, and want to use the WIN32 file API, must define USE_WIN32_LARGE_FILES or USE_WIN32_SMALL_FILES as appropriate in their own configuration files.
2008-08-25For congruency sake with the naming of other CURL_XXXXXX_CURL_OFF_T macros,Yang Tse
the name of the curl_off_t data type used now becomes CURL_TYPEOF_CURL_OFF_T CURL_OFF_T -> CURL_TYPEOF_CURL_OFF_T
2008-08-25Rename some shell vars with more descriptive names:Yang Tse
x_typeof -> curl_typeof_curl_off_t x_sizeof -> curl_sizeof_curl_off_t x_format -> curl_format_curl_off_t u_format -> curl_format_curl_off_tu
2008-08-15For congruency sake with the naming of other CURL_XXXXXX_CURL_OFF_T macros,Yang Tse
the names of the curl_off_t formatting string directives now become CURL_FORMAT_CURL_OFF_T and CURL_FORMAT_CURL_OFF_TU. CURL_FMT_OFF_T -> CURL_FORMAT_CURL_OFF_T CURL_FMT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU Remove the use of an internal name for the curl_off_t formatting string directives and use the common one available from the inside and outside of the library. FORMAT_OFF_T -> CURL_FORMAT_CURL_OFF_T FORMAT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU
2008-08-14Take three at trying to detect signed and unsigned curl_off_t integer constantYang Tse
suffixes, using a test-and-try suffix approach letting the compiler validate it.
2008-08-14Change CURL_CHECK_DEF_INTXX_C suffix definition detection.Yang Tse
Add debug tracing for CURL_CHECK_DEF_INTXX_C.
2008-08-13Use autoconf's result of AC_CHECK_SIZEOF(long) in CURL_CONFIGURE_LONGYang Tse
2008-08-13Ensure that the compiler 'knows' the 'long' type in CURL_CONFIGURE_LONGYang Tse
2008-08-13Using the name of a macro inside AC_MSG_WARN takes aclocal to NeverLand.Yang Tse
2008-08-13The size of long is a build time characteristic and as such it is now recordedYang Tse
in curlbuild.h as CURL_SIZEOF_LONG. Definition now done from configure process and in CVS curlbuild.h.dist for non-configure systems.
2008-08-12Fix CURL_CHECK_DEF_INTXX_C suffix definition detectionYang Tse
2008-08-11Added missing signed and unsigned curl_off_t integer constant suffixes forYang Tse
internal and external use. CURL_SUFFIX_CURL_OFF_T, CURL_SUFFIX_CURL_OFF_TU.
2008-08-09Remove debug tracing for DO_CURL_OFF_T_CHECK and CURL_CHECK_DEFYang Tse
2008-08-09Use int64_t in favour of __int64 for curl_off_t when both are available.Yang Tse
2008-08-09Improve CURL_CHECK_DEFYang Tse
2008-08-08Add debug tracing for DO_CURL_OFF_T_CHECKYang Tse
2008-08-08Remove some redundancyYang Tse
2008-08-08Remove potential overquotingYang Tse
2008-08-08Add debug tracing for CURL_CHECK_DEFYang Tse
2008-08-07Skip data type check in DO_CURL_OFF_T_CHECK macro when argument is empty.Yang Tse
2008-08-07Fix CURL_CHECK_DEF so that when the expansion of the preprocessor symbol resultsYang Tse
in a set of double-quoted strings, this macro will now return an expansion which consists of a single double-quoted string result of concatenating all of them.
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