diff options
author | Flavio Vinicius Alvares Ceolin <flavio.ceolin@profusion.mobi> | 2012-12-11 14:05:48 +0000 |
---|---|---|
committer | Flavio Vinicius Alvares Ceolin <flavio.ceolin@profusion.mobi> | 2012-12-11 14:05:48 +0000 |
commit | 5a89f58a234f14cf46e660b5ca163e2ff639f54c (patch) | |
tree | 6e8b561162622c093c43155c0d93103eff51bdf3 /configure.ac | |
parent | 4a66dd7a0a8f5a6eb9597ca676c9bb72b74defd6 (diff) |
adding support for elocation
SVN revision: 80657
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 29 |
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 | |||
525 | fi | 525 | fi |
526 | AC_SUBST(ELM_EDBUS2_DEF) | 526 | AC_SUBST(ELM_EDBUS2_DEF) |
527 | 527 | ||
528 | ELM_ELOCATION_DEF="#undef" | ||
529 | have_elementary_elocation="no" | ||
530 | want_elementary_elocation="auto" | ||
531 | AC_ARG_ENABLE([elocation], | ||
532 | [AC_HELP_STRING([--disable-elocation], [disable elocation support. @<:@default=detect@:>@])], | ||
533 | [want_elementary_elocation=$enableval], []) | ||
534 | |||
535 | if 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 | ) | ||
548 | else | ||
549 | have_elementary_elocation="no" | ||
550 | fi | ||
551 | if 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.]) | ||
553 | fi | ||
554 | AC_SUBST(ELM_ELOCATION_DEF) | ||
555 | |||
528 | ELM_EFREET_DEF="#undef" | 556 | ELM_EFREET_DEF="#undef" |
529 | have_elementary_efreet="no" | 557 | have_elementary_efreet="no" |
530 | want_elementary_efreet="auto" | 558 | want_elementary_efreet="auto" |
@@ -851,6 +879,7 @@ echo " Web (WebKit)...........: ${elementary_web}" | |||
851 | echo " Quick Launch...........: ${have_fork}" | 879 | echo " Quick Launch...........: ${have_fork}" |
852 | echo " EIO....................: ${have_eio}" | 880 | echo " EIO....................: ${have_eio}" |
853 | echo " Emotion................: ${have_emotion}" | 881 | echo " Emotion................: ${have_emotion}" |
882 | echo " Elocation..............: ${have_elementary_elocation}" | ||
854 | echo | 883 | echo |
855 | echo " eet......................: ${eet_eet}" | 884 | echo " eet......................: ${eet_eet}" |
856 | echo " edje_cc..................: ${edje_cc}" | 885 | echo " edje_cc..................: ${edje_cc}" |