projects
/
profile
/
ivi
/
evas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22ddb32
)
Evas: Added HAVE_TESTS to config.h
author
tasn
<tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 11 Jul 2011 14:08:13 +0000
(14:08 +0000)
committer
tasn
<tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 11 Jul 2011 14:08:13 +0000
(14:08 +0000)
This is set to 1 if tests are enabled.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61244
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
5bfa6e9
..
a08b631
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-1680,6
+1680,9
@@
AM_CONDITIONAL([BUILD_EXAMPLES], [test "x${build_examples}" = "xyes"])
## 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}"