summaryrefslogtreecommitdiff
path: root/legacy/elementary/configure.ac
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2011-11-20 15:00:43 +0000
committerCedric BAIL <cedric.bail@free.fr>2011-11-20 15:00:43 +0000
commit0c63e7b2d40eb6fc6459aa7f5a7767cd023c2a79 (patch)
tree6677b38828ebb69e37dc1af8ae979673626c351b /legacy/elementary/configure.ac
parent9612934868c34fc56910e1c8ab2e8f7a0a62af3a (diff)
elementary: support build without Ecore_IMF and/or without Ecore_Con.
SVN revision: 65449
Diffstat (limited to 'legacy/elementary/configure.ac')
-rw-r--r--legacy/elementary/configure.ac36
1 files changed, 31 insertions, 5 deletions
diff --git a/legacy/elementary/configure.ac b/legacy/elementary/configure.ac
index e5c61bb..de5d483 100644
--- a/legacy/elementary/configure.ac
+++ b/legacy/elementary/configure.ac
@@ -1,4 +1,4 @@
1=-------##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 1##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
2##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 2##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
3m4_define([v_maj], [0]) 3m4_define([v_maj], [0])
4m4_define([v_min], [8]) 4m4_define([v_min], [8])
@@ -219,12 +219,38 @@ PKG_CHECK_MODULES([ELEMENTARY],
219 ecore >= 1.0.999 219 ecore >= 1.0.999
220 ecore-evas >= 1.0.999 220 ecore-evas >= 1.0.999
221 ecore-file >= 1.0.999 221 ecore-file >= 1.0.999
222 ecore-imf >= 1.0.999
223 ecore-con >= 1.0.999
224 edje >= 1.0.999 222 edje >= 1.0.999
225 ] 223 ]
226) 224)
227 225
226requirement_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}"
227
228PKG_CHECK_MODULES([ELEMENTARY_ECORE_IMF],
229 [ecore-imf >= 1.0.999],
230 [
231 ELEMENTARY_ECORE_IMF_INC="#include <Ecore_IMF.h>"
232 AC_DEFINE(HAVE_ELEMENTARY_ECORE_IMF, 1, [Have Ecore_IMF support])
233 have_ecore_imf="yes"
234 requirement_elm="ecore-imf >= 1.0.999 ${requirement_elm}"
235 ],
236 [have_ecore_imf="no"])
237AC_SUBST(ELEMENTARY_ECORE_IMF_INC)
238
239AM_CONDITIONAL([HAVE_ECORE_IMF], [test "x${have_ecore_imf}" = "xyes"])
240
241PKG_CHECK_MODULES([ELEMENTARY_ECORE_CON],
242 [ecore-con >= 1.0.999],
243 [
244 ELEMENTARY_ECORE_CON_INC="#include <Ecore_Con.h>"
245 AC_DEFINE(HAVE_ELEMENTARY_ECORE_CON, 1, [Have Ecore_Con support])
246 have_ecore_con="yes"
247 requirement_elm="ecore-con >= 1.0.999 ${requirement_elm}"
248 ],
249 [have_ecore_con="no"])
250AC_SUBST(ELEMENTARY_ECORE_CON_INC)
251
252AM_CONDITIONAL([HAVE_ECORE_CON], [test "x${have_ecore_con}" = "xyes"])
253
228PKG_CHECK_MODULES([EIO], 254PKG_CHECK_MODULES([EIO],
229 [eio], 255 [eio],
230 [ 256 [
@@ -255,8 +281,6 @@ fi
255 281
256AM_CONDITIONAL([HAVE_EMOTION], [test "x${have_emotion}" = "xyes"]) 282AM_CONDITIONAL([HAVE_EMOTION], [test "x${have_emotion}" = "xyes"])
257 283
258requirement_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}"
259
260have_elementary_x="no" 284have_elementary_x="no"
261want_elementary_x="auto" 285want_elementary_x="auto"
262AC_ARG_ENABLE([ecore-x], 286AC_ARG_ENABLE([ecore-x],
@@ -718,6 +742,8 @@ echo " Windows XP.............: ${have_elementary_win32}"
718echo " Windows CE.............: ${have_elementary_wince}" 742echo " Windows CE.............: ${have_elementary_wince}"
719echo 743echo
720echo " Features:" 744echo " Features:"
745echo " Ecore_IMF..............: ${have_ecore_imf}"
746echo " Ecore_Con..............: ${have_ecore_con}"
721echo " EDBus..................: ${have_elementary_edbus}" 747echo " EDBus..................: ${have_elementary_edbus}"
722echo " EFreet.................: ${have_elementary_efreet}" 748echo " EFreet.................: ${have_elementary_efreet}"
723echo " EWeather...............: ${have_elementary_eweather}" 749echo " EWeather...............: ${have_elementary_eweather}"