From 7499e9dee07dde18b767e03656b0ce4ee3938e29 Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Sat, 5 Jan 2013 14:41:14 +0000 Subject: efl: distcheck will run tests and compile all examples. Tests are disabled by default, but they should be mandatory for distcheck. So should be examples, we should have them to at least compile. As there is no way to force "make distcheck" to run "make examples", I've created --enable-always-build-examples to make examples regular noinst_PROGRAMS, being always compiled. distcheck will use that option. SVN revision: 82276 --- configure.ac | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 7182408..ca5bb8c 100644 --- a/configure.ac +++ b/configure.ac @@ -3348,6 +3348,20 @@ AC_SUBST([want_physics]) EFL_LIB_END([Edje]) #### End of Edje +AC_ARG_ENABLE([always-build-examples], + [AC_HELP_STRING([--enable-always-build-examples], + [always build examples. @<:@default=disabled@:>@])], + [ + if test "x${enableval}" = "xyes" ; then + want_always_build_examples="yes" + else + want_always_build_examples="no" + fi + ], + [want_always_build_examples="no"]) +AM_CONDITIONAL([ALWAYS_BUILD_EXAMPLES], [test "${want_always_build_examples}" = "yes"]) + + AC_CONFIG_FILES([ Makefile data/Makefile -- cgit v1.1