summaryrefslogtreecommitdiff
path: root/legacy/elementary/configure.ac
diff options
context:
space:
mode:
authorJonathan Atton <jonathan.atton@gmail.com>2011-06-25 14:30:10 +0000
committerJonathan Atton <jonathan.atton@gmail.com>2011-06-25 14:30:10 +0000
commit6b88bee7e53ca8e72a27e18e43240378f0b0d932 (patch)
treecf4430ebf86d867d6c03b6bd932b72d3385d64f8 /legacy/elementary/configure.ac
parent8cf97b3ef8a345be9bd555f2945c259484237040 (diff)
elm_map: use emap
SVN revision: 60684
Diffstat (limited to 'legacy/elementary/configure.ac')
-rw-r--r--legacy/elementary/configure.ac31
1 files changed, 31 insertions, 0 deletions
diff --git a/legacy/elementary/configure.ac b/legacy/elementary/configure.ac
index e4e4b0d..39f1078 100644
--- a/legacy/elementary/configure.ac
+++ b/legacy/elementary/configure.ac
@@ -420,6 +420,36 @@ if test "x$want_elementary_eweather" = "xyes" -a "x$have_elementary_eweather" =
420fi 420fi
421AC_SUBST(ELM_EWEATHER_DEF) 421AC_SUBST(ELM_EWEATHER_DEF)
422 422
423ELM_EMAP_DEF="#undef"
424have_elementary_emap="no"
425want_elementary_emap="auto"
426AC_ARG_ENABLE([emap],
427 [AC_HELP_STRING([--disable-emap], [disable emap support. @<:@default=detect@:>@])],
428 [want_elementary_emap=$enableval], [])
429
430if test "x$want_elementary_emap" != "xno"; then
431 PKG_CHECK_MODULES([ELEMENTARY_EMAP],
432 [
433 emap
434 ],
435 [
436 AC_DEFINE(HAVE_ELEMENTARY_EMAP, 1, [EMap support for Elementary])
437 have_elementary_emap="yes"
438 ELM_EMAP_DEF="#define"
439 requirement_elm="emap ${requirement_elm}"
440 ],
441 [have_elementary_emap="no"]
442 )
443else
444 have_elementary_emap="no"
445fi
446if test "x$want_elementary_emap" = "xyes" -a "x$have_elementary_emap" = "xno"; then
447 AC_MSG_ERROR([Emap support requested, but no emap found by pkg-config.])
448fi
449AC_SUBST(ELM_EMAP_DEF)
450
451
452
423ELM_ETHUMB_DEF="#undef" 453ELM_ETHUMB_DEF="#undef"
424have_elementary_ethumb="no" 454have_elementary_ethumb="no"
425want_elementary_ethumb="auto" 455want_elementary_ethumb="auto"
@@ -559,6 +589,7 @@ echo " Features:"
559echo " EDBus..................: ${have_elementary_edbus}" 589echo " EDBus..................: ${have_elementary_edbus}"
560echo " EFreet.................: ${have_elementary_efreet}" 590echo " EFreet.................: ${have_elementary_efreet}"
561echo " EWeather...............: ${have_elementary_eweather}" 591echo " EWeather...............: ${have_elementary_eweather}"
592echo " EMap...................: ${have_elementary_emap}"
562echo " Ethumb.................: ${have_elementary_ethumb}" 593echo " Ethumb.................: ${have_elementary_ethumb}"
563echo " Quick Launch...........: ${have_fork}" 594echo " Quick Launch...........: ${have_fork}"
564echo " eio....................: ${have_eio}" 595echo " eio....................: ${have_eio}"