summaryrefslogtreecommitdiff
path: root/acinclude.m4
Commit message (Collapse)AuthorAgeFilesLines
* Refactor configure script detection of functions used to set sockets intoYang Tse2008-11-131-148/+0
| | | | non-blocking mode, and decouple function detection from function capability.
* Initial attempt to detect at configuration time if the getaddrinfo()Yang Tse2008-10-281-42/+0
| | | | function returns an addrinfo with an unfreeable ai_addr member ptr.
* #include <stdlib.h> for exit() prototypeYang Tse2008-10-231-0/+6
|
* Initial attempt to support configure's --(dis|en)able-warningsYang Tse2008-10-021-51/+0
| | | | | | | | | | 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.
* now compiler warnings are activated for all gcc builds, not only debug ones.Yang Tse2008-09-301-101/+0
|
* ntoa() and inet_ntoa_r() no longer usedYang Tse2008-09-241-22/+0
|
* icc adjustmentsYang Tse2008-09-181-4/+4
|
* improve detection of gethostbyaddr_r() and gethostbyname_r()Yang Tse2008-09-171-418/+0
|
* improve detection of gethostname(), localtime_r() and strstr()Yang Tse2008-09-171-20/+0
|
* improve detection of fdopen() and strerror_r()Yang Tse2008-09-121-109/+0
|
* icc adjustmentsYang Tse2008-09-091-0/+1
|
* Search for the FreeBSD CA cert file /usr/local/share/certs/ca-root.crtDan Fandrich2008-09-031-1/+3
|
* Don't abort configuration if recvfrom() is not available.Yang Tse2008-08-271-2/+7
|
* Added check and symbol definition for WIN32 file API usage in configure,Yang Tse2008-08-261-0/+57
| | | | | | | 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.
* For congruency sake with the naming of other CURL_XXXXXX_CURL_OFF_T macros,Yang Tse2008-08-251-1/+1
| | | | | | 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
* Rename some shell vars with more descriptive names:Yang Tse2008-08-251-44/+44
| | | | | | | 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
* For congruency sake with the naming of other CURL_XXXXXX_CURL_OFF_T macros,Yang Tse2008-08-151-2/+2
| | | | | | | | | | | | | | 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
* Take three at trying to detect signed and unsigned curl_off_t integer constantYang Tse2008-08-141-125/+86
| | | | suffixes, using a test-and-try suffix approach letting the compiler validate it.
* Change CURL_CHECK_DEF_INTXX_C suffix definition detection.Yang Tse2008-08-141-4/+38
| | | | Add debug tracing for CURL_CHECK_DEF_INTXX_C.
* Use autoconf's result of AC_CHECK_SIZEOF(long) in CURL_CONFIGURE_LONGYang Tse2008-08-131-27/+9
|
* Ensure that the compiler 'knows' the 'long' type in CURL_CONFIGURE_LONGYang Tse2008-08-131-24/+26
|
* Using the name of a macro inside AC_MSG_WARN takes aclocal to NeverLand.Yang Tse2008-08-131-1/+1
|
* The size of long is a build time characteristic and as such it is now recordedYang Tse2008-08-131-5/+38
| | | | | in curlbuild.h as CURL_SIZEOF_LONG. Definition now done from configure process and in CVS curlbuild.h.dist for non-configure systems.
* Fix CURL_CHECK_DEF_INTXX_C suffix definition detectionYang Tse2008-08-121-3/+3
|
* Added missing signed and unsigned curl_off_t integer constant suffixes forYang Tse2008-08-111-6/+96
| | | | internal and external use. CURL_SUFFIX_CURL_OFF_T, CURL_SUFFIX_CURL_OFF_TU.
* Remove debug tracing for DO_CURL_OFF_T_CHECK and CURL_CHECK_DEFYang Tse2008-08-091-48/+0
|
* Use int64_t in favour of __int64 for curl_off_t when both are available.Yang Tse2008-08-091-3/+3
|
* Improve CURL_CHECK_DEFYang Tse2008-08-091-1/+1
|
* Add debug tracing for DO_CURL_OFF_T_CHECKYang Tse2008-08-081-6/+17
|
* Remove some redundancyYang Tse2008-08-081-6/+6
|
* Remove potential overquotingYang Tse2008-08-081-5/+5
|
* Add debug tracing for CURL_CHECK_DEFYang Tse2008-08-081-0/+37
|
* Skip data type check in DO_CURL_OFF_T_CHECK macro when argument is empty.Yang Tse2008-08-071-2/+2
|
* Fix CURL_CHECK_DEF so that when the expansion of the preprocessor symbol resultsYang Tse2008-08-071-2/+4
| | | | | 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.
* Initial support of curlbuild.h and curlrules.h which allowsYang Tse2008-08-071-0/+258
| | | | to have a curl_off_t data type no longer gated to off_t.
* Autoconf 2.62 has changed the behaviour of the AC_AIX macro which we use.Yang Tse2008-08-041-0/+29
| | | | | | | | 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.
* Add a whitespaceYang Tse2008-08-011-1/+2
|
* Ensure that reserved keyword AC_DEFUN is only used for its purpose.Yang Tse2008-08-011-23/+25
|
* Removed definition of CURL_CHECK_WORKING_RESOLVER from acinclude.m4 it hasYang Tse2008-08-011-28/+0
| | | | not been in use since revision 1.81 of configure.in 6 years, 9 months ago.
* Reinstate the 'aclocal -I m4' in buildconf and 'ACLOCAL_AMFLAGS = -I m4' way ofYang Tse2008-07-301-10/+0
| | | | | including our local m4/reentrant.m4 file. This even takes care of including the file in the distribution tarball.
* Tests done using 'aclocal -I m4' in buildconf and 'ACLOCAL_AMFLAGS = -I m4Yang Tse2008-07-291-0/+9
| | | | | | | | | | | | 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.
* Assert that SED and GREP are setYang Tse2008-07-271-0/+6
|
* simplify multi '#' char comment lineYang Tse2008-07-261-1/+1
|
* Another step towards detecting if _REENTRANT is already defined or actuallyYang Tse2008-07-241-34/+0
| | | | | | | 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.
* cleanup duplicate lineYang Tse2008-07-221-1/+0
|
* Make sure that configure process tests are done with the same _REENTRANTYang Tse2008-07-221-0/+25
| | | | setting as the one actually used when finally building the library.
* checks for gethostbyaddr_r with 7 and 8 args now also done with -D_REENTRANTYang Tse2008-07-221-12/+138
| | | | checks for gethostbyname_r with 5 and 6 args now also done with -D_REENTRANT
* when recvfrom prototype uses a void pointer for arguments 2, 5 or 6 this willYang Tse2008-07-211-0/+13
| | | | | now cause the definition of RECVFROM_TYPE_ARG2_IS_VOID, RECVFROM_TYPE_ARG5_IS_VOID or RECVFROM_TYPE_ARG6_IS_VOID, as appropriate.
* Remove showing additional info needed to debug configureYang Tse2008-07-201-16/+0
| | | | failure to properly detect recvfrom arg types on Solaris
* Added "pointer to void" as another data type to check for the sixth argument ofYang Tse2008-07-201-1/+1
| | | | | | | | | | | | | | | 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