Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e


Modified Files:
        configure.in 


Log Message:


build! fix breaks!

===================================================================
RCS file: /cvs/e/e17/apps/e/configure.in,v
retrieving revision 1.212
retrieving revision 1.213
diff -u -3 -r1.212 -r1.213
--- configure.in        13 Aug 2008 19:22:01 -0000      1.212
+++ configure.in        14 Aug 2008 01:16:26 -0000      1.213
@@ -209,14 +209,24 @@
   ecore-txt
 ], [
   have_temp="yes"
-  # This test will succeed as these modules are also checked before
+  have_bat="yes"
+], [ have_temp="no"])
+
+AM_CONDITIONAL(HAVE_TEMPERATURE, test x$have_temp = "xyes")
+if test x$have_temp = "xyes"; then
   PKG_CHECK_MODULES(TEMPERATURE, [
     ecore
     ecore-file
   ])
-], [ have_temp="no"])
-AM_CONDITIONAL(HAVE_TEMPERATURE, test x$have_temp = "xyes")
+fi
 AM_CONDITIONAL(HAVE_BATTERY, test x$have_bat = "xyes")
+if test x$have_bat = "xyes"; then
+  PKG_CHECK_MODULES(BATTERY, [
+    ecore
+    ecore-file
+    ecore-con
+  ])
+fi
 
 PKG_CHECK_MODULES(E_DBUS, edbus, have_edbus=yes, have_edbus=no)
 PKG_CHECK_MODULES(E_HAL, ehal, have_ehal=yes, have_ehal=no)
@@ -232,8 +242,8 @@
   fi
 fi
 
-e_libs=$E_LIBS" "$LIBINTL" "$fnmatch_libs" "
-e_cflags="-DUSE_E_CONFIG_H "$define_e_dbus" "$E_CFLAGS" "$E_DBUS_CFLAGS" "
+e_libs=$E_LIBS" "$LIBINTL" "$fnmatch_libs" "$ECORE_IMF_LIBS" "
+e_cflags="-DUSE_E_CONFIG_H "$define_e_dbus" "$E_CFLAGS" "$E_DBUS_CFLAGS" 
"$ECORE_IMF_CFLAGS" "
 e_configflags="-DUSE_E_CONFIG_H "$define_e_dbus" "
 
 AC_SUBST(e_libs)



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to