forked from enlightenment/efl
ephysics: Don't build tests by default -> Avoid circular dependency hell
ephysics tests need edje which needs ephysics. The issue was rename of ephysics_soft_body_circle_add -> ephysics_body_cylinder_add Signed-off-by: Daniel Willmann <d.willmann@samsung.com> SVN revision: 80749
This commit is contained in:
parent
ebd83134a4
commit
b11f968b37
|
@ -188,18 +188,21 @@ case "$host_os" in
|
||||||
esac
|
esac
|
||||||
AC_SUBST(lt_enable_auto_import)
|
AC_SUBST(lt_enable_auto_import)
|
||||||
|
|
||||||
## Tests
|
## Tests - disable by default. With edje requiring ephysics and tests requiring
|
||||||
|
## edje we are in circular dependency hell here.
|
||||||
|
build_tests="no"
|
||||||
if test "x${build_docs_only}" = "xno" ; then
|
if test "x${build_docs_only}" = "xno" ; then
|
||||||
PKG_CHECK_MODULES([ELEMENTARY], [elementary >= 1.7.99], [build_tests="yes"], [build_tests="no"])
|
PKG_CHECK_MODULES([ELEMENTARY], [elementary >= 1.7.99], [req_tests="yes"], [req_tests="no"])
|
||||||
AC_ARG_ENABLE([build-tests],
|
AC_ARG_ENABLE([build-tests],
|
||||||
AC_HELP_STRING([--disable-build-tests],
|
AC_HELP_STRING([--enable-build-tests],
|
||||||
[Disable building tests. It is enabled by default unless
|
[Enable building tests. It is not built if the
|
||||||
required dependencies are not present. @<:@default==enabled@:>@]),
|
required dependencies are not present. @<:@default==disabled@:>@]),
|
||||||
[
|
[
|
||||||
if test "x${enableval}" = "xno" ; then
|
if test "x${enableval}" = "xyes" ; then
|
||||||
build_tests="no"
|
if test "x${req_tests}" = "xyes" ; then
|
||||||
else
|
build_tests="yes"
|
||||||
requirement_ephysics="elementary >= 1.7.99 ${requirement_ephysics}"
|
requirement_ephysics="elementary >= 1.7.99 ${requirement_ephysics}"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
],
|
],
|
||||||
[])
|
[])
|
||||||
|
|
Loading…
Reference in New Issue