build: Add check for required Crypto++ library
Change-Id: I3e4db0e3b3d2c00f0a66dda0c69c4325b836b75e
diff --git a/configure.ac b/configure.ac
index 7e367d7..c668f29 100644
--- a/configure.ac
+++ b/configure.ac
@@ -95,6 +95,8 @@
# Require openssl (libcrypto).
AX_CHECK_OPENSSL([], [AC_MSG_FAILURE([can't find openssl crypto lib])])
+AX_LIB_CRYPTOPP([], [AC_MSG_FAILURE([can't find crypto++ library])])
+
# Conditionally use libsqlite3. AX_LIB_SQLITE3 defines HAVE_SQLITE3 in confdefs.h .
AX_LIB_SQLITE3()
if grep -q "#define HAVE_SQLITE3" confdefs.h ; then