curl-config: --built-shared returns shared info
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.
Loading branch information
2 changed files
and 1 deletion.
@@ -2653,6 +2653,10 @@ LIBS=$ALL_LIBS dnl LIBS is a magic variable that's used for every link
AM_CONDITIONAL(CROSSCOMPILING, test x$cross_compiling = xyes)
+dnl yes or no
dnl For keeping supported features and protocols also in pkg-config file
dnl since it is more cross-compile frient than curl-config
@@ -6,7 +6,7 @@
# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
# Copyright (C) 2001 - 2009, Daniel Stenberg, <firstname.lastname@example.org>, et al.
# Copyright (C) 2001 - 2010, Daniel Stenberg, <email@example.com>, et al.
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
@@ -32,6 +32,7 @@ Usage: curl-config [OPTION]
Available values for OPTION include:
--built-shared says 'yes' if libcurl was built shared
--ca ca bundle install path
--cflags pre-processor and compiler flags
@@ -64,6 +65,10 @@ while test $# -gt 0; do
case " $1 " in
echo "@CURL_CA_BUNDLE@ "
@@ -87,6 +92,7 @@ while test $# -gt 0; do
echo " $protocol "
echo libcurl @VERSION@