From: Steve Brokenshire Date: Fri, 1 Jan 2016 16:25:41 +0000 (+0000) Subject: Makefile parsing error occurs when GTest isn't found. X-Git-Tag: release-0.09~101 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=7e76a9be80e8d4b7e7c1e30716fbed6eb1e44c7e;p=xestiaab%2F.git Makefile parsing error occurs when GTest isn't found. --- 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])