aboutsummaryrefslogtreecommitdiff
path: root/acinclude.m4
AgeCommit message (Collapse)Author
2005-12-19Add check for 'unsigned int' as type of arguments 4 and 6 of getnameinfoYang Tse
2005-12-18When checking the type of the first argument of getnameinfo do it in theYang Tse
following order: 'struct sockaddr *' 'const struct sockaddr *' 'void *'.
2005-12-18MingW guards getnameinfo, getaddrinfo and freeaddrinfo with _WIN32_WINNT >= ↵Yang Tse
0x0501
2005-12-17Check first arg of getnameinfo with and without const qualifier.Yang Tse
2005-12-17Avoid breaking configure due to CURL_FUNC_GETNAMEINFO_ARGTYPES failure, ↵Yang Tse
since at this point nothing depends on it.
2005-12-17const qualifier in getnameinfo checkYang Tse
2005-12-16Since there is no proof of the existence of a platform which wouldYang Tse
justify checking for socklen_t in more than one function, the code used to find a valid socklen_t replacement is simplified back. The only function that will be used to find a socklen_t replacement is getpeername, as it has been since revision 1.4 of curl/acinclude.m4
2005-12-16TYPE_SOCKLEN_T completely replaced by CURL_CHECK_TYPE_SOCKLEN_T.Yang Tse
CURL_FUNC_GETNAMEINFO_ARGTYPES now also checks first argument. All related changes taken to cares configuration scripts.
2005-12-16More quotesYang Tse
2005-12-16Fix copy paste bugYang Tse
2005-12-16Test CURL_CHECK_TYPE_SOCKLEN_TYang Tse
2005-12-16Oops. Wrong double quotesYang Tse
2005-12-16Experimental check for socklen_t CURL_CHECK_TYPE_SOCKLEN_TYang Tse
2005-12-15Tests to check the availability of compilable andYang Tse
valid windows.h winsock.h winsock2.h and ws2tcpip.h header files: CURL_CHECK_HEADER_WINDOWS CURL_CHECK_HEADER_WINSOCK CURL_CHECK_HEADER_WINSOCK2 CURL_CHECK_HEADER_WS2TCPIP
2005-12-14Some preprocessors have problems if the # character isn't at position 1.Yang Tse
2005-12-14Determine the correct type to be passed to four of the `getnameinfo' ↵Yang Tse
function's arguments, and define those types in `GETNAMEINFO_TYPE_ARG2', `GETNAMEINFO_TYPE_ARG46', and `GETNAMEINFO_TYPE_ARG7'.
2005-11-12on windows (mingw32) the sockaddr_storage struct is in winsock2.hDaniel Stenberg
2005-08-19removed the unreachable code warning from gcc debug builds, even the mostDaniel Stenberg
recent gcc versions give far too many false positives for this to be valuable
2005-08-19removed some inaccurate comments about the TYPE_IN_ADDR_T checkDaniel Stenberg
2005-07-20Add -Wdeclaration-after-statement to gcc to detect accidental C99-styleDan Fandrich
variable declarations.
2005-06-30Detect (or at least infer) glibc-style strerror_r even when cross-compiling.Dan Fandrich
2005-05-18adjusted the strerror_r test more, use _REENTRANT instead of _THREAD_SAFEDaniel Stenberg
when looking for the prototype
2005-05-18The configure check for strerror_r() failed to detect the proper API atDaniel Stenberg
times, like on my HP-UX 10.20 tests. And then lib/strerror.c badly assumed the glibc version if the posix define wasn't set (since it _had_ found a strerror_r).
2005-05-02Sort of "fixed" KNOWN_BUGS #4: curl now builds IPv6 enabled on AIX 4.3. AtDaniel Stenberg
least it should no longer cause a compiler error. However, it does not have AI_NUMERICHOST so we cannot getaddrinfo() any numerical addresses with it (we use that for FTP PORT/EPRT)! So, I modified the configure check that checks if the getaddrinfo() is working, to use AI_NUMERICHOST since then it'll fail on AIX 4.3 and it will automatically build with IPv6 support disabled.
2005-05-02Now configure checks for struct sockaddr_storage and the ftp code triesDaniel Stenberg
to survive without it if not found. AIX 4.3 targetted adjustment.
2005-03-22When cross-compiling, we do some better checking for the NI_WITHSCOPEID ↵Daniel Stenberg
option instead of just assuming it is present.
2005-03-15Finally fixed the LDAP library searching bug on libtool ver. 1.5Dan Fandrich
2005-03-14Use the libtool variables better to make LDAP library search work onDan Fandrich
more platforms.
2005-03-11Work around a bug in libtool ver. 1.5 during LDAP library detection.Dan Fandrich
2005-03-11Fixed LDAP library file name bug (KNOWN_BUGS #1). configure now auto-detectsDan Fandrich
the correct dynamic library names by default, and provides override switches --with-ldap-lib, --with-lber-lib and --without-lber-lib. Added CURL_DISABLE_LDAP to platform-specific config files to disable LDAP support on those platforms that probably don't have dynamic OpenLDAP libraries available to avoid compile errors.
2004-12-22Marcin Konicki provided two configure fixes and a source fix to make curlDaniel Stenberg
build out-of-the-box on BeOS.
2004-12-20gcc 2.7 can't handle a few warning options that gcc 2.95 can.Dan Fandrich
2004-12-15Fix the --enable-debug compiler warning options for older versions of gcc.Dan Fandrich
2004-06-07Reverted the previous change and redid it differently as it seemed to notDaniel Stenberg
work. This is supposed to detect cross-compiling and alert the user, and not do the POSIX-check for strerror_r() if it already detected a glibc-compatible strerror_r().
2004-06-041 - do better when cross-compiling when checking for strerror_r() - alertDaniel Stenberg
the user. 2 - don't check for POSIX-style if glibc-style is found first
2004-05-06typo AGAINDaniel Stenberg
2004-05-06When using the icc compiler, we also ignore remark #1418 "external definitionDaniel Stenberg
with no prior declaration" since this is a habit we have in the code.
2004-05-06if no strerror_r prototype is found, we provide our own to prevent pickyDaniel Stenberg
compilers to warn
2004-05-05gcc 3.4 now uses the -Wunreachable-code option, I believe we can make olderDaniel Stenberg
ones use this too...
2004-04-01Applied Joe Halpin's bugfixes to the NI_WITHSCOPEID test program.Daniel Stenberg
2004-03-31HAVE_NI_WITHSCOPEID spelled right!Daniel Stenberg
2004-03-31Andrés García fixed a warning in the ioctlsocket() usage.Daniel Stenberg
2004-03-31modified the NI_WITHSCOPEID to use an AF_INET6 socket immediately andDaniel Stenberg
added some more debug output to make it easier to detect failure reasons in the autobuild logs
2004-03-30Added CURL_CHECK_NI_WITHSCOPEID that checks if NI_WITHSCOPEID exists andDaniel Stenberg
works. No code actually uses the HAVE_NI_WITHSCOPEID (that a positive test results in), but this is still only for testing purposes.
2004-03-25strerror_r() detection changes:Daniel Stenberg
1. Try with _THREAD_SAFE instead of _REENTRANT, as AIX seems to require it and if _REENTRANT is required we should already have it set since one of the previous tests. 2. Added API-detection for what kind of strerror_r() that is provided. The POSIX style or the glibc style. Tor Arntsen provided the necessary feedback these changes are based upon.
2004-03-24added check for strerror_r()Daniel Stenberg
2004-03-10ignore the icc warning 981 "operands are evaluated in unspecified order"Daniel Stenberg
2004-03-08we ignore the ICC warning 1419 as wellDaniel Stenberg
2004-03-01Perhaps -Wundef is better on gcc versions after 2.95, since the autobuildDaniel Stenberg
on FreeBSD gives us lots of warnings in system headers and I suspect this option is what causes them!
2004-03-01When setting aggressive pedantic compiler options, display what optionsDaniel Stenberg
that were set. For easier debugging/changing of this.