Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | configure: fix cross pkg-config detection | Colin Watson | 2012-12-08 | 1 | -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 targets | Yang Tse | 2012-12-03 | 1 | -4/+1 |
| | | | | Currently, LIBS is already used through other macros. | ||||
* | build: avoid linkage of directly unused libraries | Yang Tse | 2012-11-28 | 1 | -0/+2 |
| | |||||
* | build: fix AIX compilation and usage | Yang Tse | 2012-11-23 | 1 | -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 files | Yang Tse | 2012-04-12 | 1 | -7/+2 |
| | |||||
* | configure - m4: make CURL_CHECK_DEF ignore leading whitespace on symbol def | Albert Chin | 2011-09-27 | 1 | -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_* macros | Yang Tse | 2011-06-17 | 1 | -3/+3 |
| | |||||
* | configure: fix recvfrom 5th arg type qualifier detection (followup) | Yang Tse | 2011-06-08 | 1 | -4/+4 |
| | |||||
* | configure: fix recvfrom 5th arg type qualifier detection | Yang Tse | 2011-06-08 | 1 | -2/+15 |
| | |||||
* | CURL_CHECK_FUNC_RECVFROM: android/bionic fix | Manuel Massing | 2011-03-12 | 1 | -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 Knauf | 2011-01-18 | 1 | -1/+1 |
| | | | | Submitted by Vincent Torri. | ||||
* | symbol-scan: use configure script knowledge about how to run the C preprocessor | Yang Tse | 2010-11-25 | 1 | -0/+41 |
| | |||||
* | Link curl and the test apps with -lrt explicitly when necessary | Dan Fandrich | 2010-09-11 | 1 | -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$ lines | Daniel Stenberg | 2010-03-24 | 1 | -1/+0 |
| | |||||
* | removed trailing whitespace | Yang Tse | 2010-02-14 | 1 | -32/+32 |
| | |||||
* | - Suppressed side effect of OpenSSL configure checks, which prevented NSS from | Kamil Dudka | 2010-01-14 | 1 | -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 the | Daniel Stenberg | 2009-09-02 | 1 | -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 even | Daniel Stenberg | 2009-09-01 | 1 | -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 Tse | 2009-06-21 | 1 | -0/+5 |
| | |||||
* | Refactor how libraries are checked for connect() function, | Yang Tse | 2009-06-20 | 1 | -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 the | Yang Tse | 2009-06-01 | 1 | -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 expression | Yang Tse | 2009-05-15 | 1 | -1/+1 |
| | |||||
* | Proper naming for the experimental compiler test and moved to *-compilers.m4 | Yang Tse | 2009-05-07 | 1 | -53/+0 |
| | |||||
* | Moved *_CHECK_COMPILER_HALT_ON_ERROR and ↵ | Yang Tse | 2009-05-07 | 1 | -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 Tse | 2009-05-06 | 1 | -0/+53 |
| | | | | | | all of them. This will be removed in 24 or 48 hours. | ||||
* | HP-UX's X/Open network library requirement check follow-up | Yang Tse | 2009-05-03 | 1 | -1/+1 |
| | |||||
* | HP-UX's X/Open network library requirement check follow-up | Yang Tse | 2009-05-03 | 1 | -0/+28 |
| | |||||
* | Use build-time configured curl_socklen_t instead of socklen_t | Yang Tse | 2009-05-02 | 1 | -89/+0 |
| | |||||
* | Check definition of _XOPEN_SOURCE_EXTENDED with the compiler | Yang Tse | 2009-05-01 | 1 | -0/+38 |
| | |||||
* | Rearrange placement inside file of CURL_DEFINE_UNQUOTED, CURL_CONFIGURE_LONG | Yang Tse | 2009-04-28 | 1 | -162/+162 |
| | | | | and CURL_CONFIGURE_CURL_SOCKLEN_T to ease future maintainance. | ||||
* | Moved CURL_INCLUDES_INTTYPES to curl-functions.m4 along with other ↵ | Yang Tse | 2009-04-28 | 1 | -24/+0 |
| | | | | CURL_INCLUDES_* | ||||
* | Remove temporary debug tracing for curl_socklen_t detection failures | Yang Tse | 2009-04-28 | 1 | -11/+0 |
| | |||||
* | Take 2 at handling getpeername() prototypes with a void pointer for third ↵ | Yang Tse | 2009-04-27 | 1 | -3/+5 |
| | | | | argument | ||||
* | Attempt to handle getpeername() prototypes with a void pointer for third ↵ | Yang Tse | 2009-04-27 | 1 | -1/+19 |
| | | | | argument | ||||
* | Add temporary debug tracing for curl_socklen_t detection failures | Yang Tse | 2009-04-27 | 1 | -0/+7 |
| | |||||
* | Rearrange curl_socklen_t tests to improve speed of usual results | Yang Tse | 2009-04-27 | 1 | -33/+38 |
| | |||||
* | Initial step towards a configure time curl_socklen_t definition | Yang Tse | 2009-04-26 | 1 | -0/+104 |
| | |||||
* | Moved potential inclusion of system's malloc.h and memory.h header files to | Yang Tse | 2009-04-21 | 1 | -0/+52 |
| | | | | | setup_once.h. Inclusion of each header file is based on the definition of NEED_MALLOC_H and NEED_MEMORY_H respectively. | ||||
* | - Based on bug report #2498665 (http://curl.haxx.se/bug/view.cgi?id=2498665) | Daniel Stenberg | 2009-01-11 | 1 | -1/+34 |
| | | | | | | | by Daniel Black, I've now added magic to the configure script that makes it use pkg-config to detect gnutls details as well if the existing method (using libgnutls-config) fails. While doing this, I cleaned up and unified the pkg-config usage when detecting openssl and nss as well. | ||||
* | Automatically detect OpenBSD's CA cert bundle. | Dan Fandrich | 2008-11-21 | 1 | -0/+2 |
| | |||||
* | Refactor configure script detection of functions used to set sockets into | Yang Tse | 2008-11-13 | 1 | -148/+0 |
| | | | | non-blocking mode, and decouple function detection from function capability. | ||||
* | Initial attempt to detect at configuration time if the getaddrinfo() | Yang Tse | 2008-10-28 | 1 | -42/+0 |
| | | | | function returns an addrinfo with an unfreeable ai_addr member ptr. | ||||
* | #include <stdlib.h> for exit() prototype | Yang Tse | 2008-10-23 | 1 | -0/+6 |
| | |||||
* | Initial attempt to support configure's --(dis|en)able-warnings | Yang Tse | 2008-10-02 | 1 | -51/+0 |
| | | | | | | | | | | option to specify dis(activation) of picky compiler warnings. If option is specified, it will be honored independant of the --(dis|en)able-debug option. If option is not specified, it will follow --(dis|en)able-debug setting, whose default is disabled if not specified. | ||||
* | now compiler warnings are activated for all gcc builds, not only debug ones. | Yang Tse | 2008-09-30 | 1 | -101/+0 |
| | |||||
* | ntoa() and inet_ntoa_r() no longer used | Yang Tse | 2008-09-24 | 1 | -22/+0 |
| | |||||
* | icc adjustments | Yang Tse | 2008-09-18 | 1 | -4/+4 |
| | |||||
* | improve detection of gethostbyaddr_r() and gethostbyname_r() | Yang Tse | 2008-09-17 | 1 | -418/+0 |
| | |||||
* | improve detection of gethostname(), localtime_r() and strstr() | Yang Tse | 2008-09-17 | 1 | -20/+0 |
| | |||||
* | improve detection of fdopen() and strerror_r() | Yang Tse | 2008-09-12 | 1 | -109/+0 |
| |