From 7e76a9be80e8d4b7e7c1e30716fbed6eb1e44c7e Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Fri, 1 Jan 2016 16:25:41 +0000 Subject: [PATCH] Makefile parsing error occurs when GTest isn't found. --- source/configure | 2 +- source/configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/configure b/source/configure index 6822e23..4712964 100755 --- a/source/configure +++ b/source/configure @@ -4961,7 +4961,7 @@ if test -z "$GTEST_FOUND_TRUE"; then : GTEST=`cat tests/test.commands` else - GTEST="echo \"Google Test was not found on the system.\"" + GTEST=" @echo \"Google Test was not found on the system. Unable to build tests.\"" fi if test -z "$GTEST_FOUND_TRUE"; then : diff --git a/source/configure.ac b/source/configure.ac index d1a6ce8..ed9cdaf 100644 --- a/source/configure.ac +++ b/source/configure.ac @@ -189,7 +189,7 @@ AM_COND_IF([DEBUG], [echo "Debugging mode has been enabled."]) AM_CONDITIONAL([GTEST_FOUND], [test x$gtestfound = xyes]) AM_COND_IF([GTEST_FOUND], [AC_SUBST([GTEST], [`cat tests/test.commands`])], - [AC_SUBST([GTEST], ["echo \"Google Test was not found on the system.\""])]) + [AC_SUBST([GTEST], [" @echo \"Google Test was not found on the system. Unable to build tests.\""])]) AM_COND_IF([GTEST_FOUND], [echo "Google Test found on the system. Enabling Unit Tests."]); AC_CONFIG_FILES([Makefile]) -- 2.39.2