summaryrefslogtreecommitdiff
path: root/legacy/eet/m4
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/eet/m4')
-rw-r--r--legacy/eet/m4/efl_tests.m410
1 files changed, 5 insertions, 5 deletions
diff --git a/legacy/eet/m4/efl_tests.m4 b/legacy/eet/m4/efl_tests.m4
index edd57f2199..d8554e1539 100644
--- a/legacy/eet/m4/efl_tests.m4
+++ b/legacy/eet/m4/efl_tests.m4
@@ -44,17 +44,17 @@ if test "x${_efl_enable_tests}" = "xyes" ; then
44 m4_defn([UPEFL])[]_CFLAGS="${m4_defn([UPEFL])[]_CFLAGS} -fprofile-arcs -ftest-coverage" 44 m4_defn([UPEFL])[]_CFLAGS="${m4_defn([UPEFL])[]_CFLAGS} -fprofile-arcs -ftest-coverage"
45 m4_defn([UPEFL])[]_LIBS="${m4_defn([UPEFL])[]_LIBS} -lgcov" 45 m4_defn([UPEFL])[]_LIBS="${m4_defn([UPEFL])[]_LIBS} -lgcov"
46# remove any optimisation flag and force debug symbols 46# remove any optimisation flag and force debug symbols
47 m4_defn([UPEFL])[]_CFLAGS="${m4_defn([UPEFL])[]_CFLAGS} -g -O0 -DDEBUG" 47 if test "x${prefer_assert}" = "xno"; then
48 m4_defn([UPEFL])[]_CFLAGS="${m4_defn([UPEFL])[]_CFLAGS} -DNDEBUG"
49 else
50 m4_defn([UPEFL])[]_CFLAGS="${m4_defn([UPEFL])[]_CFLAGS} -g -O0 -DDEBUG"
51 fi
48 efl_enable_coverage="yes" 52 efl_enable_coverage="yes"
49 else 53 else
50 AC_MSG_WARN([lcov is not found, disable profiling instrumentation]) 54 AC_MSG_WARN([lcov is not found, disable profiling instrumentation])
51 fi 55 fi
52fi 56fi
53 57
54dnl Substitution
55AC_SUBST(EFL_COVERAGE_CFLAGS)
56AC_SUBST(EFL_COVERAGE_LIBS)
57
58AM_CONDITIONAL(EFL_ENABLE_TESTS, test "x${_efl_enable_tests}" = "xyes") 58AM_CONDITIONAL(EFL_ENABLE_TESTS, test "x${_efl_enable_tests}" = "xyes")
59 59
60AS_IF([test "x$_efl_enable_tests" = "xyes"], [$2], [$3]) 60AS_IF([test "x$_efl_enable_tests" = "xyes"], [$2], [$3])