AM_CONDITIONAL(CROSSCOMPILING, test x$cross_compiling = xyes)
+dnl yes or no
+ENABLE_SHARED="$enable_shared"
+AC_SUBST(ENABLE_SHARED)
+
dnl
dnl For keeping supported features and protocols also in pkg-config file
dnl since it is more cross-compile frient than curl-config
# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
-# Copyright (C) 2001 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 2001 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
Available values for OPTION include:
+ --built-shared says 'yes' if libcurl was built shared
--ca ca bundle install path
--cc compiler
--cflags pre-processor and compiler flags
esac
case "$1" in
+ --built-shared)
+ echo @ENABLE_SHARED@
+ ;;
+
--ca)
echo "@CURL_CA_BUNDLE@"
;;
echo "$protocol"
done
;;
+
--version)
echo libcurl @VERSION@
exit 0