summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorRyuan Choi <ryuan.choi@gmail.com>2013-12-13 22:26:02 +0900
committerRyuan Choi <ryuan.choi@gmail.com>2013-12-13 22:26:02 +0900
commit166ca9e86a7268855f5c991e379b2c124002ade2 (patch)
tree34e55449f816a3c83946bfb80736a04dc942eb5c /configure.ac
parent1932e6713104bfe752097dab8b6902ed86b58493 (diff)
web: Include webkit header in Elementary.h when built with ewebkit or ewebkit2
Like other options, Elementary.h will contain WebKit.h or WebKit2.h when elementary was built with ewebkit or ewebkit2.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 1ffacde3c..2d082e15b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -554,6 +554,7 @@ fi
554AC_SUBST(ELM_EMAP_DEF) 554AC_SUBST(ELM_EMAP_DEF)
555 555
556ELM_WEB_DEF="#undef" 556ELM_WEB_DEF="#undef"
557ELM_WEB2_DEF="#undef"
557 558
558elementary_web_backend="detect" 559elementary_web_backend="detect"
559elementary_web="no" 560elementary_web="no"
@@ -588,10 +589,12 @@ if test "x$want_elementary_web" != "xnone"; then
588 "WebKit's data dir") 589 "WebKit's data dir")
589 if test "x$elementary_web_backend" = "xewebkit2"; then 590 if test "x$elementary_web_backend" = "xewebkit2"; then
590 AC_DEFINE(USE_WEBKIT2, 1, [Use ewebkit2 as Elementary web backend]) 591 AC_DEFINE(USE_WEBKIT2, 1, [Use ewebkit2 as Elementary web backend])
592 ELM_WEB2_DEF="#define"
593 else
594 ELM_WEB_DEF="#define"
591 fi 595 fi
592 596
593 elementary_web=$want_elementary_web 597 elementary_web=$want_elementary_web
594 ELM_WEB_DEF="#define"
595 requirement_elm="${want_elementary_web} ${requirement_elm}" 598 requirement_elm="${want_elementary_web} ${requirement_elm}"
596 ], 599 ],
597 [elementary_web="no"] 600 [elementary_web="no"]
@@ -606,6 +609,7 @@ if test "x$elementary_web_backend" = "xewebkit" -o "x$elementary_web_backend" =
606 fi 609 fi
607fi 610fi
608AC_SUBST(ELM_WEB_DEF) 611AC_SUBST(ELM_WEB_DEF)
612AC_SUBST(ELM_WEB2_DEF)
609 613
610ELM_DEBUG_DEF="#undef" 614ELM_DEBUG_DEF="#undef"
611want_elementary_debug="no" 615want_elementary_debug="no"