3 m4_define([webkit_major_version], [1])
4 m4_define([webkit_minor_version], [3])
5 m4_define([webkit_micro_version], [11])
7 # This is the version we'll be using as part of our User-Agent string
8 # e.g., AppleWebKit/$(webkit_user_agent_version) ...
10 # Sourced from Source/WebCore/Configurations/Version.xcconfig
11 m4_define([webkit_user_agent_major_version], [534])
12 m4_define([webkit_user_agent_minor_version], [17])
14 AC_INIT([WebKit],[webkit_major_version.webkit_minor_version.webkit_micro_version],[http://bugs.webkit.org/])
16 AC_CONFIG_MACRO_DIR([Source/autotools])
17 AC_CONFIG_AUX_DIR([Source/autotools])
18 AC_SUBST(ACLOCAL_AMFLAGS, "-I Source/autotools")
20 AC_CONFIG_HEADERS([autotoolsconfig.h])
23 WEBKIT_MAJOR_VERSION=webkit_major_version
24 WEBKIT_MINOR_VERSION=webkit_minor_version
25 WEBKIT_MICRO_VERSION=webkit_micro_version
26 WEBKIT_USER_AGENT_MAJOR_VERSION=webkit_user_agent_major_version
27 WEBKIT_USER_AGENT_MINOR_VERSION=webkit_user_agent_minor_version
28 AC_SUBST(WEBKIT_MAJOR_VERSION)
29 AC_SUBST(WEBKIT_MINOR_VERSION)
30 AC_SUBST(WEBKIT_MICRO_VERSION)
31 AC_SUBST(WEBKIT_USER_AGENT_MAJOR_VERSION)
32 AC_SUBST(WEBKIT_USER_AGENT_MINOR_VERSION)
34 AC_CONFIG_SRCDIR([Source/WebCore/config.h])
36 dnl # Libtool library version, not to confuse with API version
37 dnl # see http://www.gnu.org/software/libtool/manual/html_node/Libtool-versioning.html
38 LIBWEBKITGTK_VERSION=5:3:5
39 AC_SUBST([LIBWEBKITGTK_VERSION])
41 AM_INIT_AUTOMAKE([foreign subdir-objects tar-ustar])
43 # Use AM_SILENT_RULES if present
44 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
46 # host checking - inspired by the GTK+ configure.in
47 # TODO: move these to webkit.m4?
48 AC_MSG_CHECKING([for native Win32])
57 AC_MSG_RESULT([$os_win32])
72 gnu* | linux* | k*bsd*-gnu)
80 # initialize webkit options
85 # use dolt to speedup the build
88 AC_PATH_PROG(FLEX, flex)
89 if test -z "$FLEX"; then
90 AC_MSG_ERROR([You need the 'flex' lexer generator to compile WebKit])
92 FLEX_VERSION=`$FLEX --version | sed 's,.*\ \([0-9]*\.[0-9]*\.[0-9]*\)$,\1,'`
93 AX_COMPARE_VERSION([2.5.33],[gt],[$FLEX_VERSION],
94 AC_MSG_WARN([You need at least version 2.5.33 of the 'flex' lexer generator to compile WebKit correctly]))
97 AC_PATH_PROG(GPERF, gperf)
98 if test -z "$GPERF"; then
99 AC_MSG_ERROR([You need the 'gperf' hash function generator to compile WebKit])
102 # pthread (not needed on Windows)
103 if test "$os_win32" = "no"; then
104 AC_CHECK_HEADERS([pthread.h],
105 AC_DEFINE([HAVE_PTHREAD_H],[1],[Define if pthread exists]),
106 AC_MSG_ERROR([pthread support is required to build WebKit]))
109 # check for libjpeg the way Gtk does it.
110 AC_CHECK_LIB(jpeg, jpeg_destroy_decompress,
111 jpeg_ok=yes, jpeg_ok=no
112 AC_MSG_ERROR([JPEG library (libjpeg) not found]))
113 if test "$jpeg_ok" = yes; then
114 AC_MSG_CHECKING([for jpeglib])
120 #include <jpeglib.h>],
123 AC_MSG_RESULT($jpeg_ok)
124 if test "$jpeg_ok" = yes; then
126 # should we check for progressive JPEG like GTK+ as well?
128 AC_MSG_ERROR([JPEG library (libjpeg) not found])
131 AC_SUBST([JPEG_LIBS])
133 # Check for libpng the way Gtk+ does it
134 for l in libpng libpng14 libpng12; do
135 AC_MSG_CHECKING(for $l)
136 if $PKG_CONFIG --exists $l ; then
138 PNG_LIBS=`$PKG_CONFIG --libs $l`
146 if test "$png_ok" != yes; then
147 AC_CHECK_LIB(png, png_read_info,
148 [AC_CHECK_HEADER(png.h,
151 AC_MSG_ERROR([PNG library (libpng) not found]), -lz -lm)
152 if test "$png_ok" = yes; then
153 AC_MSG_CHECKING([for png_structp in png.h])
154 AC_TRY_COMPILE([#include <png.h>],
155 [png_structp pp; png_infop info; png_colorp cmap; png_create_read_struct;],
158 AC_MSG_RESULT($png_ok)
159 if test "$png_ok" = yes; then
162 AC_MSG_ERROR([PNG library (libpng) not found])
165 AC_MSG_ERROR([PNG library (libpng) not found])
171 if test "$os_win32" = "yes"; then
173 SHLWAPI_LIBS=-lshlwapi
176 AC_SUBST([WINMM_LIBS])
177 AC_SUBST([SHLWAPI_LIBS])
178 AC_SUBST([OLE32_LIBS])
181 # determine the GTK+ version to use
182 AC_MSG_CHECKING([the GTK+ version to use])
184 [AS_HELP_STRING([--with-gtk=2.0|3.0], [the GTK+ version to use (default: 2.0)])],
187 *) AC_MSG_ERROR([invalid GTK+ version specified]) ;;
190 AC_MSG_RESULT([$with_gtk])
193 2.0) GTK_REQUIRED_VERSION=2.10
195 WEBKITGTK_API_MAJOR_VERSION=1
196 WEBKITGTK_API_MINOR_VERSION=0
197 WEBKITGTK_API_VERSION=1.0
198 WEBKITGTK_PC_NAME=webkit
200 GAIL_REQUIRED_VERSION=1.8
202 3.0) GTK_REQUIRED_VERSION=2.91.7
204 WEBKITGTK_API_MAJOR_VERSION=3
205 WEBKITGTK_API_MINOR_VERSION=0
206 WEBKITGTK_API_VERSION=3.0
207 WEBKITGTK_PC_NAME=webkitgtk
208 GAIL_PC_NAME=gail-3.0
209 GAIL_REQUIRED_VERSION=2.90.4
213 AC_SUBST([WEBKITGTK_API_MAJOR_VERSION])
214 AC_SUBST([WEBKITGTK_API_MINOR_VERSION])
215 AC_SUBST([WEBKITGTK_API_VERSION])
216 AC_SUBST([WEBKITGTK_PC_NAME])
217 AC_SUBST([GTK_API_VERSION])
218 AM_CONDITIONAL([GTK_API_VERSION_2],[test "$GTK_API_VERSION" = "2.0"])
220 # determine the GDK/GTK+ target
221 AC_MSG_CHECKING([the target windowing system])
223 AC_HELP_STRING([--with-target=@<:@x11/win32/quartz/directfb@:>@],
224 [Select webkit target [default=x11]]),
225 [],[with_target="x11"])
227 case "$with_target" in
228 x11|win32|quartz|directfb) ;;
229 *) AC_MSG_ERROR([Invalid target: must be x11, quartz, win32, or directfb.]) ;;
232 AC_MSG_RESULT([$with_target])
234 AC_MSG_CHECKING([for Hildon UI extensions])
236 AC_HELP_STRING([--with-hildon],
237 [Use Hildon UI extensions [default=no]]),
238 [],[with_hildon="no"])
239 AC_MSG_RESULT([$with_hildon])
241 if test "$with_hildon" = "yes"; then
242 HILDON_CPPFLAGS="-DMAEMO_CHANGES"
243 PKG_CHECK_MODULES([HILDON], [hildon-1])
244 AC_SUBST([HILDON_CPPFLAGS])
245 AC_SUBST([HILDON_CFLAGS])
246 AC_SUBST([HILDON_LIBS])
249 # minimum base dependencies
250 LIBSOUP_REQUIRED_VERSION=2.33.4
251 CAIRO_REQUIRED_VERSION=1.6
252 FONTCONFIG_REQUIRED_VERSION=2.4
253 FREETYPE2_REQUIRED_VERSION=9.0
254 LIBXML_REQUIRED_VERSION=2.6
256 # minimum GTK+ base dependencies
257 PANGO_REQUIRED_VERSION=1.12
260 LIBXSLT_REQUIRED_VERSION=1.1.7
261 SQLITE_REQUIRED_VERSION=3.0
262 GSTREAMER_REQUIRED_VERSION=0.10
263 GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION=0.10.25
264 ENCHANT_REQUIRED_VERSION=0.22
268 # glib - glib and includes gthread
269 # unicode - check and identify which unicode backend to use
272 WEBKIT_CHECK_DEPENDENCIES([glib unicode])
274 GETTEXT_PACKAGE=$PACKAGE-$GTK_API_VERSION
275 AC_SUBST(GETTEXT_PACKAGE)
276 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",
277 [The gettext catalog name])
279 PKG_CHECK_MODULES(LIBXML, libxml-2.0 >= $LIBXML_REQUIRED_VERSION)
280 AC_SUBST(LIBXML_CFLAGS)
281 AC_SUBST(LIBXML_LIBS)
283 PKG_CHECK_MODULES(PANGO,
284 [pango >= $PANGO_REQUIRED_VERSION
286 AC_SUBST(PANGO_CFLAGS)
289 PKG_CHECK_MODULES(ENCHANT, enchant >= $ENCHANT_REQUIRED_VERSION)
290 AC_SUBST(ENCHANT_CFLAGS)
291 AC_SUBST(ENCHANT_LIBS)
293 PKG_CHECK_MODULES(GAIL, $GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION)
294 AC_SUBST(GAIL_CFLAGS)
297 # check for target-specific dependencies
298 if test "$with_target" = "directfb"; then
299 PKG_CHECK_MODULES(CAIRO, cairo-directfb >= $CAIRO_REQUIRED_VERSION)
300 PKG_CHECK_MODULES(GTK, gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION)
301 AC_DEFINE([WTF_PLATFORM_DIRECTFB],[1],[Define if target is DirectFB])
303 PKG_CHECK_MODULES(CAIRO, cairo >= $CAIRO_REQUIRED_VERSION)
304 PKG_CHECK_MODULES(GTK, gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION)
306 if test "$with_target" = "x11" && test "$os_win32" = "no"; then
308 PKG_CHECK_MODULES([XT],
310 [xt_has_pkg_config=yes],
311 [xt_has_pkg_config=no])
312 # some old versions of Xt do not provide xt.pc, so try to link against Xt
313 # and if it's installed fall back to just adding -lXt
314 if test "$xt_has_pkg_config" = "no"; then
315 # using AC_CHECK_LIB instead of AC_SEARCH_LIB is fine in this case as
316 # we don't care about the XtOpenDisplay symbol but only about the
318 AC_CHECK_LIB([Xt], [XtOpenDisplay],
319 [XT_CFLAGS=""; XT_LIBS="-lXt"],
320 [AC_MSG_ERROR([X Toolkit Intrinsics library (libXt) not found])])
322 AC_SUBST([XT_CFLAGS])
324 AC_DEFINE([WTF_PLATFORM_X11],[1],[Define if target is X11])
329 AC_SUBST(CAIRO_CFLAGS)
332 # check whether to build with debugging enabled
333 AC_MSG_CHECKING([whether to do a debug build])
335 AC_HELP_STRING([--enable-debug],
336 [turn on debugging [default=no]]),
337 [],[enable_debug="no"])
338 AC_MSG_RESULT([$enable_debug])
340 # check whether to enable optimized builds
341 AC_MSG_CHECKING([whether to enable optimized builds])
342 AC_ARG_ENABLE(optimizations,
343 AC_HELP_STRING([--enable-optimizations],
344 [turn on optimize builds (GCC only)
346 [enable_optimizations=$enableval],
347 [if test "$enable_debug" = "yes"; then enable_optimizations="no"; else enable_optimizations="yes"; fi])
348 AC_MSG_RESULT([$enable_optimizations])
350 # check whether to enable 3D transforms support
351 AC_MSG_CHECKING([whether to enable support for 3D Transforms])
352 AC_ARG_ENABLE(3D_transforms,
353 AC_HELP_STRING([--enable-3D-transforms],
354 [enable support for 3D transforms [default=no]]),
355 [],[enable_3D_transforms="no"])
356 AC_MSG_RESULT([$enable_3D_transforms])
358 # check whether to enable WebGL support
359 AC_MSG_CHECKING([whether to enable WebGL support])
361 AC_HELP_STRING([--enable-webgl],
362 [enable support for (WebGL [default=yes]]),
363 [], [enable_webgl="no"])
364 AC_MSG_RESULT([$enable_webgl])
366 # check whether to enable channel messaging support
367 AC_MSG_CHECKING([whether to enable HTML5 Channel Messaging support])
368 AC_ARG_ENABLE(channel_messaging,
369 AC_HELP_STRING([--enable-channel-messaging],
370 [enable HTML5 channel messaging support [default=yes]]),
371 [],[enable_channel_messaging="yes"])
372 AC_MSG_RESULT([$enable_channel_messaging])
374 # check whether to enable JavaScript debugger/profiler support
375 AC_MSG_CHECKING([whether to enable JavaScript debugger/profiler support])
376 AC_ARG_ENABLE(javascript_debugger,
377 AC_HELP_STRING([--enable-javascript-debugger],
378 [enable JavaScript debugger/profiler support [default=yes]]),
379 [],[enable_javascript_debugger="yes"])
380 AC_MSG_RESULT([$enable_javascript_debugger])
382 # check whether to enable HTML5 Offline Web Applications support
383 AC_MSG_CHECKING([whether to enable HTML5 offline web applications support])
384 AC_ARG_ENABLE(offline_web_applications,
385 AC_HELP_STRING([--enable-offline-web-applications],
386 [enable HTML5 offline web applications support [default=yes]]),
387 [],[enable_offline_web_applications="yes"])
388 AC_MSG_RESULT([$enable_offline_web_applications])
390 # check whether to enable HTML5 client-side session and persitent storage support
391 AC_MSG_CHECKING([whether to enable HTML5 client-side session and persistent storage support])
392 AC_ARG_ENABLE(dom_storage,
393 AC_HELP_STRING([--enable-dom-storage],
394 [enable HTML5 client-side session and persistent storage support [default=yes]]),
395 [],[enable_dom_storage="yes"])
396 AC_MSG_RESULT([$enable_dom_storage])
398 # check whether to enable the indexed database API
399 AC_MSG_CHECKING([whether to enable the indexed database API])
400 AC_ARG_ENABLE(indexed_database,
401 AC_HELP_STRING([--enable-indexed-database],
402 [enable the indexed database API [default=no]]),
403 [],[enable_indexed_database="no"])
404 AC_MSG_RESULT([$enable_indexed_database])
406 # check whether to enable the speech input API
407 AC_MSG_CHECKING([whether to enable the speech input API])
408 AC_ARG_ENABLE(input_speech,
409 AC_HELP_STRING([--enable-input-speech],
410 [enable the speech input API [default=no]]),
411 [],[enable_input_speech="no"])
412 AC_MSG_RESULT([$enable_input_speech])
414 # check whether to build with database support
415 AC_MSG_CHECKING([whether to enable HTML5 client-side database storage support])
416 AC_ARG_ENABLE(database,
417 AC_HELP_STRING([--enable-database],
418 [enable HTML5 client-side database storage support [default=yes]]),
419 [],[enable_database="yes"])
420 AC_MSG_RESULT([$enable_database])
422 # check whether to build with server-sent events support
423 AC_MSG_CHECKING([whether to enable HTML5 server-sent events support])
424 AC_ARG_ENABLE(eventsource,
425 AC_HELP_STRING([--enable-eventsource],
426 [enable HTML5 server-sent events support [default=yes]]),
427 [],[enable_eventsource="yes"])
428 AC_MSG_RESULT([$enable_eventsource])
430 # check whether to build with icon database support
431 AC_MSG_CHECKING([whether to enable icon database support])
432 AC_ARG_ENABLE(icon_database,
433 AC_HELP_STRING([--enable-icon-database],
434 [enable icon database [default=yes]]),
435 [],[enable_icon_database="yes"])
436 AC_MSG_RESULT([$enable_icon_database])
438 # check whether to build with image resizer API support
439 AC_MSG_CHECKING([whether to enable image resizer API support])
440 AC_ARG_ENABLE(image_resizer,
441 AC_HELP_STRING([--enable-image-resizer],
442 [enable image resizer [default=no]]),
443 [],[enable_image_resizer="no"])
444 AC_MSG_RESULT([$enable_image_resizer])
446 # check whether to enable HTML5 datalist support
447 AC_MSG_CHECKING([whether to enable HTML5 datalist support])
448 AC_ARG_ENABLE(datalist,
449 AC_HELP_STRING([--enable-datalist],
450 [enable HTML5 datalist support [default=yes]]),
451 [],[enable_datalist="yes"])
452 AC_MSG_RESULT([$enable_datalist])
454 # check whether to enable HTML5 sandbox iframe support
455 AC_MSG_CHECKING([whether to enable HTML5 sandboxed iframe support])
456 AC_ARG_ENABLE(sandbox,
457 AC_HELP_STRING([--enable-sandbox],
458 [enable HTML5 sandboxed iframe support [default=yes]]),
459 [],[enable_sandbox="yes"])
460 AC_MSG_RESULT([$enable_sandbox])
462 # check whether to enable HTML5 audio/video support
463 AC_MSG_CHECKING([whether to enable HTML5 video support])
465 AC_HELP_STRING([--enable-video],
466 [enable HTML5 video support [default=yes]]),
467 [],[enable_video="yes"])
468 AC_MSG_RESULT([$enable_video])
470 # check whether to enable media statistics support
471 AC_MSG_CHECKING([whether to enable media statistics support])
472 AC_ARG_ENABLE(media_statistics,
473 AC_HELP_STRING([--enable-media-statistics],
474 [enable support for media statistics [default=no]]),
475 [], [enable_media_statistics="no"])
476 AC_MSG_RESULT([$enable_media_statistics])
478 # check whether to enable Javascript Fullscreen API support
479 AC_MSG_CHECKING([whether to enable Fullscreen API support])
480 AC_ARG_ENABLE(fullscreen_api,
481 AC_HELP_STRING([--enable-fullscreen-api],
482 [enable the Fullscreen API support [default=yes]]),
483 [],[enable_fullscreen_api="yes"])
484 AC_MSG_RESULT([$enable_fullscreen_api])
486 # check whether to enable XHTML-MP support
487 AC_MSG_CHECKING([whether to enable XHTML-MP support])
488 AC_ARG_ENABLE(xhtmlmp,
489 AC_HELP_STRING([--enable-xhtmlmp],
490 [enable support for XHTML-MP [default=no]]),
491 [],[enable_xhtmlmp="no"])
492 AC_MSG_RESULT([$enable_xhtmlmp])
494 # check whether to enable XPath support
495 AC_MSG_CHECKING([whether to enable XPath support])
497 AC_HELP_STRING([--enable-xpath],
498 [enable support for XPath [default=yes]]),
499 [],[enable_xpath="yes"])
500 AC_MSG_RESULT([$enable_xpath])
502 # check whether to enable XSLT support
503 AC_MSG_CHECKING([whether to enable XSLT support])
505 AC_HELP_STRING([--enable-xslt],
506 [enable support for XSLT [default=yes]]),
507 [],[enable_xslt="yes"])
508 AC_MSG_RESULT([$enable_xslt])
510 # check whether to enable geolocation support
511 AC_MSG_CHECKING([whether to enable geolocation support])
512 AC_ARG_ENABLE(geolocation,
513 AC_HELP_STRING([--enable-geolocation],
514 [enable support for geolocation [default=no]]),
515 [],[enable_geolocation="no"])
516 AC_MSG_RESULT([$enable_geolocation])
518 # check whether to enable MathML support
519 AC_MSG_CHECKING([whether to enable MathML support])
520 AC_ARG_ENABLE(mathml,
521 AC_HELP_STRING([--enable-mathml],
522 [enable support for MathML [default=no]]),
523 [],[enable_mathml="no"])
524 AC_MSG_RESULT([$enable_mathml])
526 # check whether to enable SVG support
527 AC_MSG_CHECKING([whether to enable SVG support])
529 AC_HELP_STRING([--enable-svg],
530 [enable support for SVG [default=yes]]),
531 [],[enable_svg="yes"])
532 AC_MSG_RESULT([$enable_svg])
534 # check whether to enable WML support
535 AC_MSG_CHECKING([whether to enable WML support])
537 AC_HELP_STRING([--enable-wml],
538 [enable support for WML [default=no]]),
539 [],[enable_wml="no"])
540 AC_MSG_RESULT([$enable_wml])
542 # check whether to enable SharedWorkers support
543 AC_MSG_CHECKING([whether to enable SharedWorkers support])
544 AC_ARG_ENABLE(shared_workers,
545 AC_HELP_STRING([--enable-shared-workers],
546 [enable support for SharedWorkers [default=yes]]),
547 [],[enable_shared_workers="yes"])
548 AC_MSG_RESULT([$enable_shared_workers])
550 # check whether to enable Web Workers support
551 AC_MSG_CHECKING([whether to enable Web Workers support])
552 AC_ARG_ENABLE(workers,
553 AC_HELP_STRING([--enable-workers],
554 [enable support for Web Workers [default=yes]]),
555 [],[enable_workers="yes"])
556 AC_MSG_RESULT([$enable_workers])
558 # check whether to enable directory upload support
559 AC_MSG_CHECKING([whether to enable directory upload support])
560 AC_ARG_ENABLE(directory_upload,
561 AC_HELP_STRING([--enable-directory-upload],
562 [enable support for directory upload [default=no]]),
563 [], [enable_directory_upload="no"])
564 AC_MSG_RESULT([$enable_directory_upload])
566 # check whether to enable HTML5 FileSystem API support
567 AC_MSG_CHECKING([whether to enable HTML5 FileSystem API support])
568 AC_ARG_ENABLE(file_system,
569 AC_HELP_STRING([--enable-file-system],
570 [enable support for HTML5 FileSystem API [default=no]]),
571 [], [enable_file_system="no"])
572 AC_MSG_RESULT([$enable_file_system])
574 # turn off svg features if --disable-svg is requested
575 if test "$enable_svg" = "no"; then
576 enable_svg_animation=no
578 enable_svg_foreign_object=no
579 enable_svg_as_image=no
583 # check whether to enable support for SVG animation
584 AC_MSG_CHECKING([whether to enable support for SVG animation])
585 AC_ARG_ENABLE(svg_animation,
586 AC_HELP_STRING([--enable-svg-animation],
587 [enable support for SVG animation (experimental) [default=yes]]),
588 [],[enable_svg_animation="yes"])
589 AC_MSG_RESULT([$enable_svg_animation])
591 # check whether to enable support for filters
592 AC_MSG_CHECKING([whether to enable support for filters])
593 AC_ARG_ENABLE(filters,
594 AC_HELP_STRING([--enable-filters],
595 [enable support for filters (experimental) [default=yes]]),
596 [],[enable_filters="yes"])
597 AC_MSG_RESULT([$enable_filters])
599 # check whether to enable support for SVG fonts
600 AC_MSG_CHECKING([whether to enable support for SVG fonts])
601 AC_ARG_ENABLE(svg_fonts,
602 AC_HELP_STRING([--enable-svg-fonts],
603 [enable support for SVG fonts (experimental) [default=yes]]),
604 [],[enable_svg_fonts="yes"])
605 AC_MSG_RESULT([$enable_svg_fonts])
607 # check whether to enable foreign objects support for SVG
608 AC_MSG_CHECKING([whether to enable support for SVG foreign objects])
609 AC_ARG_ENABLE(svg_foreign_object,
610 AC_HELP_STRING([--enable-svg-foreign-object],
611 [enable support for SVG foreign objects (experimental) [default=yes]]),
612 [],[enable_svg_foreign_object="yes"])
613 AC_MSG_RESULT([$enable_svg_foreign_object])
615 # check whether to enable SVG As Image support
616 AC_MSG_CHECKING([whether to enable SVG as Image support])
617 AC_ARG_ENABLE(svg_as_image,
618 AC_HELP_STRING([--enable-svg-as-image],
619 [enable SVG as Image support (experimental) [default=yes]]),
620 [],[enable_svg_as_image="yes"])
621 AC_MSG_RESULT([$enable_svg_as_image])
623 # check whether to enable SVG USE element support
624 AC_MSG_CHECKING([whether to enable support for SVG use element])
625 AC_ARG_ENABLE(svg_use,
626 AC_HELP_STRING([--enable-svg-use],
627 [enable SVG use element support (experimental) [default=yes]]),
628 [],[enable_svg_use="yes"])
629 AC_MSG_RESULT([$enable_svg_use])
631 # check for SVG features, enabling SVG if necessary
632 if test "$enable_svg_animation" = "yes" || \
633 test "$enable_svg_fonts" = "yes" || \
634 test "$enable_svg_foreign_object" = "yes" || \
635 test "$enable_svg_as_image" = "yes" || \
636 test "$enable_svg_use" = "yes"; then
638 if test "$enable_svg" = "no"; then
639 AC_MSG_WARN([SVG feature(s) requested but SVG is disabled.. Enabling SVG support])
644 # check whether to enable Web Socket support
645 AC_MSG_CHECKING([whether to enable Web Sockets support])
646 AC_ARG_ENABLE(web_sockets,
647 AC_HELP_STRING([--enable-web-sockets],
648 [enable support for Web Sockets [default=yes]]),
649 [],[enable_web_sockets="yes"])
650 AC_MSG_RESULT([$enable_web_sockets])
652 # check whether to enable Web Audio support
653 AC_MSG_CHECKING([whether to enable Web Audio support])
654 AC_ARG_ENABLE(web_audio,
655 AC_HELP_STRING([--enable-web-audio],
656 [enable support for Web Audio [default=no]]),
657 [],[enable_web_audio="no"])
658 AC_MSG_RESULT([$enable_web_audio])
660 # check whether to enable Web Timing support
661 AC_MSG_CHECKING([whether to enable Web Timing support])
662 AC_ARG_ENABLE(web_timing,
663 AC_HELP_STRING([--enable-web-timing],
664 [enable support for Web Timing [default=no]]),
665 [],[enable_web_timing="no"])
666 AC_MSG_RESULT([$enable_web_timing])
668 # check whether to enable Blob support
669 AC_MSG_CHECKING([whether to enable Blob support])
671 AC_HELP_STRING([--enable-blob],
672 [enable support for Blob [default=yes]]),
673 [],[enable_blob="yes"])
674 AC_MSG_RESULT([$enable_blob])
676 # check whether to enable Fast Mobile Scrolling support
677 AC_MSG_CHECKING([whether to enable Fast Mobile Scrolling])
678 AC_ARG_ENABLE(fast_mobile_scrolling,
679 AC_HELP_STRING([--enable-fast-mobile-scrolling],
680 [enable support for Fast Mobile Scrolling [default=no]]),
681 [],[enable_fast_mobile_scrolling="no"])
682 AC_MSG_RESULT([$enable_fast_mobile_scrolling])
684 # check whether to enable code coverage
685 AC_MSG_CHECKING([whether to enable code coverage support])
686 AC_ARG_ENABLE(coverage,
687 AC_HELP_STRING([--enable-coverage],
688 [enable code coverage support [default=no]]),
689 [],[enable_coverage="no"])
690 AC_MSG_RESULT([$enable_coverage])
692 # check whether to enable FastMalloc
693 AC_MSG_CHECKING([whether to enable optimized memory allocator])
694 AC_ARG_ENABLE(fast_malloc,
695 AC_HELP_STRING([--enable-fast-malloc],
696 [enable optimized memory allocator default=yes, default=no for debug builds]),
697 [],[if test "$enable_debug" = "yes"; then enable_fast_malloc="no"; else enable_fast_malloc="yes"; fi])
698 AC_MSG_RESULT([$enable_fast_malloc])
700 AC_MSG_CHECKING([whether to enable JIT compilation])
702 AC_HELP_STRING([--enable-jit],
703 [Enable JIT compilation default=yes]),
704 [],[enable_jit="yes"])
705 if test "$enable_jit" = "yes"; then
708 AC_DEFINE([ENABLE_JIT], [1], [Define to enable JIT])
709 AC_DEFINE([ENABLE_YARR], [1], [Define to enable YARR])
710 AC_DEFINE([ENABLE_YARR_JIT], [1], [Define to enable YARR JIT])
713 AC_DEFINE([ENABLE_JIT], [1], [Define to enable JIT])
714 AC_DEFINE([ENABLE_YARR], [1], [Define to enable YARR])
715 AC_DEFINE([ENABLE_YARR_JIT], [1], [Define to enable YARR JIT])
716 AC_DEFINE([ENABLE_JIT_OPTIMIZE_CALL], [1], [Define to enable optimizing calls])
717 AC_DEFINE([ENABLE_JIT_OPTIMIZE_PROPERTY_ACCESS], [1], [Define to enable optimized property access])
718 AC_DEFINE([ENABLE_JIT_OPTIMIZE_ARITHMETIC], [1], [Define to enable optimized arithmetic])
721 AC_DEFINE([WTF_USE_JIT_STUB_ARGUMENT_VA_LIST], [1], [Use stub va_list])
724 AC_DEFINE([WTF_USE_JIT_STUB_ARGUMENT_REGISTER], [1], [Use stub register])
725 AC_DEFINE([WTF_USE_ALTERNATE_JSIMMEDIATE], [1], [Use alternate JSImmediate])
730 enable_jit="no (CPU '$host_cpu' not supported)"
734 AC_DEFINE([ENABLE_JIT], [0], [Define to enable JIT])
736 AC_MSG_RESULT([$enable_jit])
739 AC_MSG_CHECKING([whether to enable opcode stats])
740 AC_ARG_ENABLE([opcode-stats],
741 [AS_HELP_STRING([--enable-opcode-stats], [Enable Opcode statistics (default: disabled)])],
742 [], [enable_opcode_stats=no])
743 AC_MSG_RESULT([$enable_opcode_stats])
745 if test "$enable_opcode_stats" = "yes"; then
746 if test "$enable_jit" = "yes"; then
747 AC_MSG_ERROR([JIT must be disabled for Opcode stats to work.])
749 AC_DEFINE([ENABLE_OPCODE_STATS], [1], [Define to enable Opcode statistics])
753 AC_MSG_CHECKING([whether to enable link prefetch support])
754 AC_ARG_ENABLE([link-prefetch],
755 [AS_HELP_STRING([--enable-link-prefetch], [Enable Link prefetch support (default: disabled)])],
756 [],[enable_link_prefetch=no])
757 AC_MSG_RESULT([$enable_link_prefetch])
759 if test "$enable_link_prefetch" = "yes"; then
760 AC_DEFINE([ENABLE_LINK_PREFETCH], [1], [Define to enable link prefetch support])
763 # GObject Introspection
764 AC_MSG_CHECKING([whether to enable GObject introspection support])
765 AC_ARG_ENABLE([introspection],
766 [AS_HELP_STRING([--enable-introspection],[Enable GObject introspection (default: disabled)])],
767 [],[enable_introspection=no])
768 AC_MSG_RESULT([$enable_introspection])
776 if test "$enable_introspection" = "yes"; then
777 GOBJECT_INTROSPECTION_REQUIRED=0.9.5
778 PKG_CHECK_MODULES([INTROSPECTION],[gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED])
780 G_IR_SCANNER="$($PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0)"
781 G_IR_COMPILER="$($PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0)"
782 G_IR_GENERATE="$($PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0)"
783 AC_DEFINE([ENABLE_INTROSPECTION],[1],[Define to enable GObject introspection support])
786 AC_SUBST([G_IR_SCANNER])
787 AC_SUBST([G_IR_COMPILER])
788 AC_SUBST([G_IR_GENERATE])
790 # determine the font backend
791 AC_MSG_CHECKING([the font backend to use])
792 AC_ARG_WITH(font_backend,
793 AC_HELP_STRING([--with-font-backend=@<:@freetype/pango@:>@],
794 [Select font backend [default=freetype]]),
795 [],[with_font_backend="freetype"])
797 case "$with_font_backend" in
799 *) AC_MSG_ERROR([Invalid font backend: must be freetype or pango.]) ;;
801 AC_MSG_RESULT([$with_font_backend])
803 # Add '-g' flag to gcc if it's debug build
804 if test "$enable_debug" = "yes"; then
805 CXXFLAGS="$CXXFLAGS -g"
808 AC_DEFINE([NDEBUG], [1], [Define to disable debugging features])
811 # Add the appropriate 'O' level for optimized builds
812 if test "$enable_optimizations" = "yes"; then
813 CXXFLAGS="$CXXFLAGS -O2"
816 CXXFLAGS="$CXXFLAGS -O0"
820 PKG_CHECK_MODULES([LIBSOUP],
821 [libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION])
822 AC_SUBST([LIBSOUP_CFLAGS])
823 AC_SUBST([LIBSOUP_LIBS])
825 # check if FreeType/FontConfig are available
826 if test "$with_font_backend" = "freetype"; then
827 if test "$with_target" = "directfb"; then
828 PKG_CHECK_MODULES([FREETYPE],
829 [fontconfig >= $FONTCONFIG_REQUIRED_VERSION
830 freetype2 >= $FREETYPE2_REQUIRED_VERSION])
832 PKG_CHECK_MODULES([FREETYPE],
834 fontconfig >= $FONTCONFIG_REQUIRED_VERSION
835 freetype2 >= $FREETYPE2_REQUIRED_VERSION])
837 AC_SUBST([FREETYPE_CFLAGS])
838 AC_SUBST([FREETYPE_LIBS])
841 # check if SQLite3 is available. Error out only if one of the
842 # features hard-depending on it is enabled while SQLite3 is
844 PKG_CHECK_MODULES([SQLITE3],
845 [sqlite3 >= $SQLITE_REQUIRED_VERSION],
846 [sqlite3_has_pkg_config=yes],
847 [sqlite3_has_pkg_config=no])
848 if test "$sqlite3_has_pkg_config" = "no"; then
849 AC_SEARCH_LIBS([sqlite3_open16], [sqlite3],
850 [sqlite3_found=yes;SQLITE3_LIBS="$LIBS";SQLITE3_CFLAGS="-I $srcdir/WebKitLibraries/WebCoreSQLite3"],
853 AC_SUBST([SQLITE3_CFLAGS])
854 AC_SUBST([SQLITE3_LIBS])
856 if (test "$sqlite3_found" = "no") && (test "$enable_icon_database" = "yes" || \
857 test "$enable_database" = "yes" || \
858 test "$enable_offline_web_applications" = "yes" || \
859 test "$enable_dom_storage" = "yes"); then
860 AC_MSG_ERROR([SQLite3 is required for the Database related features])
863 # check if libxslt is available
864 if test "$enable_xslt" = "yes"; then
865 PKG_CHECK_MODULES([LIBXSLT],[libxslt >= $LIBXSLT_REQUIRED_VERSION])
866 AC_SUBST([LIBXSLT_CFLAGS])
867 AC_SUBST([LIBXSLT_LIBS])
870 # check if geoclue is available
871 if test "$enable_geolocation" = "yes"; then
872 PKG_CHECK_MODULES([GEOCLUE], [geoclue])
873 AC_SUBST([GEOCLUE_CFLAGS])
874 AC_SUBST([GEOCLUE_LIBS])
877 # check if gstreamer is available
878 if test "$enable_video" = "yes"; then
879 PKG_CHECK_MODULES([GSTREAMER],
880 [gstreamer-0.10 >= $GSTREAMER_REQUIRED_VERSION
883 gstreamer-interfaces-0.10
884 gstreamer-pbutils-0.10
885 gstreamer-plugins-base-0.10 >= $GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION
886 gstreamer-video-0.10],
887 [have_gstreamer=yes])
889 AC_SUBST([GSTREAMER_CFLAGS])
890 AC_SUBST([GSTREAMER_LIBS])
893 # check for code coverage support
894 if test "$enable_coverage" = "yes"; then
895 COVERAGE_CFLAGS="-MD"
896 COVERAGE_LDFLAGS="-ftest-coverage -fprofile-arcs"
897 AC_SUBST([COVERAGE_CFLAGS])
898 AC_SUBST([COVERAGE_LDFLAGS])
901 # check for HTML features
902 if test "$enable_video" = "yes"; then
907 AC_MSG_CHECKING([whether to build Webkit2])
908 AC_ARG_ENABLE(webkit2,
909 AC_HELP_STRING([--enable-webkit2],
910 [build webkit2 [default=no]]),
911 [], [enable_webkit2="no"])
912 AC_MSG_RESULT([$enable_webkit2])
913 if test "$enable_webkit2" = "yes"; then
914 # Turn on this macro by default. It is used in inttypes.h for defining macros used by webkit.
915 # In WebKit, this define is ensured by doing it before including config.h in any source file.
916 # In WebKit2, WebKit2Prefix.h is included as first header file, so we need to define this
917 # macro before actually WebKit2Prefix.h is included in any file.
918 AC_DEFINE([__STDC_FORMAT_MACROS],[1],[Turn on the __STDC_FORMAT_MACROS used in inttypes.h])
919 WEBKITGTK_PC_NAME=${WEBKITGTK_PC_NAME}2
920 AC_SUBST([WEBKITGTK_PC_NAME])
923 GTK_DOC_CHECK([1.10])
926 AM_CONDITIONAL([OS_WIN32],[test "$os_win32" = "yes"])
927 AM_CONDITIONAL([OS_UNIX],[test "$os_win32" = "no"])
928 AM_CONDITIONAL([OS_LINUX],[test "$os_linux" = "yes"])
929 AM_CONDITIONAL([OS_GNU],[test "$os_gnu" = "yes"])
930 AM_CONDITIONAL([OS_FREEBSD],[test "$os_freebsd" = "yes"])
932 # target conditionals
933 AM_CONDITIONAL([TARGET_X11], [test "$with_target" = "x11"])
934 AM_CONDITIONAL([TARGET_WIN32], [test "$with_target" = "win32"])
935 AM_CONDITIONAL([TARGET_QUARTZ], [test "$with_target" = "quartz"])
936 AM_CONDITIONAL([TARGET_DIRECTFB], [test "$with_target" = "directfb"])
938 # Unicode backend conditionals
939 AM_CONDITIONAL([USE_ICU_UNICODE], [test "$with_unicode_backend" = "icu"])
940 AM_CONDITIONAL([USE_GLIB_UNICODE], [test "$with_unicode_backend" = "glib"])
942 # Font backend conditionals
943 AM_CONDITIONAL([USE_FREETYPE], [test "$with_font_backend" = "freetype"])
944 AM_CONDITIONAL([USE_PANGO], [test "$with_font_backend" = "pango"])
946 # GStreamer feature conditional
947 AM_CONDITIONAL([USE_GSTREAMER], [test "$have_gstreamer" = "yes"])
949 # WebKit feature conditionals
950 AM_CONDITIONAL([ENABLE_DEBUG],[test "$enable_debug" = "yes"])
951 AM_CONDITIONAL([ENABLE_3D_TRANSFORMS],[test "$enable_3D_transforms" = "yes"])
952 AM_CONDITIONAL([ENABLE_WEBGL],[test "$enable_webgl" = "yes"])
953 AM_CONDITIONAL([ENABLE_BLOB],[test "$enable_blob" = "yes"])
954 AM_CONDITIONAL([ENABLE_CHANNEL_MESSAGING],[test "$enable_channel_messaging" = "yes"])
955 AM_CONDITIONAL([ENABLE_JAVASCRIPT_DEBUGGER],[test "$enable_javascript_debugger" = "yes"])
956 AM_CONDITIONAL([ENABLE_OFFLINE_WEB_APPLICATIONS],[test "$enable_offline_web_applications" = "yes"])
957 AM_CONDITIONAL([ENABLE_DIRECTORY_UPLOAD],[test "$enable_directory_upload" = "yes"])
958 AM_CONDITIONAL([ENABLE_DOM_STORAGE],[test "$enable_dom_storage" = "yes"])
959 AM_CONDITIONAL([ENABLE_DATABASE],[test "$enable_database" = "yes"])
960 AM_CONDITIONAL([ENABLE_DATALIST],[test "$enable_datalist" = "yes"])
961 AM_CONDITIONAL([ENABLE_EVENTSOURCE],[test "$enable_eventsource" = "yes"])
962 AM_CONDITIONAL([ENABLE_FAST_MOBILE_SCROLLING],[test "$enable_fast_mobile_scrolling" = "yes"])
963 AM_CONDITIONAL([ENABLE_FILE_SYSTEM],[test "$enable_file_system" = "yes"])
964 AM_CONDITIONAL([ENABLE_ICONDATABASE],[test "$enable_icon_database" = "yes"])
965 AM_CONDITIONAL([ENABLE_IMAGE_RESIZER],[test "$enable_image_resizer" = "yes"])
966 AM_CONDITIONAL([ENABLE_INDEXED_DATABASE],[test "$enable_indexed_database" = "yes"])
967 AM_CONDITIONAL([ENABLE_INPUT_SPEECH],[test "$enable_input_speech" = "yes"])
968 AM_CONDITIONAL([ENABLE_XHTMLMP],[test "$enable_xhtmlmp" = "yes"])
969 AM_CONDITIONAL([ENABLE_XPATH],[test "$enable_xpath" = "yes"])
970 AM_CONDITIONAL([ENABLE_XSLT],[test "$enable_xslt" = "yes"])
971 AM_CONDITIONAL([ENABLE_FILTERS],[test "$enable_filters" = "yes"])
972 AM_CONDITIONAL([ENABLE_GEOLOCATION], [test "$enable_geolocation" = "yes"])
973 AM_CONDITIONAL([ENABLE_MATHML], [test "$enable_mathml" = "yes"])
974 AM_CONDITIONAL([ENABLE_VIDEO],[test "$enable_video" = "yes"])
975 AM_CONDITIONAL([ENABLE_MEDIA_STATISTICS],[test "$enable_media_statistics" = "yes"])
976 AM_CONDITIONAL([ENABLE_FULLSCREEN_API],[test "$enable_fullscreen_api" = "yes"])
977 AM_CONDITIONAL([ENABLE_NOTIFICATIONS],[test "$enable_notifications" = "yes"])
978 AM_CONDITIONAL([ENABLE_ORIENTATION_EVENTS],[test "$enable_orientation_events" = "yes"])
979 AM_CONDITIONAL([ENABLE_SVG],[test "$enable_svg" = "yes"])
980 AM_CONDITIONAL([ENABLE_SVG_ANIMATION],[test "$enable_svg_animation" = "yes"])
981 AM_CONDITIONAL([ENABLE_SVG_FONTS],[test "$enable_svg_fonts" = "yes"])
982 AM_CONDITIONAL([ENABLE_SVG_FOREIGN_OBJECT],[test "$enable_svg_foreign_object" = "yes"])
983 AM_CONDITIONAL([ENABLE_SVG_AS_IMAGE],[test "$enable_svg_as_image" = "yes"])
984 AM_CONDITIONAL([ENABLE_SVG_USE],[test "$enable_svg_use" = "yes"])
985 AM_CONDITIONAL([ENABLE_COVERAGE],[test "$enable_coverage" = "yes"])
986 AM_CONDITIONAL([ENABLE_FAST_MALLOC],[test "$enable_fast_malloc" = "yes"])
987 AM_CONDITIONAL([ENABLE_WML],[test "$enable_wml" = "yes"])
988 AM_CONDITIONAL([ENABLE_WORKERS],[test "$enable_workers" = "yes"])
989 AM_CONDITIONAL([ENABLE_SHARED_WORKERS],[test "$enable_shared_workers" = "yes"])
990 AM_CONDITIONAL([SVG_FLAGS],[test "$svg_flags" = "yes"])
991 AM_CONDITIONAL([HTML_FLAGS],[test "$html_flags" = "yes"])
992 AM_CONDITIONAL([ENABLE_WEB_SOCKETS],[test "$enable_web_sockets" = "yes"])
993 AM_CONDITIONAL([ENABLE_WEB_AUDIO],[test "$enable_web_audio" = "yes"])
994 AM_CONDITIONAL([ENABLE_WEB_TIMING],[test "$enable_web_timing" = "yes"])
995 AM_CONDITIONAL([ENABLE_OPCODE_STATS],[test "$enable_opcode_stats" = "yes"])
996 AM_CONDITIONAL([ENABLE_WEBKIT2],[test "$enable_webkit2" = "yes"])
999 AM_CONDITIONAL([ENABLE_INTROSPECTION],[test "$enable_introspection" = "yes"])
1005 if test "$enable_webkit2" = "no"; then
1007 Source/WebKit/gtk/webkit/webkitversion.h
1008 Source/WebKit/gtk/docs/GNUmakefile
1009 Source/WebKit/gtk/docs/version.xml
1014 Source/WebKit/gtk/${WEBKITGTK_PC_NAME}-${WEBKITGTK_API_VERSION}.pc:Source/WebKit/gtk/webkit.pc.in
1015 Source/WebKit/gtk/JSCore-${WEBKITGTK_API_VERSION}.gir:Source/WebKit/gtk/JSCore.gir.in
1016 Source/WebKit/gtk/org.webkitgtk-${WEBKITGTK_API_VERSION}.gschema.xml:Source/WebKit/gtk/org.webkitgtk.gschema.xml.in
1018 ,[WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME]
1022 Source/WebKit2/gtk/${WEBKITGTK_PC_NAME}-${WEBKITGTK_API_VERSION}.pc:Source/WebKit2/gtk/webkit2.pc.in
1024 ,[WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME]
1031 WebKit was configured with the following options:
1033 Build configuration:
1034 Enable debugging (slow) : $enable_debug
1035 Enable GCC build optimization : $enable_optimizations
1036 Code coverage support : $enable_coverage
1037 Unicode backend : $with_unicode_backend
1038 Font backend : $with_font_backend
1039 Optimized memory allocator : $enable_fast_malloc
1041 3D Transforms : $enable_3D_transforms
1042 WebGL : $enable_webgl
1043 Blob support : $enable_blob
1044 Directory upload : $enable_directory_upload
1045 Fast Mobile Scrolling : $enable_fast_mobile_scrolling
1046 JIT compilation : $enable_jit
1047 Filters support : $enable_filters
1048 Geolocation support : $enable_geolocation
1049 JavaScript debugger/profiler support : $enable_javascript_debugger
1050 MathML support : $enable_mathml
1051 Media statistics : $enable_media_statistics
1052 HTML5 offline web applications support : $enable_offline_web_applications
1053 HTML5 channel messaging support : $enable_channel_messaging
1054 HTML5 client-side session and persistent storage support : $enable_dom_storage
1055 HTML5 client-side database storage support : $enable_database
1056 HTML5 FileSystem API support : $enable_file_system
1057 HTML5 sandboxed iframe support : $enable_sandbox
1058 HTML5 server-sent events support : $enable_eventsource
1059 HTML5 video element support : $enable_video
1060 Fullscreen API support : $enable_fullscreen_api
1061 Icon database support : $enable_icon_database
1062 Image resizer support : $enable_image_resizer
1063 Link prefetch support : $enable_link_prefetch
1064 Opcode stats : $enable_opcode_stats
1065 SharedWorkers support : $enable_shared_workers
1066 Speech input support : $enable_input_speech
1067 SVG support : $enable_svg
1068 SVG animation support : $enable_svg_animation
1069 SVG fonts support : $enable_svg_fonts
1070 SVG foreign object support : $enable_svg_foreign_object
1071 SVG as image support : $enable_svg_as_image
1072 SVG use element support : $enable_svg_use
1073 WML support : $enable_wml
1074 Web Audio support : $enable_web_audio
1075 Web Sockets support : $enable_web_sockets
1076 Web Timing support : $enable_web_timing
1077 Web Workers support : $enable_workers
1078 XHTML-MP support : $enable_xhtmlmp
1079 XPATH support : $enable_xpath
1080 XSLT support : $enable_xslt
1083 GTK+ version : $with_gtk
1084 GDK target : $with_target
1085 Hildon UI extensions : $with_hildon
1086 Introspection support : $enable_introspection
1087 WebKit2 support : $enable_webkit2
1089 if test "$with_unicode_backend" = "glib"; then
1090 echo " >> WARNING: the glib-based unicode backend is slow and incomplete <<"