From 411276d6f2b236c6ebbe0482918c0bb158e8e21e Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 4 Mar 2018 16:03:37 +0100 Subject: [PATCH] Check also for libcryptopp.pc in configure.ac cryptopp in version 6.1.0 added a pkg config file which is named libcryptopp.pc so search also for this name in addition to cryptopp and libcrypto++ Signed-off-by: Fabrice Fontaine --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 9c09f500..78791a32 100644 --- a/configure.ac +++ b/configure.ac @@ -68,7 +68,10 @@ AS_IF([test "x$with_cryptopp" = "xyes"], [AC_DEFINE([KVZ_SEL_ENCRYPTION], [1], [With cryptopp])], [PKG_CHECK_MODULES([cryptopp], [libcrypto++], [AC_DEFINE([KVZ_SEL_ENCRYPTION], [1], [With cryptopp])], - [AC_MSG_ERROR([neither cryptopp nor libcrypto++ found with pkg-config])] + [PKG_CHECK_MODULES([cryptopp], [libcryptopp], + [AC_DEFINE([KVZ_SEL_ENCRYPTION], [1], [With cryptopp])], + [AC_MSG_ERROR([neither cryptopp, libcrypto++ nor libcryptopp found with pkg-config])] + )] )] )] )