aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2019-12-04 08:43:26 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-12-04 08:43:26 +0100
commitff383ef1a8ab732269621a50fa4f42a4974872ce (patch)
treef2239027366ee7d5b8142beffd74e96584c28abc /m4
parent4117d6e1392f52bc141f3c9d7fede130528c3077 (diff)
downloadlibpam-freerdp2-ff383ef1a8ab732269621a50fa4f42a4974872ce.tar.gz
libpam-freerdp2-ff383ef1a8ab732269621a50fa4f42a4974872ce.tar.bz2
libpam-freerdp2-ff383ef1a8ab732269621a50fa4f42a4974872ce.zip
m4/gtest.m4: FTCBFS fix: Don't abuse AC_CHECK_FILES.
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])