summaryrefslogtreecommitdiff
path: root/curl-config.in
Commit message (Collapse)AuthorAgeFilesLines
* copyright: update all copyright lines and remove year rangesDaniel Stenberg2023-01-031-1/+1
| | | | | | | | | | | | - they are mostly pointless in all major jurisdictions - many big corporations and projects already don't use them - saves us from pointless churn - git keeps history for us - the year range is kept in COPYING checksrc is updated to allow non-year using copyright statements Closes #10205
* curl-config: quote directories with potential spaceOrgad Shaneh2022-08-101-2/+2
| | | | | | | On Windows (at least with CMake), the default prefix is C:/Program Files (x86)/CURL. Closes #9253
* copyright: make repository REUSE compliantmax.mehl2022-06-131-1/+3
| | | | | | | | | | | Add licensing and copyright information for all files in this repository. This either happens in the file itself as a comment header or in the file `.reuse/dep5`. This commit also adds a Github workflow to check pull requests and adapts copyright.pl to the changes. Closes #8869
* curl.se: new homeDaniel Stenberg2020-11-041-1/+1
| | | | Closes #6172
* curl-config: ignore REQUIRE_LIB_DEPS in --libs outputDaniel Stenberg2020-08-141-1/+1
| | | | | | | | | | Fixes a curl-config issue on cygwin by making sure REQUIRE_LIB_DEPS is not considered for the --libs output. Reported-by: ramsay-jones on github Assisted-by: Brian Inglis and Ken Brown Fixes #5793 Closes #5808
* copyright: updated year ranges out of syncDaniel Stenberg2020-05-241-1/+1
| | | | ... and whitelisted a few more files in the the copyright.pl script.
* libcurl.pc: Merge Libs.private into Libs for static-only buildsJames Le Cuirot2020-05-121-1/+1
| | | | | | | | | | | | | | | | | A project being built entirely statically will call pkg-config with --static, which utilises the Libs.private field. Conversely it will not use --static when not being built entirely statically, even if there is only a static build of libcurl available. This will most likely cause the build to fail due to underlinking unless we merge the Libs fields. Consider that this is what the Meson build system does when it generates pkg-config files. I have also reflected this in the --libs argument of curl-config even though REQUIRE_LIB_DEPS always seems to be "yes" anyway. Closes #5373
* curl-config.in: remove dependency on bcDaniel Stenberg2018-10-261-10/+22
| | | | | | Reported-by: Dima Pasechnik Fixes #3143 Closes #3174
* curl-config: add --ssl-backendsDaniel Stenberg2017-12-061-1/+5
| | | | | | | Lists all SSL backends that were enabled at build-time. Suggested-by: Oleg Pudeyev Fixes #2128
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* curl-config.in: eliminate double quotes around CURL_CA_BUNDLEKamil Dudka2015-02-251-1/+1
| | | | | | | | | | | Otherwise it expands to: echo ""/etc/pki/tls/certs/ca-bundle.crt"" Detected by ShellCheck: curl-config:74:16: warning: The double quotes around this do nothing. Remove or escape them. [SC2140]
* curl-config.in: replace tabs by spacesKamil Dudka2013-06-221-6/+6
|
* curl-config: don't output static libs when they are disabledWouter Van Rooy2013-04-161-1/+6
| | | | | | | Curl-config outputs static libraries even when they are disabled in configure. This causes problems with the build of pycurl.
* curl-config.in: do not randomly mix tabs and spacesKamil Dudka2013-02-061-45/+45
|
* build: prevent global LIBS from influencing src and lib build targetsYang Tse2012-12-031-3/+3
| | | | Currently, LIBS is already used through other macros.
* curl-config: parentheses fixDaniel Stenberg2012-08-071-2/+2
| | | | | | | Braces, not parentheses, should be used for shell variable names. Bug: http://curl.haxx.se/bug/view.cgi?id=3551460 Reported by: Edward Sheldrake
* Fix libcurl.pc and curl-config generation for static MingW* cross buildsYang Tse2012-05-261-3/+9
|
* curl-config: only provide libraries with --libsDave Reisner2012-03-081-2/+2
| | | | | | In line with the manpage, curl-config --libs should only provide the necessary library flags for the linker in order to compile software with libcurl. Also with this change, we match what the pkg-config file provides.
* curl-config: fix version outputDaniel Stenberg2011-04-191-1/+1
| | | | | | | do the s/VERSION/CURLVERSION replacement for the human redable output for --checkfor Reported by: Ryan Schmidt
* curl-config: fix --versionDaniel Stenberg2011-04-181-2/+2
| | | | | | | | | | | curl-config --version didn't output the correct version string (bug introduced in commit 0355e33b5f7b234cf3), and unfortunately the test case 1022 that was supposed to check for this was broken. This change fixes the test to detect this problem and it fixes the output. Bug: http://curl.haxx.se/bug/view.cgi?id=3288727
* curl-config: --built-shared returns shared infoDaniel Stenberg2010-07-251-1/+7
| | | | | | | | | The curl-config now features a --built-shared command line option that will output 'yes' or 'no' depending if the build process was asked to build shared library/libraries or not. It is primarily made to offer more details to the test suite to know what kind of stunts it can expect to work.
* remove the CVSish $Id$ linesDaniel Stenberg2010-03-241-1/+0
|
* Added '--configure' option to curl-config to display original configure ↵Claes Jakobsson2009-11-141-0/+5
| | | | arguments when curl was built
* removed useless commentDaniel Stenberg2009-03-201-5/+2
|
* Fixed curl-config when no features are enabled.Dan Fandrich2008-09-031-2/+2
|
* remove extra semicolon from curl-config.inYang Tse2008-09-031-2/+2
|
* - Keith Mok added supported_protocols and supported_features to the pkg-configDaniel Stenberg2008-09-021-62/+6
| | | | | | file for libcurl, and while doing that fix he unified with curl-config.in how the supported protocols and features are extracted and used, so both those tools should now always be synced.
* Michal Marek made curl-config --libs not include /usr/lib64 in the outputDaniel Stenberg2008-01-101-2/+2
| | | | | | (it already before skipped /usr/lib). /usr/lib64 is the default library directory on many 64bit systems and it's unlikely that anyone would use the path privately on systems where it's not.
* Based on one of those bug reports that are intercepted by a distro's bugDaniel Stenberg2007-10-291-3/+3
| | | | | | tracker (https://bugzilla.redhat.com/show_bug.cgi?id=316191), I now made curl-config --features and --protocols show the correct output when built with NSS.
* Added the --static-libs option to curl-configDan Fandrich2007-10-251-1/+6
|
* Added LDAPS, SCP and SFTP to curl-config --protocols.Dan Fandrich2007-09-141-0/+7
| | | | Removed and fixed some AC_SUBST configure entries.
* Use configure's new LIBCURL_LIBS variableDan Fandrich2007-02-171-2/+2
|
* Don't bother adding a library path of /usr/lib in curl-config --libsDan Fandrich2007-02-141-3/+8
|
* Fixed the problem of curl-config --libs specifying unneeded librariesDan Fandrich2007-02-141-2/+6
| | | | dependencies to applications.
* curl-config got a --checkfor optionDaniel Stenberg2006-05-021-2/+43
|
* David Shaw finally removed all traces of Gopher and we are now officiallyDaniel Stenberg2006-01-161-3/+0
| | | | | not supporting it. It hasn't been functioning for years anyway, so this is just finally stating what already was true. And a cleanup at the same time.
* --protocols now supports TFTPDaniel Stenberg2005-09-041-0/+3
|
* When curl is built with GnuTLS, curl-config didn't include "SSL" whenDaniel Stenberg2005-08-071-1/+3
| | | | --features was used
* added missing features to curl-configDaniel Stenberg2005-03-151-0/+11
|
* David Shaw added --protocols, and thus the --feature no longer mentions whatDaniel Stenberg2004-12-241-21/+29
| | | | protocols that are disabled.
* Dan Fandrich:Daniel Stenberg2004-12-111-4/+4
| | | | | | | | | | | | | Here's a stab at a consolidation of the SSL detection heuristics into configure. Source files aren't changed by this patch, except for setup.h and the various config*.h files. Within the configure script, OPENSSL_ENABLED is used to determine if SSL is being used or not, and outside configure, USE_SSLEAY means the same thing; this could be even further unified some day. Now, when SSL is not detected, configure skips the various checks that are dependent on SSL, speeding up the configure process and avoiding complications with cross compiles. I also updated all the architecture- specific config files I could see, but I couldn't test them.
* curl-config now shows asyncdns if built with ares enabledDaniel Stenberg2003-12-081-0/+3
|
* Markus Oberhumer fixed the -cflags optionDaniel Stenberg2003-01-161-2/+5
|
* Karol Pietrzak pointed out that simply including the include dir in --cflagsDaniel Stenberg2002-11-201-1/+2
| | | | | | is not a good thing, as recent gccs for example complain if it is /usr/include Right now, we just output "" until we think of something better.
* AC_SUBST HAVE_LIBZ for curl-config.inDaniel Stenberg2002-09-021-0/+3
|
* --ca shows ca bundle pathDaniel Stenberg2002-08-301-0/+5
|
* added --disable-[protocol] supportDaniel Stenberg2002-06-111-0/+21
|
* added support for --cc to output the compiler name. This makes it possibleDaniel Stenberg2002-01-161-0/+5
| | | | | | | | | | | | | | to compile libcurl stuff without any prior knowledge: cc=`curl-config --cc` cflags=`curl-config --cflags` libs=`curl-config --libs` $cc $flags $libs -o example example.c Or if you prefer, the oh-so-cool single-line version: `curl-config --cc --cflags --libs` -o example example.c
* hm, --cflags should only show the flags a 3rd party program would needDaniel Stenberg2001-08-161-1/+1
|
* removed --include again and stuffed the libcurl's include path in --cflagsDaniel Stenberg2001-08-161-6/+2
|