forked from enlightenment/efl
Evas: Move the HAVE_TESTS define to the m4 macro.
Thanks to vtorri for the spanking. SVN revision: 61245
This commit is contained in:
parent
a425de556c
commit
6d082b5da7
|
@ -1680,9 +1680,6 @@ AM_CONDITIONAL([BUILD_EXAMPLES], [test "x${build_examples}" = "xyes"])
|
||||||
## Unit tests, coverage
|
## Unit tests, coverage
|
||||||
|
|
||||||
EFL_CHECK_TESTS([enable_tests="yes"], [enable_tests="no"])
|
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"])
|
EFL_CHECK_COVERAGE([${enable_tests}], [enable_coverage="yes"], [enable_coverage="no"])
|
||||||
EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_COVERAGE_CFLAGS}"
|
EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_COVERAGE_CFLAGS}"
|
||||||
|
|
|
@ -34,6 +34,9 @@ if test "x${_efl_enable_tests}" = "xyes" ; then
|
||||||
[dummy="yes"],
|
[dummy="yes"],
|
||||||
[_efl_enable_tests="no"])
|
[_efl_enable_tests="no"])
|
||||||
fi
|
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")
|
AM_CONDITIONAL(EFL_ENABLE_TESTS, test "x${_efl_enable_tests}" = "xyes")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue