Thanks to vtorri for the spanking.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61245
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
## Unit tests, coverage
EFL_CHECK_TESTS([enable_tests="yes"], [enable_tests="no"])
-if test "x$enable_tests" = "xyes" ; then
- AC_DEFINE(HAVE_TESTS, 1, [Set to 1 if we enabled unit testing.])
-fi
EFL_CHECK_COVERAGE([${enable_tests}], [enable_coverage="yes"], [enable_coverage="no"])
EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_COVERAGE_CFLAGS}"
[dummy="yes"],
[_efl_enable_tests="no"])
fi
+if test "x${_efl_enable_tests}" = "xyes" ; then
+ AC_DEFINE(HAVE_TESTS, 1, [Set to 1 if we enabled unit testing.])
+fi
AM_CONDITIONAL(EFL_ENABLE_TESTS, test "x${_efl_enable_tests}" = "xyes")