From ff383ef1a8ab732269621a50fa4f42a4974872ce Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Wed, 4 Dec 2019 08:43:26 +0100 Subject: m4/gtest.m4: FTCBFS fix: Don't abuse AC_CHECK_FILES. --- m4/gtest.m4 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'm4') diff --git a/m4/gtest.m4 b/m4/gtest.m4 index 2de334c..e64078a 100644 --- a/m4/gtest.m4 +++ b/m4/gtest.m4 @@ -49,8 +49,7 @@ AC_DEFUN([CHECK_GTEST], AC_LANG_POP - AC_CHECK_FILES([$GTEST_SOURCE/src/gtest-all.cc] - [$GTEST_SOURCE/src/gtest_main.cc], + AS_IF([test -e "$GTEST_SOURCE/src/gtest-all.cc" || test -e "$GTEST_SOURCE/src/gtest_main.cc"], [have_gtest_source=yes], [have_gtest_source=no]) -- cgit v1.2.3