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.ac33
1 files changed, 33 insertions, 0 deletions
diff --git a/legacy/elementary/configure.ac b/legacy/elementary/configure.ac
index c06bdf5e9c..7247235353 100644
--- a/legacy/elementary/configure.ac
+++ b/legacy/elementary/configure.ac
@@ -511,6 +511,38 @@ if test "x$want_elementary_ethumb" = "xyes" -a "x$have_elementary_ethumb" = "xno
511fi 511fi
512AC_SUBST(ELM_ETHUMB_DEF) 512AC_SUBST(ELM_ETHUMB_DEF)
513 513
514ELM_WEB_DEF="#undef"
515have_elementary_web="no"
516want_elementary_web="auto"
517AC_ARG_ENABLE([web],
518 [AC_HELP_STRING([--disable-web], [disable web (WebKit) support. @<:@default=detect@:>@])],
519 [want_elementary_web=$enableval], [])
520
521if test "x$want_elementary_web" != "xno"; then
522 PKG_CHECK_MODULES([ELEMENTARY_WEB],
523 [
524 ewebkit
525 ],
526 [
527 AC_DEFINE(HAVE_ELEMENTARY_WEB, 1, [Web support for Elementary])
528 webkit_datadir=$($PKG_CONFIG ewebkit --variable=datadir)
529 AC_DEFINE_UNQUOTED(WEBKIT_DATADIR,
530 "$webkit_datadir",
531 "WebKit's data dir")
532 have_elementary_web="yes"
533 ELM_WEB_DEF="#define"
534 requirement_elm="web_client ${requirement_elm}"
535 ],
536 [have_elementary_web="no"]
537 )
538else
539 have_elementary_web="no"
540fi
541if test "x$want_elementary_web" = "xyes" -a "x$have_elementary_web" = "xno"; then
542 AC_MSG_ERROR([Web support requested, but no ewebkit found by pkg-config.])
543fi
544AC_SUBST(ELM_WEB_DEF)
545
514ELM_DEBUG_DEF="#undef" 546ELM_DEBUG_DEF="#undef"
515want_elementary_debug="no" 547want_elementary_debug="no"
516AC_ARG_ENABLE([debug], 548AC_ARG_ENABLE([debug],
@@ -625,6 +657,7 @@ echo " EFreet.................: ${have_elementary_efreet}"
625echo " EWeather...............: ${have_elementary_eweather}" 657echo " EWeather...............: ${have_elementary_eweather}"
626echo " EMap...................: ${have_elementary_emap}" 658echo " EMap...................: ${have_elementary_emap}"
627echo " Ethumb.................: ${have_elementary_ethumb}" 659echo " Ethumb.................: ${have_elementary_ethumb}"
660echo " Web (WebKit)...........: ${have_elementary_web}"
628echo " Quick Launch...........: ${have_fork}" 661echo " Quick Launch...........: ${have_fork}"
629echo " EIO....................: ${have_eio}" 662echo " EIO....................: ${have_eio}"
630echo " Emotion................: ${have_emotion}" 663echo " Emotion................: ${have_emotion}"