aboutsummaryrefslogtreecommitdiff
path: root/m4
AgeCommit message (Collapse)Author
2012-12-15curl-functions.m4: add gethostname arg 2 data type check and definitionYang Tse
2012-11-16autoconf: don't force-disable compiler debug optionDaniel Stenberg
When nothing is told to configure, we should not enforce switching off debug options with -g0 (or similar). We instead don't use -g at all in that situaion and therefore allow the user's CFLAGS settings possibly dictate what to do.
2012-08-16configure: remove the --enable/disable-nonblocking optionsDaniel Stenberg
Removing this option as it currently only functions to lure people into wrongly using it and falsely believing that libcurl will work fine without using nonblocking sockets internally - which leads to hard to track or understand errors.
2012-06-29curl-compilers.m4: remove -Wstrict-aliasing=3 from clangYang Tse
Currently it is unknown if there is any version of clang that actually supports -Wstrict-aliasing. What is known is that there are several that don't support it.
2012-06-26curl-compilers.m4: -Wstrict-aliasing=3 for warning enabled gcc and clang buildsYang Tse
2012-04-17build adjustments: commit 9e24b9c7 follow-upYang Tse
2012-04-16curl-compilers.m4: -Wno-pedantic-ms-format for Windows gcc 4.5 buildsYang Tse
When building a Windows target with gcc 4.5 or newer and strict compiler warnings enabled use -Wno-pedantic-ms-format in addition to other flags.
2012-04-14headers: surround GCC attribute names with double underscoresJonathan Nieder
This protects from attribute names being defined by third party's code. Improvement: http://curl.haxx.se/mail/lib-2012-04/0127.html
2012-04-11build adjustments: CURL_HIDDEN_SYMBOLS no longer defined in config filesYang Tse
configure script now provides conditional definitions for Makefile.am that result in CURL_HIDDEN_SYMBOLS being defined by resulting makefiles when appropriate. Additionally, configure script option for symbol hiding control is now named --enable-symbol-hiding --disable-symbol-hiding. While still valid, old option name --enable-hidden-symbols --disable-hidden-symbols will be deprecated in some future release.
2012-03-28curl-functions.m4: update detection logic of getaddrinfo() thread-safenessYang Tse
Take in account that h_errno might be a modifiable lvalue not defined as a C preprocessor macro
2012-03-21curl-functions.m4: update detection logic of getaddrinfo() thread-safenessYang Tse
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.
2011-12-15configure: libtool 1.5 tweaksYang Tse
2011-09-28configure openssl version check: handle lack of L suffixDaniel Stenberg
It seems some versions of the OpenSSL version defines don't come with L appended to the number, so let's deal with that nicely.
2011-08-27NTLM_WB: final congruency naming adjustmentsYang Tse
Configure script option --enable-wb-ntlm-auth renamed to --enable-ntlm-wb Configure script option --disable-wb-ntlm-auth renamed to --disable-ntlm-wb Preprocessor symbol WINBIND_NTLM_AUTH_ENABLED renamed to NTLM_WB_ENABLED Preprocessor symbol WINBIND_NTLM_AUTH_FILE renamed to NTLM_WB_FILE Test harness env var CURL_NTLM_AUTH renamed to CURL_NTLM_WB_FILE Static function wb_ntlm_close renamed to ntlm_wb_cleanup Static function wb_ntlm_initiate renamed to ntlm_wb_init Static function wb_ntlm_response renamed to ntlm_wb_response
2011-08-27NTLM single-sign on adjustments (XI)Yang Tse
Feature string literal NTLM_SSO renamed to NTLM_WB. Preprocessor symbol USE_NTLM_SSO renamed to WINBIND_NTLM_AUTH_ENABLED. curl's 'long' option 'ntlm-sso' renamed to 'ntlm-wb'. Fix some comments to make clear that this is actually a NTLM delegation.
2011-08-08curl-compilers.m4: serial number bumpYang Tse
2011-08-08curl-compilers.m4: CURL_CONVERT_INCLUDE_TO_ISYSTEM adjustments:Yang Tse
Add CURL_CHECK_COMPILER as a requirement. Ensure macro does nothing unless GNU_C or CLANG compiler is used. This should allow usage of this macro in unforeseen placements.
2011-07-31NTLM single-sign on adjustments (VIII)Yang Tse
Use preprocessor symbols WINBIND_NTLM_AUTH_ENABLED and WINBIND_NTLM_AUTH_FILE for Samba's winbind daemon ntlm_auth helper code implementation and filename. Retain preprocessor symbol USE_NTLM_SSO for NTLM single-sign-on feature availability implementation independent. For test harness, prefix NTLM_AUTH environment vars with CURL_ Refactor and rename configure option --with-ntlm-auth to --enable-wb-ntlm-auth[=FILE]
2011-07-29curl-functions.m4 serial # bumpYang Tse
2011-07-29Revert "configure: additional flag checks for fcntl() socket() and socketpair()"Yang Tse
This reverts commit bc6e6a465ad0b9f9757c4385698fe5f255dd125b.
2011-07-29configure: additional flag checks for fcntl() socket() and socketpair()Yang Tse
2011-07-29socketpair() usage tracking to allow fd leak detectionYang Tse
2011-06-21xc-translit.m4 fix quotingYang Tse
2011-06-17xc-translit.m4 provides transliteration macros with well defined behavior.Yang Tse
2011-06-11configure: OpenSSL API detection cleanupYang Tse
2011-06-09configure: warn if OpenSSL headers and library versions don't matchYang Tse
2011-06-09configure: get API info for a couple of OpenSSL functions (followup 2)Yang Tse
2011-06-09configure: get API info for a couple of OpenSSL functions (followup 1)Yang Tse
2011-06-06configure: get API info for a couple of OpenSSL functionsYang Tse
2011-06-04xlc: avoid preprocessor definition usage when linkingYang Tse
2011-04-28treaded-resolver: better error messagesDaniel Stenberg
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
2011-03-27configure: fix libtool warningYang Tse
2010-12-02configure: undo using autobuilds to temporarily verify strict aliasing warnings.Yang Tse
2010-11-18configure: use autobuilds to temporarily verify strict aliasing warnings.Yang Tse
Temporarily, When cross-compiling with gcc 3.0 or later, enable strict aliasing rules and warnings. Given that cross-compiled targets autobuilds do not run the
2010-11-10curl-functions: provide xattr function tests that also check number of argumentsYang Tse
2010-11-10write extended attributes by using fsetxattrStefan Tomanek
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.
2010-11-09serial number bumpYang Tse
2010-11-08xattr-check: correct the comment as wellDaniel Stenberg
2010-11-08setxattr: fix the checksDaniel Stenberg
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.
2010-11-05xattr: add configure check and #ifdefsDaniel Stenberg
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.
2010-09-21duphandle: use ares_dup()Daniel Stenberg
curl_easy_duphandle() was not properly duping the ares channel. The ares_dup() function was introduced in c-ares 1.6.0 so by starting to use this function we also raise the bar and require c-ares >= 1.6.0 (released Dec 9, 2008) for such builds. Reported by: Ning Dong Bug: http://curl.haxx.se/mail/lib-2010-08/0318.html
2010-08-11configure: werror related adjustmentsYang Tse
2010-07-21build: Enable configure --enable-werrorBen Greear
This passes -Werror to gcc when building curl and libcurl, allowing easy dection of compile warnings. Signed-off-by: Ben Greear <greearb@candelatech.com>
2010-06-17configure: spell --disable-threaded-resolver correctlyDaniel Stenberg
Previously we only accepted the option when named --disable-threaded-resover, which wasn't quite intended. Reported by: Helwing Lutz
2010-04-25new configure option --enable-threaded-resolverDaniel Stenberg
2010-03-25remove all .cvsignore filesDaniel Stenberg
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2010-03-22Fix warnings for clangDaniel Johnson
2010-03-20provide an initial set of .gitignore filesDaniel Stenberg
2010-03-17replaced intel compiler option -no-ansi-alias with -fno-strict-aliasingYang Tse