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
+4 -1
View File
@@ -276,8 +276,11 @@ PKG_CHECK_MODULES([GTEST], [gtest_main])
# Look for rapidcheck.
# 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_LIB([rapidcheck], [])
dnl No good for C++ libs with mangled symbols
dnl AC_CHECK_LIB([rapidcheck], [])
AC_LANG_POP(C++)
# Look for nlohmann/json.