diff options
Diffstat (limited to 'm4/ecore_check_module.m4')
-rw-r--r-- | m4/ecore_check_module.m4 | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/m4/ecore_check_module.m4 b/m4/ecore_check_module.m4 index 784b523e89..5981fd7f3a 100644 --- a/m4/ecore_check_module.m4 +++ b/m4/ecore_check_module.m4 | |||
@@ -7,15 +7,12 @@ m4_pushdef([DOWN], m4_translit([[$1]], [-A-Z], [_a-z]))dnl | |||
7 | have_ecore_evas_[]m4_defn([DOWN])="no" | 7 | have_ecore_evas_[]m4_defn([DOWN])="no" |
8 | want_module="$2" | 8 | want_module="$2" |
9 | 9 | ||
10 | if test "x$have_ecore_evas" = "xyes"; then | 10 | if test "x$want_module" = "xyes" || test "x$want_module" = "xstatic"; then |
11 | if test "x$want_module" = "xyes" || test "x$want_module" = "xstatic"; then | 11 | $3 |
12 | $3 | ||
13 | 12 | ||
14 | AC_DEFINE([BUILD_ECORE_EVAS_]m4_defn([UP]), [1], [Support for $1 Engine in Ecore_Evas]) | 13 | AC_DEFINE([BUILD_ECORE_EVAS_]m4_defn([UP]), [1], [Support for $1 Engine in Ecore_Evas]) |
15 | have_ecore_evas_[]m4_defn([DOWN])="yes" | 14 | have_ecore_evas_[]m4_defn([DOWN])="yes" |
16 | fi | ||
17 | fi | 15 | fi |
18 | |||
19 | EFL_ADD_FEATURE([ECORE_EVAS], [$1], [${want_module}])dnl | 16 | EFL_ADD_FEATURE([ECORE_EVAS], [$1], [${want_module}])dnl |
20 | AM_CONDITIONAL([BUILD_ECORE_EVAS_]UP, [test "x$have_ecore_evas_]m4_defn([DOWN])[" = "xyes"])dnl | 17 | AM_CONDITIONAL([BUILD_ECORE_EVAS_]UP, [test "x$have_ecore_evas_]m4_defn([DOWN])[" = "xyes"])dnl |
21 | m4_popdef([UP])dnl | 18 | m4_popdef([UP])dnl |