summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorFlavio Vinicius Alvares Ceolin <flavio.ceolin@profusion.mobi>2012-12-11 14:05:48 +0000
committerFlavio Vinicius Alvares Ceolin <flavio.ceolin@profusion.mobi>2012-12-11 14:05:48 +0000
commit5a89f58a234f14cf46e660b5ca163e2ff639f54c (patch)
tree6e8b561162622c093c43155c0d93103eff51bdf3 /configure.ac
parent4a66dd7a0a8f5a6eb9597ca676c9bb72b74defd6 (diff)
adding support for elocation
SVN revision: 80657
Diffstat (limited to '')
-rw-r--r--configure.ac29
1 files changed, 29 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4326fdfae..36713c736 100644
--- a/configure.ac
+++ b/configure.ac
@@ -525,6 +525,34 @@ if test "x$want_elementary_edbus2" = "xyes" -a "x$have_elementary_edbus2" = "xno
525fi 525fi
526AC_SUBST(ELM_EDBUS2_DEF) 526AC_SUBST(ELM_EDBUS2_DEF)
527 527
528ELM_ELOCATION_DEF="#undef"
529have_elementary_elocation="no"
530want_elementary_elocation="auto"
531AC_ARG_ENABLE([elocation],
532 [AC_HELP_STRING([--disable-elocation], [disable elocation support. @<:@default=detect@:>@])],
533 [want_elementary_elocation=$enableval], [])
534
535if test "x$want_elementary_elocation" != "xno"; then
536 PKG_CHECK_MODULES([ELEMENTARY_ELOCATION],
537 [
538 elocation >= 0.1.0
539 ],
540 [
541 AC_DEFINE(HAVE_ELEMENTARY_ELOCATION, 1, [Elocation support for Elementary])
542 have_elementary_elocation="yes"
543 ELM_ELOCATION_DEF="#define"
544 requirement_elm="elocation >= 1.7.99 ${requirement_elm}"
545 ],
546 [have_elementary_elocation="no"]
547 )
548else
549 have_elementary_elocation="no"
550fi
551if test "x$want_elementary_elocation" = "xyes" -a "x$have_elementary_elocation" = "xno"; then
552 AC_MSG_ERROR([EDBus (v2) support requested, but no elocation found by pkg-config.])
553fi
554AC_SUBST(ELM_ELOCATION_DEF)
555
528ELM_EFREET_DEF="#undef" 556ELM_EFREET_DEF="#undef"
529have_elementary_efreet="no" 557have_elementary_efreet="no"
530want_elementary_efreet="auto" 558want_elementary_efreet="auto"
@@ -851,6 +879,7 @@ echo " Web (WebKit)...........: ${elementary_web}"
851echo " Quick Launch...........: ${have_fork}" 879echo " Quick Launch...........: ${have_fork}"
852echo " EIO....................: ${have_eio}" 880echo " EIO....................: ${have_eio}"
853echo " Emotion................: ${have_emotion}" 881echo " Emotion................: ${have_emotion}"
882echo " Elocation..............: ${have_elementary_elocation}"
854echo 883echo
855echo " eet......................: ${eet_eet}" 884echo " eet......................: ${eet_eet}"
856echo " edje_cc..................: ${edje_cc}" 885echo " edje_cc..................: ${edje_cc}"