forked from enlightenment/efl
parent
653bf991ae
commit
c5a4b20e23
|
@ -127,6 +127,12 @@ PKG_CHECK_MODULES([EO], [${requirements_pc_eo}])
|
||||||
|
|
||||||
PKG_CHECK_MODULES([ELM], [elementary >= 1.7.0], [have_elm="yes"], [have_elm="no"])
|
PKG_CHECK_MODULES([ELM], [elementary >= 1.7.0], [have_elm="yes"], [have_elm="no"])
|
||||||
|
|
||||||
|
PKG_CHECK_MODULES([CHECK],
|
||||||
|
[check >= 0.9.5],
|
||||||
|
[_efl_enable_tests="yes"],
|
||||||
|
[_efl_enable_tests="no"])
|
||||||
|
|
||||||
|
AM_CONDITIONAL([EO_BUILD_UNIT_TEST], [test "x${_efl_enable_tests}" = "xyes"])
|
||||||
AM_CONDITIONAL([EO_BUILD_EXAMPLE_EVAS], [test "x${have_elm}" = "xyes"])
|
AM_CONDITIONAL([EO_BUILD_EXAMPLE_EVAS], [test "x${have_elm}" = "xyes"])
|
||||||
|
|
||||||
|
|
||||||
|
@ -213,10 +219,11 @@ echo "Configuration Options Summary:"
|
||||||
echo
|
echo
|
||||||
echo " Documentation........: ${build_doc}"
|
echo " Documentation........: ${build_doc}"
|
||||||
echo " Unit Tests...........:"
|
echo " Unit Tests...........:"
|
||||||
|
echo " unit testing.......: ${_efl_enable_tests}"
|
||||||
echo " build..............: make check"
|
echo " build..............: make check"
|
||||||
echo " coverage...........: ${_efl_enable_coverage}"
|
echo " coverage...........: ${_efl_enable_coverage}"
|
||||||
echo " Examples.............: ${enable_build_examples}"
|
echo " Examples.............: make examples"
|
||||||
echo " Benchmark............: ${enable_benchmark}"
|
echo " Benchmark............: make benchmark"
|
||||||
echo
|
echo
|
||||||
echo "Compilation............: make (or gmake)"
|
echo "Compilation............: make (or gmake)"
|
||||||
echo " CPPFLAGS.............: $CPPFLAGS"
|
echo " CPPFLAGS.............: $CPPFLAGS"
|
||||||
|
|
|
@ -8,6 +8,8 @@ AM_CPPFLAGS = \
|
||||||
@EO_CFLAGS@ \
|
@EO_CFLAGS@ \
|
||||||
@CHECK_CFLAGS@
|
@CHECK_CFLAGS@
|
||||||
|
|
||||||
|
if EO_BUILD_UNIT_TEST
|
||||||
|
|
||||||
check_PROGRAMS = eo_suite
|
check_PROGRAMS = eo_suite
|
||||||
|
|
||||||
eo_suite_SOURCES = \
|
eo_suite_SOURCES = \
|
||||||
|
@ -20,3 +22,5 @@ eo_test_general.c \
|
||||||
eo_test_init.c
|
eo_test_init.c
|
||||||
|
|
||||||
eo_suite_LDADD = $(top_builddir)/src/lib/libeo.la @EO_LIBS@ @CHECK_LIBS@
|
eo_suite_LDADD = $(top_builddir)/src/lib/libeo.la @EO_LIBS@ @CHECK_LIBS@
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
Loading…
Reference in New Issue