summaryrefslogtreecommitdiff
path: root/xmlsec-config.in
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-09-20 04:45:41 -0400
committerAnas Nashif <anas.nashif@intel.com>2013-09-20 04:45:41 -0400
commit6b6383d52bc147134bb6b60b07e924b176c67e3a (patch)
tree9753a1ec40b1fbe2acfaa881af46e3c0f7da6401 /xmlsec-config.in
parent07bb297329b9e9754d09dcb6d70417272a626619 (diff)
downloadxmlsec1-6b6383d52bc147134bb6b60b07e924b176c67e3a.tar.gz
xmlsec1-6b6383d52bc147134bb6b60b07e924b176c67e3a.tar.bz2
xmlsec1-6b6383d52bc147134bb6b60b07e924b176c67e3a.zip
Imported Upstream version 1.2.19
Diffstat (limited to 'xmlsec-config.in')
-rw-r--r--xmlsec-config.in13
1 files changed, 12 insertions, 1 deletions
diff --git a/xmlsec-config.in b/xmlsec-config.in
index 646109cf..cb46909b 100644
--- a/xmlsec-config.in
+++ b/xmlsec-config.in
@@ -21,7 +21,7 @@ Known values for OPTION are:
--help display this help and exit
--version output version information
--crypto=LIB configure with XMLSEC crypto library (one of the
- following: none default openssl gnutls nss)
+ following: none default openssl nss gnutls gcrypt)
EOF
exit $1
@@ -167,6 +167,17 @@ gnutls)
fi
;;
+gcrypt)
+ if test "@XMLSEC_NO_GCRYPT@" = "0"; then
+ the_crypto_flags="@GCRYPT_CFLAGS@ -DXMLSEC_CRYPTO=\\\"gcrypt\\\""
+ the_crypto_libs="@GCRYPT_LIBS@"
+ the_xmlsec_crypto_lib="-l@GCRYPT_CRYPTO_LIB@"
+ else
+ echo "Error: the \"$crypto\" cryptographic library is not supported"
+ usage 1
+ fi
+ ;;
+
nss)
if test "@XMLSEC_NO_NSS@" = "0"; then
the_crypto_flags="@NSS_CFLAGS@ -DXMLSEC_CRYPTO=\\\"nss\\\""