From 3dcfac9148de47b625e421092ab4d6f407bd623d Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Wed, 4 Dec 2019 08:26:46 +0100 Subject: m4/gtest.m4: FTCBFS fix: Don't abuse AC_CHECK_FILES. --- m4/gtest.m4 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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