fix ecore_evas modules build broken by r82976.

Many thanks to billiob that was persistent enough to make me look at
it while I was calling it "impossible". That stupid variable was being
used in ecore_check_module.m4 :-(



SVN revision: 82999
This commit is contained in:
Gustavo Sverzut Barbieri 2013-01-18 23:00:57 +00:00
parent 15af942bf7
commit 727f9312df
1 changed files with 4 additions and 7 deletions

View File

@ -7,15 +7,12 @@ m4_pushdef([DOWN], m4_translit([[$1]], [-A-Z], [_a-z]))dnl
have_ecore_evas_[]m4_defn([DOWN])="no"
want_module="$2"
if test "x$have_ecore_evas" = "xyes"; then
if test "x$want_module" = "xyes" || test "x$want_module" = "xstatic"; then
$3
if test "x$want_module" = "xyes" || test "x$want_module" = "xstatic"; then
$3
AC_DEFINE([BUILD_ECORE_EVAS_]m4_defn([UP]), [1], [Support for $1 Engine in Ecore_Evas])
have_ecore_evas_[]m4_defn([DOWN])="yes"
fi
AC_DEFINE([BUILD_ECORE_EVAS_]m4_defn([UP]), [1], [Support for $1 Engine in Ecore_Evas])
have_ecore_evas_[]m4_defn([DOWN])="yes"
fi
EFL_ADD_FEATURE([ECORE_EVAS], [$1], [${want_module}])dnl
AM_CONDITIONAL([BUILD_ECORE_EVAS_]UP, [test "x$have_ecore_evas_]m4_defn([DOWN])[" = "xyes"])dnl
m4_popdef([UP])dnl