configure: make the status show correctly when pkcs11 is disabled
authorStef Walter <stefw@collabora.co.uk>
Mon, 7 Nov 2011 17:05:43 +0000 (18:05 +0100)
committerStef Walter <stefw@collabora.co.uk>
Mon, 7 Nov 2011 17:05:43 +0000 (18:05 +0100)
configure.ac

index 2be7ca7..0961026 100644 (file)
@@ -148,6 +148,8 @@ if test "x$with_pkcs11" != "xno"; then
                          [AS_IF([test "x$with_pkcs11" = "xyes"],
                                 [AC_MSG_FAILURE("$PKCS11_PKG_ERRORS")])
                           pkcs11_support=no])
+else
+       pkcs11_support=no
 fi
 AM_CONDITIONAL(HAVE_PKCS11, [test "x$with_pkcs11" = "xyes"])
 AC_SUBST(PKCS11_CFLAGS)