diff options
Diffstat (limited to 'xmlsec-config.in')
-rw-r--r-- | xmlsec-config.in | 13 |
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\\\"" |