fix ecore_evas modules build broken by r82976.
authorGustavo Sverzut Barbieri <barbieri@gmail.com>
Fri, 18 Jan 2013 23:00:57 +0000 (23:00 +0000)
committerGustavo Sverzut Barbieri <barbieri@gmail.com>
Fri, 18 Jan 2013 23:00:57 +0000 (23:00 +0000)
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

m4/ecore_check_module.m4

index 784b523..5981fd7 100644 (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