summaryrefslogtreecommitdiff
path: root/legacy/elementary/configure.ac
diff options
context:
space:
mode:
authorIván Briano <sachieru@gmail.com>2011-09-29 20:58:22 +0000
committerIván Briano <sachieru@gmail.com>2011-09-29 20:58:22 +0000
commit1107e0e543a3c1f51a10ab201d2075bf29022bc7 (patch)
tree78b1c98be8fb7a8b7be35b655bb84b4c08e17062 /legacy/elementary/configure.ac
parent99c09ca252ffacfd2781a3fbfc3214dd27ee8694 (diff)
People from Earth: Welcome Elm_Web
Started by glima as a thin wrapper around ewk_view to make webkit work better integrated with Elementary, then grew up as a more complete widget thanks to k-s' magic fingers, and now I screwed it up but it looks like it works, so there.. Build WebKit-EFL, rebuild Elementary and enjoy elm_web. SVN revision: 63676
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 c06bdf5..7247235 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}"