Merge pull request #7718 from obsidiansystems/fix-rapidcheck-autoconf

Fix configure.ac rapidcheck tests
This commit is contained in:
Eelco Dolstra 2023-02-01 15:56:35 +01:00 committed by GitHub
commit ed9d7c83db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -276,8 +276,11 @@ PKG_CHECK_MODULES([GTEST], [gtest_main])
# Look for rapidcheck. # Look for rapidcheck.
# No pkg-config yet, https://github.com/emil-e/rapidcheck/issues/302 # No pkg-config yet, https://github.com/emil-e/rapidcheck/issues/302
AC_LANG_PUSH(C++)
AC_CHECK_HEADERS([rapidcheck/gtest.h], [], [], [#include <gtest/gtest.h>]) AC_CHECK_HEADERS([rapidcheck/gtest.h], [], [], [#include <gtest/gtest.h>])
AC_CHECK_LIB([rapidcheck], []) dnl No good for C++ libs with mangled symbols
dnl AC_CHECK_LIB([rapidcheck], [])
AC_LANG_POP(C++)
# Look for nlohmann/json. # Look for nlohmann/json.