summaryrefslogtreecommitdiff
path: root/legacy/elementary/configure.ac
diff options
context:
space:
mode:
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 e4e4b0dbdc..39f107872f 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}"