summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-03 21:45:48 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-03 21:45:48 +0000
commiteae8a92c4b239a73740b5e914497e2b25f9e6ab2 (patch)
treeefadd7c6030b2b95424f75b5bd1799b596d67116 /configure.ac
parentc262e478bbd5d7ecd882d545051f2b6af85243f4 (diff)
elm now supports edbus v2, deprecated v1 function.
v1 is now deprecated (EINA_DEPRECATED) but still there, should still work and not break any existing app. v2 is now there as well, all software is being ported to use it now. Just Enlightenment itself will still ship with v1 and as soon as we release it will go v2, we have the patches here. SVN revision: 80110
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac30
1 files changed, 29 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 751c4a306..4326fdfae 100644
--- a/configure.ac
+++ b/configure.ac
@@ -497,6 +497,34 @@ if test "x$want_elementary_edbus" = "xyes" -a "x$have_elementary_edbus" = "xno";
497fi 497fi
498AC_SUBST(ELM_EDBUS_DEF) 498AC_SUBST(ELM_EDBUS_DEF)
499 499
500ELM_EDBUS2_DEF="#undef"
501have_elementary_edbus2="no"
502want_elementary_edbus2="auto"
503AC_ARG_ENABLE([edbus2],
504 [AC_HELP_STRING([--disable-edbus2], [disable edbus2 support. @<:@default=detect@:>@])],
505 [want_elementary_edbus2=$enableval], [])
506
507if test "x$want_elementary_edbus2" != "xno"; then
508 PKG_CHECK_MODULES([ELEMENTARY_EDBUS2],
509 [
510 edbus2 >= 1.7.99
511 ],
512 [
513 AC_DEFINE(HAVE_ELEMENTARY_EDBUS2, 1, [EDbus2 support for Elementary])
514 have_elementary_edbus2="yes"
515 ELM_EDBUS2_DEF="#define"
516 requirement_elm="edbus2 >= 1.7.99 ${requirement_elm}"
517 ],
518 [have_elementary_edbus2="no"]
519 )
520else
521 have_elementary_edbus2="no"
522fi
523if test "x$want_elementary_edbus2" = "xyes" -a "x$have_elementary_edbus2" = "xno"; then
524 AC_MSG_ERROR([EDBus (v2) support requested, but no edbus2 found by pkg-config.])
525fi
526AC_SUBST(ELM_EDBUS2_DEF)
527
500ELM_EFREET_DEF="#undef" 528ELM_EFREET_DEF="#undef"
501have_elementary_efreet="no" 529have_elementary_efreet="no"
502want_elementary_efreet="auto" 530want_elementary_efreet="auto"
@@ -814,7 +842,7 @@ echo
814echo " Features:" 842echo " Features:"
815echo " Ecore_IMF..............: ${have_ecore_imf}" 843echo " Ecore_IMF..............: ${have_ecore_imf}"
816echo " Ecore_Con..............: ${have_ecore_con}" 844echo " Ecore_Con..............: ${have_ecore_con}"
817echo " EDBus..................: ${have_elementary_edbus}" 845echo " EDBus..................: v1=${have_elementary_edbus}, v2=${have_elementary_edbus2}"
818echo " EFreet.................: ${have_elementary_efreet}" 846echo " EFreet.................: ${have_elementary_efreet}"
819echo " EWeather...............: ${have_elementary_eweather}" 847echo " EWeather...............: ${have_elementary_eweather}"
820echo " EMap...................: ${have_elementary_emap}" 848echo " EMap...................: ${have_elementary_emap}"