summaryrefslogtreecommitdiff
path: root/legacy/ephysics
diff options
context:
space:
mode:
authorDaniel Willmann <d.willmann@samsung.com>2012-12-12 10:16:55 +0000
committerDaniel Willmann <daniel@totalueberwachung.de>2012-12-12 10:16:55 +0000
commitb11f968b374e032751188dc9ded8d8d025355ce5 (patch)
tree7ddc1349432978f19ba769593fc5b3843d0d37c5 /legacy/ephysics
parentebd83134a4bb55ab05ed12a41be4bc93eed62acb (diff)
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
Diffstat (limited to 'legacy/ephysics')
-rw-r--r--legacy/ephysics/configure.ac21
1 files changed, 12 insertions, 9 deletions
diff --git a/legacy/ephysics/configure.ac b/legacy/ephysics/configure.ac
index f1e716a02f..a4af83ccd5 100644
--- a/legacy/ephysics/configure.ac
+++ b/legacy/ephysics/configure.ac
@@ -188,18 +188,21 @@ case "$host_os" in
188esac 188esac
189AC_SUBST(lt_enable_auto_import) 189AC_SUBST(lt_enable_auto_import)
190 190
191## Tests 191## Tests - disable by default. With edje requiring ephysics and tests requiring
192## edje we are in circular dependency hell here.
193build_tests="no"
192if test "x${build_docs_only}" = "xno" ; then 194if test "x${build_docs_only}" = "xno" ; then
193PKG_CHECK_MODULES([ELEMENTARY], [elementary >= 1.7.99], [build_tests="yes"], [build_tests="no"]) 195PKG_CHECK_MODULES([ELEMENTARY], [elementary >= 1.7.99], [req_tests="yes"], [req_tests="no"])
194AC_ARG_ENABLE([build-tests], 196AC_ARG_ENABLE([build-tests],
195 AC_HELP_STRING([--disable-build-tests], 197 AC_HELP_STRING([--enable-build-tests],
196 [Disable building tests. It is enabled by default unless 198 [Enable building tests. It is not built if the
197 required dependencies are not present. @<:@default==enabled@:>@]), 199 required dependencies are not present. @<:@default==disabled@:>@]),
198 [ 200 [
199 if test "x${enableval}" = "xno" ; then 201 if test "x${enableval}" = "xyes" ; then
200 build_tests="no" 202 if test "x${req_tests}" = "xyes" ; then
201 else 203 build_tests="yes"
202 requirement_ephysics="elementary >= 1.7.99 ${requirement_ephysics}" 204 requirement_ephysics="elementary >= 1.7.99 ${requirement_ephysics}"
205 fi
203 fi 206 fi
204 ], 207 ],
205 []) 208 [])