Merge pull request #186 from ffontaine/master

Check also for libcryptopp.pc in configure.ac
This commit is contained in:
Arttu Ylä-Outinen 2018-03-05 11:01:47 +02:00 committed by GitHub
commit 75fec2927a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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])]
)]
)]
)]
)