aboutsummaryrefslogtreecommitdiff
path: root/acinclude.m4
AgeCommit message (Collapse)Author
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.
2004-02-26Make icc ignore "invalid format string conversion" warnings as well. TheyDaniel Stenberg
appear because of our home-grown option '%Od' for the curl_off_t output.
2004-02-26Use __INTEL_COMPILER instead of __ICC to the cpp to detect the Intel iccDaniel Stenberg
compiler!
2004-02-25set debug options when using the icc compilerDaniel Stenberg
2004-02-25Moved most of the set-debug-options-depending-on-compiler logic to the newDaniel Stenberg
CURL_CC_DEBUG_OPTS function in acinclude.m4
2004-01-15Added escaping of the function name in the AC_DEFUN() macros, so thatDaniel Stenberg
automake 1.8+ stops complaining!
2003-10-30Added proper #ifdef's for the #include files when checking for in_addr_t,Daniel Stenberg
which made the test start working nicely on BeOS. Shard verified it.
2003-10-06O_NONBLOCK does not work on BeOS according to ShardDaniel Stenberg
2003-10-05improved the non-block check a lot:Daniel Stenberg
* several tests ALWAYS failed due to bad test programs * the IoctlSocket() test now is linked on test as it could otherwise compile fine on many systems that doesn't support it * added a test for the BeOS way of doing non-blocking sockets (based on a patch from Shard)
2003-05-15change the order of the in_addr_t tests, so that 'unsigned long' is testedDaniel Stenberg
for first, as it seems to be what many systems use
2003-01-20added description in all AC_DEFINE() callsDaniel Stenberg
2002-01-31Albert Chin:Daniel Stenberg
Forgot one case. On HP-UX 11.00, gethostbyname_r() is properly defined if -D_REENTRANT is used. Without it, the compiler still accepts the function prototype but gives a warning about hostent_data going out of scope. This is because struct hostent_data is not declared. So, we force an error by trying to set a variable to the struct.
2002-01-14Stoned Elipot's patch for the in_addr_t testDaniel Stenberg
2001-11-28now sets a type for in_addr_t even if it isn't found in the #include filesDaniel Stenberg
like on my linux box
2001-11-28Added an in_addr_t checkDaniel Stenberg
2001-11-08now we make sure that NULL is defined in the gethostbyname_r() compilesDaniel Stenberg
as it turned out they aren't everywhere, and that causes compiles to fail and then we don't find the proper function call!
2001-10-04Albert Chin's improved gethostbyname_r() testsDaniel Stenberg
2001-10-01Added non-blocking sockets testDaniel Stenberg
2001-08-20Albert Chin's neat configure/package fixesDaniel Stenberg
2001-05-29not used in autoconf version 2.50Daniel Stenberg
2001-04-19Albert Chin's patch posted to the mailing list 19 Apr 2001Daniel Stenberg