+requirement_elm="edje >= 1.0.0 ecore-file >= 1.0.0 ecore-evas >= 1.0.0 ecore >= 1.0.0 evas >= 1.0.0 eet >= 1.4.0 eina >= 1.0.0 ${requirement_elm}"
+
+PKG_CHECK_MODULES([ELEMENTARY_ECORE_IMF],
+ [ecore-imf >= 1.0.999],
+ [
+ ELEMENTARY_ECORE_IMF_INC="#include <Ecore_IMF.h>"
+ AC_DEFINE(HAVE_ELEMENTARY_ECORE_IMF, 1, [Have Ecore_IMF support])
+ have_ecore_imf="yes"
+ requirement_elm="ecore-imf >= 1.0.999 ${requirement_elm}"
+ ],
+ [have_ecore_imf="no"])
+AC_SUBST(ELEMENTARY_ECORE_IMF_INC)
+
+AM_CONDITIONAL([HAVE_ECORE_IMF], [test "x${have_ecore_imf}" = "xyes"])
+
+PKG_CHECK_MODULES([ELEMENTARY_ECORE_CON],
+ [ecore-con >= 1.0.999],
+ [
+ ELEMENTARY_ECORE_CON_INC="#include <Ecore_Con.h>"
+ AC_DEFINE(HAVE_ELEMENTARY_ECORE_CON, 1, [Have Ecore_Con support])
+ have_ecore_con="yes"
+ requirement_elm="ecore-con >= 1.0.999 ${requirement_elm}"
+ ],
+ [have_ecore_con="no"])
+AC_SUBST(ELEMENTARY_ECORE_CON_INC)
+
+AM_CONDITIONAL([HAVE_ECORE_CON], [test "x${have_ecore_con}" = "xyes"])
+
+PKG_CHECK_MODULES([EIO],
+ [eio],
+ [
+ have_eio="yes"
+ AC_DEFINE(HAVE_EIO, 1, [Use EIO for asynchronous file access])
+ requirement_elm="eio ${requirement_elm}"
+ ],
+ [have_eio="no"])