mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Check the appropriate locations for gmock and gtest sources
Although we test libgtest_main, we don't test for libgmock_main. This shouldn't be necessary since gmock was absorbed by gtest in upstream, so I'm not planning on working hard to correct this problem robustly. We'll just check for the source files in the other location where they might be.
This commit is contained in:
@@ -868,7 +868,9 @@ if test x$enable_google_test != xno; then
|
||||
AC_CHECK_LIB([gtest_main], [main],
|
||||
[AC_CHECK_FILES([/usr/src/gmock/gmock-all.cc
|
||||
/usr/include/gtest/gtest.h
|
||||
/usr/include/gmock/gmock.h],
|
||||
/usr/include/gmock/gmock.h
|
||||
/usr/src/gmock/src/gmock-all.cc
|
||||
/usr/src/gtest/src/gtest-all.cc],
|
||||
[ac_cv_gtest_system_install=yes] [ac_cv_have_gtest_libs=yes],
|
||||
[ac_cv_gtest_system_install=no])],
|
||||
[AC_CHECK_FILES([/usr/src/gtest/src/gtest-all.cc
|
||||
|
||||
Reference in New Issue
Block a user