summaryrefslogtreecommitdiff
path: root/m4/curl-functions.m4
Commit message (Collapse)AuthorAgeFilesLines
* configure: ac_cv_ -> curl_cv_ for r/w varsIrfan Adilovic2016-04-211-31/+31
| | | | | | | These configure vars are modified in a curl-specific way and modified by the configure process, but are never loaded from cache, even though they are designated as _cv_. We should implement proper AC_CACHE_CHECKs for them eventually.
* configure: ac_cv_ -> curl_cv_ for all cached varsIrfan Adilovic2016-04-211-1/+1
| | | | | | | | | | | | | This was automated by: sed -b -i -f <(ack -A1 AC_CACHE_CHECK | \ ack -o 'ac_cv_.*?\b' | \ sort -u | xargs -n1 bash -c \ 'echo "s/$0/curl_cv_${0#ac_cv_}/g"') \ $(git ls-files) This only changed the prefix for 16 variables actually checked with AC_CACHE_CHECK.
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* configure: detect IPv6 support on WindowsJohannes Schindelin2015-12-201-0/+10
| | | | | | | This patch was "nicked" from the MINGW-packages project by Daniel. https://github.com/Alexpux/MINGW-packages/commit/9253d0bf58a1486e91f7efb5316e7fdb48fa4007 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Enable poll on darwin13Daniel Johnson2014-05-061-1/+1
| | | | | Poll has long been broken on Mac OS X. Starting with 10.9 (darwin13) it now works correctly so this patch enables it there.
* strcasestr: remove check for this unused functionDaniel Stenberg2013-02-231-86/+0
|
* strlcat: remove functionDaniel Stenberg2013-02-141-88/+2
| | | | | | | | | | | | | | | | | | This function was only used twice, both in places where performance isn't crucial (socks + if2ip). Removing the use of this function removes the need to have our private version for systems without it == reduced amount of code. Also, in the SOCKS case it is clearly better to fail gracefully rather than to truncate the results. This work was triggered by a bug report on the strcal prototype in strequal.h. strlcat was added in commit db70cd28 in February 2001! Bug: http://curl.haxx.se/bug/view.cgi?id=1192 Reported by: Jeremy Huddleston
* curl-functions.m4: improve gethostname arg 2 data type checkYang Tse2012-12-171-4/+6
|
* curl-functions.m4: add gethostname arg 2 data type check and definitionYang Tse2012-12-151-1/+29
|
* curl-functions.m4: update detection logic of getaddrinfo() thread-safenessYang Tse2012-03-281-13/+37
| | | | | Take in account that h_errno might be a modifiable lvalue not defined as a C preprocessor macro
* curl-functions.m4: update detection logic of getaddrinfo() thread-safenessYang Tse2012-03-211-2/+18
| | | | | | Take in account that POSIX standard Issue 7 drops h_errno support. Now, we also consider getaddrinfo() to be thread-safe when (_POSIX_C_SOURCE >= 200809L) or (_XOPEN_SOURCE >= 700) independently of whether h_errno exists or not.
* curl-functions.m4 serial # bumpYang Tse2011-07-291-1/+1
|
* Revert "configure: additional flag checks for fcntl() socket() and socketpair()"Yang Tse2011-07-291-335/+1
| | | | This reverts commit bc6e6a465ad0b9f9757c4385698fe5f255dd125b.
* configure: additional flag checks for fcntl() socket() and socketpair()Yang Tse2011-07-291-1/+335
|
* socketpair() usage tracking to allow fd leak detectionYang Tse2011-07-291-1/+90
|
* treaded-resolver: better error messagesDaniel Stenberg2011-04-281-1/+94
| | | | | | | Now use gai_strerror() to get proper error messages when getaddrinfo() has failed. Detect the function in configure. Code based on work and suggestions by Jeff Pohlmeyer and Guenter Knauf
* curl-functions: provide xattr function tests that also check number of argumentsYang Tse2010-11-101-84/+976
|
* write extended attributes by using fsetxattrStefan Tomanek2010-11-101-37/+37
| | | | | | Instead of reopening the downloaded file, fsetxattr uses the (already open) file descriptor to attach extended attributes. This makes the procedure more robust against errors caused by moved or deleted files.
* serial number bumpYang Tse2010-11-091-2/+2
|
* xattr-check: correct the comment as wellDaniel Stenberg2010-11-081-1/+1
|
* setxattr: fix the checksDaniel Stenberg2010-11-081-4/+24
| | | | | My copy and paste job was a little too much copy and I missed to adjust it properly to sys/xattr.h all over and this is a fix to cure that.
* xattr: add configure check and #ifdefsDaniel Stenberg2010-11-051-0/+84
| | | | | | setxattr is a glibc call to set extended attributes, so configure now checks for it and the code is adapted to only build when the functionality is present.
* remove the CVSish $Id$ linesDaniel Stenberg2010-03-241-1/+0
|
* update outdated serial numberYang Tse2010-03-171-1/+1
|
* - Markus Duft pointed out in bug #2961796 that even though Interix has aDaniel Stenberg2010-03-021-3/+6
| | | | | | | poll() function it doesn't quite work the way we want it so we must disable it, and he also provided a patch for it. http://curl.haxx.se/bug/view.cgi?id=2961796
* Prevent detection of stdint.h on IRIX systems, even when available.Yang Tse2010-01-061-1/+6
| | | | IRIX MIPSpro 7.4 C++ compiler does not tolerate inclusion of stdint.h
* Update serial numberYang Tse2009-11-161-1/+1
|
* getaddrinfo is fully thread safe on solaris versions whichYang Tse2009-11-151-7/+13
| | | | | | | implement the function even when h_errno is not a macro. The h_errno macro test now only done on systems for which there is no hard coded knowledge about getaddrinfo's thread safeness.
* Assume that getaddrinfo is thread safe, unless hard codedYang Tse2009-11-131-12/+10
| | | | knowledge says the contrary or h_errno is not defined.
* Related with the threadsafe capability of getaddrinfo:Yang Tse2009-11-131-6/+15
| | | | | | | | | | | | - Constantine Sapuntzakis reported that Darwin 6.0 a.k.a. MAC OS X 10.2 and newer have a threadsafe getaddrinfo. - Fix Dragonfly BSD triplet detection. - In case the hard-coded knowledge says that getaddrinfo is threadsafe, an additional check is done to verify that h_errno is also defined. If h_errno isn't defined, we finally assume that it isn't threadsafe. Jamie Lokier provided the inspiration for this extra check.
* AIX 5.2 and newer have threadsafe getaddrinfo.Yang Tse2009-11-121-1/+19
| | | | Add some comments to better understand what the regex's pretend to achieve.
* HP-UX 11.11 and later have threadsafe getaddrinfoYang Tse2009-11-121-1/+7
|
* Check if getaddrinfo is threadsafe when function check allows it to be usedYang Tse2009-11-121-2/+45
|
* Check for basename() is now done the same as other function checksYang Tse2009-10-181-1/+113
|
* Added check for memrchr function or macroYang Tse2009-09-281-1/+106
|
* renamed generated config.h to curl_config.h in order to avoid clashes when ↵Gunter Knauf2009-07-141-1/+1
| | | | libcurl is used with other projects which also have a config.h.
* Refactor how libraries are checked for connect() function,Yang Tse2009-06-201-1/+99
| | | | and check for connect() as it is done for other functions.
* add CloseSocket camel case function checkYang Tse2009-06-181-1/+91
|
* socket() and closesocket() prototypes might be in socket.hYang Tse2009-06-171-1/+30
|
* check for socket() and closesocket() as it is done for other functionsYang Tse2009-06-171-1/+185
|
* Moved CURL_INCLUDES_INTTYPES to curl-functions.m4 along with other ↵Yang Tse2009-04-281-1/+25
| | | | CURL_INCLUDES_*
* Initial step towards a configure time curl_socklen_t definitionYang Tse2009-04-261-2/+37
|
* check for poll() as it is done for other functionsYang Tse2009-02-131-1/+151
|
* Make checking for struct ifreq a prerequisite for settingDan Fandrich2008-11-201-4/+6
| | | | | HAVE_IOCTL_SIOCGIFADDR since it's needed to use SIOCGIFADDR and Watcom C doesn't currently define it.
* check for gethostbyaddr and gethostbyname as it is done for other functionsYang Tse2008-11-181-1/+189
|
* Make configure script check if ioctl with the SIOCGIFADDR command can beYang Tse2008-11-171-1/+57
| | | | used, and define HAVE_IOCTL_SIOCGIFADDR if appropriate.
* fix leftover from previous commitYang Tse2008-11-171-2/+2
|
* fix inet_pton() runtime configure checkYang Tse2008-11-171-15/+4
|
* fix typo affecting inclusion of <arpa/inet.h> in configureYang Tse2008-11-141-2/+2
| | | | checks for inet_ntoa_r() inet_ntop() and inet_pton()
* #include <string.h> in the getaddrinfo() runtime check for the memset() ↵Yang Tse2008-11-141-1/+3
| | | | prototype