aboutsummaryrefslogtreecommitdiff
path: root/curl-config.in
AgeCommit message (Collapse)Author
2020-05-24copyright: updated year ranges out of syncDaniel Stenberg
... and whitelisted a few more files in the the copyright.pl script.
2020-05-12libcurl.pc: Merge Libs.private into Libs for static-only buildsJames Le Cuirot
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
2018-10-26curl-config.in: remove dependency on bcDaniel Stenberg
Reported-by: Dima Pasechnik Fixes #3143 Closes #3174
2017-12-06curl-config: add --ssl-backendsDaniel Stenberg
Lists all SSL backends that were enabled at build-time. Suggested-by: Oleg Pudeyev Fixes #2128
2016-02-03URLs: change all http:// URLs to https://Daniel Stenberg
2015-02-25curl-config.in: eliminate double quotes around CURL_CA_BUNDLEKamil Dudka
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]
2013-06-22curl-config.in: replace tabs by spacesKamil Dudka
2013-04-16curl-config: don't output static libs when they are disabledWouter Van Rooy
Curl-config outputs static libraries even when they are disabled in configure. This causes problems with the build of pycurl.
2013-02-06curl-config.in: do not randomly mix tabs and spacesKamil Dudka
2012-12-03build: prevent global LIBS from influencing src and lib build targetsYang Tse
Currently, LIBS is already used through other macros.
2012-08-07curl-config: parentheses fixDaniel Stenberg
Braces, not parentheses, should be used for shell variable names. Bug: http://curl.haxx.se/bug/view.cgi?id=3551460 Reported by: Edward Sheldrake
2012-05-26Fix libcurl.pc and curl-config generation for static MingW* cross buildsYang Tse
2012-03-08curl-config: only provide libraries with --libsDave Reisner
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.
2011-04-19curl-config: fix version outputDaniel Stenberg
do the s/VERSION/CURLVERSION replacement for the human redable output for --checkfor Reported by: Ryan Schmidt
2011-04-18curl-config: fix --versionDaniel Stenberg
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
2010-07-25curl-config: --built-shared returns shared infoDaniel Stenberg
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.
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2009-11-14Added '--configure' option to curl-config to display original configure ↵Claes Jakobsson
arguments when curl was built
2009-03-20removed useless commentDaniel Stenberg
2008-09-03Fixed curl-config when no features are enabled.Dan Fandrich
2008-09-03remove extra semicolon from curl-config.inYang Tse
2008-09-02- Keith Mok added supported_protocols and supported_features to the pkg-configDaniel Stenberg
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.
2008-01-10Michal Marek made curl-config --libs not include /usr/lib64 in the outputDaniel Stenberg
(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.
2007-10-29Based on one of those bug reports that are intercepted by a distro's bugDaniel Stenberg
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.
2007-10-25Added the --static-libs option to curl-configDan Fandrich
2007-09-14Added LDAPS, SCP and SFTP to curl-config --protocols.Dan Fandrich
Removed and fixed some AC_SUBST configure entries.
2007-02-17Use configure's new LIBCURL_LIBS variableDan Fandrich
2007-02-14Don't bother adding a library path of /usr/lib in curl-config --libsDan Fandrich
2007-02-14Fixed the problem of curl-config --libs specifying unneeded librariesDan Fandrich
dependencies to applications.
2006-05-02curl-config got a --checkfor optionDaniel Stenberg
2006-01-16David Shaw finally removed all traces of Gopher and we are now officiallyDaniel Stenberg
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.
2005-09-04--protocols now supports TFTPDaniel Stenberg
2005-08-07When curl is built with GnuTLS, curl-config didn't include "SSL" whenDaniel Stenberg
--features was used
2005-03-15added missing features to curl-configDaniel Stenberg
2004-12-24David Shaw added --protocols, and thus the --feature no longer mentions whatDaniel Stenberg
protocols that are disabled.
2004-12-11Dan Fandrich:Daniel Stenberg
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.
2003-12-08curl-config now shows asyncdns if built with ares enabledDaniel Stenberg
2003-01-16Markus Oberhumer fixed the -cflags optionDaniel Stenberg
2002-11-20Karol Pietrzak pointed out that simply including the include dir in --cflagsDaniel Stenberg
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.
2002-09-02AC_SUBST HAVE_LIBZ for curl-config.inDaniel Stenberg
2002-08-30--ca shows ca bundle pathDaniel Stenberg
2002-06-11added --disable-[protocol] supportDaniel Stenberg
2002-01-16added support for --cc to output the compiler name. This makes it possibleDaniel Stenberg
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
2001-08-16hm, --cflags should only show the flags a 3rd party program would needDaniel Stenberg
2001-08-16removed --include again and stuffed the libcurl's include path in --cflagsDaniel Stenberg
2001-08-16Added --include to set the compiler include flag for libcurlDaniel Stenberg
2001-08-16Added -lcurl for --libs so that single option should now suffice to useDaniel Stenberg
when building anything with libcurl
2001-08-06Heikki Korpela posted a patch that makes --libs include the directory inDaniel Stenberg
which libcurl itself is installed in.
2001-06-01Add documentation for the --vernum attributeSterling Hughes
2001-05-28added 'curl-config --vernum' for hardcore hex version outputDaniel Stenberg