AM_CONDITIONAL([GTEST_FOUND], [test x$gtestfound = xyes])
AM_COND_IF([GTEST_FOUND], [AC_SUBST([GTEST], [`cat tests/test.commands`])],
AM_CONDITIONAL([GTEST_FOUND], [test x$gtestfound = xyes])
AM_COND_IF([GTEST_FOUND], [AC_SUBST([GTEST], [`cat tests/test.commands`])],