aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/gtest.m43
1 files changed, 1 insertions, 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])