diff options
author | Simon Josefsson <simon@josefsson.org> | 2007-05-02 13:16:51 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2007-05-02 13:16:51 +0000 |
commit | 995a404480936cdae02a39225c366afb6cc2586e (patch) | |
tree | b2b61345fbad44ea5e9a4f71ed55966847073452 | |
parent | 2905ca2f0a6db2ca14e60bab8a624c01d2b9b788 (diff) | |
download | gnutls-995a404480936cdae02a39225c366afb6cc2586e.tar.gz |
Search for Scute at build-time.
-rw-r--r-- | configure.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/configure.in b/configure.in index e3c8e2071c..3fda496742 100644 --- a/configure.in +++ b/configure.in @@ -473,6 +473,23 @@ LIBS=$SAVED_LIBS AC_MSG_CHECKING([whether to use the included libcfg]) AC_MSG_RESULT($libcfg_enabled) +dnl CHECK FOR PKCS#11 PROVIDER +dnl + +AC_MSG_CHECKING([whether to include PKCS11 Scute support]) +AC_ARG_WITH(pkcs11-scute, + AS_HELP_STRING([--without-pkcs11-scute], + [disable PKCS11 Scute provider]), + scute=$withval, scute=yes) +if test "$scute" != "no"; then + AC_MSG_RESULT(yes) + AC_LIB_HAVE_LINKFLAGS(scute,,, [C_Initialize (0);]) + if test "$ac_cv_libscute" != yes; then + AC_MSG_ERROR(*** PKCS11 provider Scute was not found.) + fi +else + AC_MSG_RESULT(no) +fi dnl CHECK FOR ZLIB SUPPORT dnl |