Adding an additional search path to configure.ac for cxxtestgen to reflect the cxxtes...
authorTim King <tim.king@imag.fr>
Fri, 16 Jan 2015 10:31:33 +0000 (11:31 +0100)
committerTim King <tim.king@imag.fr>
Mon, 19 Jan 2015 12:07:34 +0000 (13:07 +0100)
configure.ac

index d8329307956e504a6c01412171924272e5408dbb..672b70d6df257af3114be8a79aac2a02462928e9 100644 (file)
@@ -902,6 +902,11 @@ fi
 if test -z "$CXXTESTGEN"; then
   AC_PATH_PROG(CXXTESTGEN, cxxtestgen, [], [$CXXTEST:$PATH])
 fi
+# The latest version of cxxtest distributed from the git repository places
+# cxxtest under <cxxtest-root>/bin/cxxtest
+if test -z "$CXXTESTGEN"; then
+  AC_PATH_PROG(CXXTESTGEN, cxxtestgen, [], [$CXXTEST/bin:$PATH])
+fi
 if test "$enable_unit_testing" = "no"; then
   AC_MSG_NOTICE([unit tests disabled by user request.])
   CXXTESTGEN=