diff options
author | Helmut Grohne <helmut@subdivi.de> | 2019-12-04 08:26:46 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-12-04 08:26:46 +0100 |
commit | 3dcfac9148de47b625e421092ab4d6f407bd623d (patch) | |
tree | 7946bc8eea2f7a475421c14742684c9561834793 | |
parent | a848d0be57cf0b8314829c6b7f9b6c651d21b632 (diff) | |
download | libpam-x2go-3dcfac9148de47b625e421092ab4d6f407bd623d.tar.gz libpam-x2go-3dcfac9148de47b625e421092ab4d6f407bd623d.tar.bz2 libpam-x2go-3dcfac9148de47b625e421092ab4d6f407bd623d.zip |
m4/gtest.m4: FTCBFS fix: Don't abuse AC_CHECK_FILES.
-rw-r--r-- | m4/gtest.m4 | 3 |
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]) |