summaryrefslogtreecommitdiff
path: root/acinclude.m4
Commit message (Collapse)AuthorAgeFilesLines
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* acinclude: Remove check for 16-bit curl_off_tJay Satiro2015-11-091-15/+0
| | | | | | Because it's illogical to check for a 16-bit curl_off_t. Ref: https://github.com/bagder/curl/issues/425#issuecomment-154964205
* build: Fix support for PKG_CONFIGJay Satiro2015-10-241-5/+2
| | | | | | | | | | | | | | | - Allow the user to use PKG_CONFIG but not PKGCONFIG. Background: Last week in 14d5a86 a change was made to allow the user to set the PKGCONFIG variable. Today in 72d99f2 I supplemented that to allow the more common PKG_CONFIG as an alternative if PKGCONFIG is not set. Neither of those changes worked as expected because PKGCONFIG is occasionally reset in configure and by the CURL_CHECK_PKGCONFIG macro. Instead in this commit I take the approach that the user may set PKG_CONFIG only.
* build: Fix mingw ssl gdi32 orderJay Satiro2015-10-231-2/+10
| | | | | | | | | - If mingw ssl make sure -lgdi32 comes after ssl libs - Allow PKG_CONFIG to set pkg-config location and options Bug: https://github.com/bagder/curl/pull/501 Reported-by: Kang Lin
* acinclude: remove PKGCONFIG overrideDaniel Stenberg2015-10-131-4/+1
| | | | | | | ... and allow it to get set by a caller easier. Reported-by: Rainer Jung Bug: http://curl.haxx.se/mail/lib-2015-10/0035.html
* configure: add --disable-rt optionMichał Fita2015-07-241-13/+16
| | | | | | | | | | This option disables any attempts in configure to create dependency on stuff requiring linking to librt.so and libpthread.so, in this case this means clock_gettime(CLOCK_MONOTONIC, &mt). We were in need to build curl which doesn't link libpthread.so to avoid the following bug: https://sourceware.org/bugzilla/show_bug.cgi?id=16628.
* configure: remove missing and make it autogenerateMichael Osipov2015-04-301-17/+0
| | | | | | The missing file has not been autogenerated because a temporary fix was employed in acinclude.m4 which blocked update. Removed that fix and a recent version of missing is copied to build root.
* acinclude.m4: fix test for default CA cert bundle/pathMichael Osipov2015-04-301-1/+1
| | | | | test(1) on HP-UX requires a single equals sign and fails with two. Let's use one and make every OS happy.
* gtls: add support for CURLOPT_CAPATHAlessandro Ghedini2015-03-101-2/+2
|
* configure: allow both --with-ca-bundle and --with-ca-pathJulian Ospald2015-02-201-3/+6
| | | | | | | | | | | | SSL_CTX_load_verify_locations by default (and if given non-Null parameters) searches the CAfile first and falls back to CApath. This allows for CAfile to be a basis (e.g. installed by the package manager) and CApath to be a user configured directory. This wasn't reflected by the previous configure constraint which this patch fixes. Bug: https://github.com/bagder/curl/pull/139
* configure: allow --with-ca-path with PolarSSL tooCatalin Patulea2014-09-131-2/+2
| | | | | | Missed this in af45542c. Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
* acinclude: fix --without-ca-path when cross-compilingDaniel Stenberg2013-09-041-36/+37
| | | | | | | | | | | | The commit 7b074a460b64811 to CURL_CHECK_CA_BUNDLE in 7.31 (don't check for paths when cross-compiling) causes --without-ca-path to no longer works when cross-compiling, since ca and capath only ever get set to "no" when not cross-compiling, I attach a patch that works for me. Also in the cross-compilation case, no ca-path seems to be a better default (IMVHO) than empty ca-path. Bug: http://curl.haxx.se/bug/view.cgi?id=1273 Patch-by: Stefan Neis
* CURL_CHECK_CA_BUNDLE: don't check for paths when cross-compilingDaniel Stenberg2013-04-181-4/+7
| | | | | | When cross-compiling we can't scan and detect existing files or paths. Bug: http://curl.haxx.se/mail/lib-2013-04/0294.html
* configure: remove CURL_CHECK_FUNC_RECVFROMDaniel Stenberg2013-04-081-208/+1
| | | | | | | 1 - We don't use the results from the test and we never did. recvfrom() is only used by the TFTP code and it has not caused any problems. 2 - the CURL_CHECK_FUNC_RECVFROM function is extremely slow
* configure: fix cross pkg-config detectionColin Watson2012-12-081-11/+3
| | | | | | | | | | | | | | | | | | | | | When cross-compiling, CURL_CHECK_PKGCONFIG was checking for the cross pkg-config using ${host}-pkg-config. The gold standard for doing this correctly is pkg-config's own macro, PKG_PROG_PKG_CONFIG. However, on the assumption that you have a good reason not to use that directly (reduced dependencies for maintainer builds?), the behaviour of cURL's version should at least match. PKG_PROG_PKG_CONFIG uses AC_PATH_TOOL, which ultimately ends up trying ${host_alias}-pkg-config; this is not quite the same as what cURL does, and may differ because ${host} has been run through config.sub. For instance, when cross-building to the armhf architecture on Ubuntu, ${host_alias} is arm-linux-gnueabihf while ${host} is arm-unknown-linux-gnueabihf. This may also have been the cause of the problem reported at http://curl.haxx.se/mail/lib-2012-04/0224.html. AC_PATH_TOOL is significantly simpler than cURL's current code, and dates back to well before the current minimum of Autoconf 2.57, so let's use it instead.
* build: prevent global LIBS from influencing src and lib build targetsYang Tse2012-12-031-4/+1
| | | | Currently, LIBS is already used through other macros.
* build: avoid linkage of directly unused librariesYang Tse2012-11-281-0/+2
|
* build: fix AIX compilation and usageYang Tse2012-11-231-0/+42
| | | | | | | | AIX sys/poll.h header file defines 'events' and 'revents' as C preprocessor macros. Usage of these literals in libcurl's external API was introduced in commit de24d7bd4c causing AIX build failures. Appropriate inclusion of sys/poll.h by libcurl's external interface fixes AIX build and usage issues while avoiding a SONAME bump.
* configure: NATIVE_WINDOWS no longer defined in config filesYang Tse2012-04-121-7/+2
|
* configure - m4: make CURL_CHECK_DEF ignore leading whitespace on symbol defAlbert Chin2011-09-271-1/+1
| | | | | | | When using Sun C compiler the preprocessor somehow inserts an extra space in front of replaced symbol, breaking CURL_CHECK_DEF macro. To workaround this, macro CURL_CHECK_DEF now ignores all leading whitespace in front of symbol substitution result.
* configure: avoid direct usage of AS_TR_* macrosYang Tse2011-06-171-3/+3
|
* configure: fix recvfrom 5th arg type qualifier detection (followup)Yang Tse2011-06-081-4/+4
|
* configure: fix recvfrom 5th arg type qualifier detectionYang Tse2011-06-081-2/+15
|
* CURL_CHECK_FUNC_RECVFROM: android/bionic fixManuel Massing2011-03-121-2/+2
| | | | | | recvfrom in bionic (the android libc) deviates from POSIX and uses a const in the 5th argument ("const struct sockaddr *") so the check now tests for that as well.
* Fixed configure define for Win32.Guenter Knauf2011-01-181-1/+1
| | | | Submitted by Vincent Torri.
* symbol-scan: use configure script knowledge about how to run the C preprocessorYang Tse2010-11-251-0/+41
|
* Link curl and the test apps with -lrt explicitly when necessaryDan Fandrich2010-09-111-0/+1
| | | | | | | | | | | When curl calls a function from that library then it needs to explicitly link to the library instead of piggybacking on libcurl's own dependency. Without this, GNU ld with the --no-add-needed flag fails when linking (which Fedora now does by default). Reported by: Quanah Gibson-Mount Bug: http://curl.haxx.se/mail/lib-2010-09/0085.html
* remove the CVSish $Id$ linesDaniel Stenberg2010-03-241-1/+0
|
* removed trailing whitespaceYang Tse2010-02-141-32/+32
|
* - Suppressed side effect of OpenSSL configure checks, which prevented NSS fromKamil Dudka2010-01-141-3/+22
| | | | | | being properly detected under certain circumstances. It had been caused by strange behavior of pkg-config when handling PKG_CONFIG_LIBDIR. pkg-config distinguishes among empty and non-existent environment variable in that case.
* extended CURL_CHECK_PKGCONFIG to check for a host-specific version of theDaniel Stenberg2009-09-021-3/+13
| | | | pkg-config first before the "normal" one (if cross-compiling)
* - configure now tries to use pkg-config for a number of sub-dependencies evenDaniel Stenberg2009-09-011-6/+1
| | | | | | | | | | when cross-compiling. The key to success is then you properly setup PKG_CONFIG_PATH before invoking configure. I also improved how NSS is detected by trying nss-config if pkg-config isn't present, and as a last resort just use the lib name and force the user to setup the LIBS/LDFLAGS/CFLAGS etc properly. The previous last resort would add a range of various libs that would almost never be quite correct.
* Refactor how libraries are checked for connect() function, follow-up.Yang Tse2009-06-211-0/+5
|
* Refactor how libraries are checked for connect() function,Yang Tse2009-06-201-0/+41
| | | | and check for connect() as it is done for other functions.
* John E. Malmberg noticed that the configure script was failing to detect theYang Tse2009-06-011-1/+4
| | | | | timeval struct on VMS when building with _XOPEN_SOURCE_EXTENDED undefined due to definition taking place in socket.h instead of time.h
* Fix preprocessor conditional expressionYang Tse2009-05-151-1/+1
|
* Proper naming for the experimental compiler test and moved to *-compilers.m4Yang Tse2009-05-071-53/+0
|
* Moved *_CHECK_COMPILER_HALT_ON_ERROR and ↵Yang Tse2009-05-071-47/+0
| | | | *_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE to *-compilers.m4 along with other *_CHECK_COMPILER_*
* Use autobuilds to verify if a couple of experimental compiler tests pass on ↵Yang Tse2009-05-061-0/+53
| | | | | | all of them. This will be removed in 24 or 48 hours.
* HP-UX's X/Open network library requirement check follow-upYang Tse2009-05-031-1/+1
|
* HP-UX's X/Open network library requirement check follow-upYang Tse2009-05-031-0/+28
|
* Use build-time configured curl_socklen_t instead of socklen_tYang Tse2009-05-021-89/+0
|
* Check definition of _XOPEN_SOURCE_EXTENDED with the compilerYang Tse2009-05-011-0/+38
|
* Rearrange placement inside file of CURL_DEFINE_UNQUOTED, CURL_CONFIGURE_LONGYang Tse2009-04-281-162/+162
| | | | and CURL_CONFIGURE_CURL_SOCKLEN_T to ease future maintainance.
* Moved CURL_INCLUDES_INTTYPES to curl-functions.m4 along with other ↵Yang Tse2009-04-281-24/+0
| | | | CURL_INCLUDES_*
* Remove temporary debug tracing for curl_socklen_t detection failuresYang Tse2009-04-281-11/+0
|
* Take 2 at handling getpeername() prototypes with a void pointer for third ↵Yang Tse2009-04-271-3/+5
| | | | argument
* Attempt to handle getpeername() prototypes with a void pointer for third ↵Yang Tse2009-04-271-1/+19
| | | | argument
* Add temporary debug tracing for curl_socklen_t detection failuresYang Tse2009-04-271-0/+7
|
* Rearrange curl_socklen_t tests to improve speed of usual resultsYang Tse2009-04-271-33/+38
|