3 m4_define([webkit_major_version], [1])
4 m4_define([webkit_minor_version], [3])
5 m4_define([webkit_micro_version], [13])
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], [26])
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=6:0:6
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=3.0
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=3.0
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.6
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 AC_MSG_CHECKING([whether to enable spellcheck support])
290 AC_ARG_ENABLE([spellcheck],
291 [AS_HELP_STRING([--enable-spellcheck],[enable support for spellcheck])],
292 [],[enable_spellcheck="yes"])
293 AC_MSG_RESULT([$enable_spellcheck])
295 if test "$enable_spellcheck" = "yes"; then
296 PKG_CHECK_MODULES(ENCHANT, enchant >= $ENCHANT_REQUIRED_VERSION, [], [enable_spellcheck="no"])
297 AC_SUBST(ENCHANT_CFLAGS)
298 AC_SUBST(ENCHANT_LIBS)
301 PKG_CHECK_MODULES(GAIL, $GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION)
302 AC_SUBST(GAIL_CFLAGS)
305 # check for target-specific dependencies
306 if test "$with_target" = "directfb"; then
307 PKG_CHECK_MODULES(CAIRO, cairo-directfb >= $CAIRO_REQUIRED_VERSION)
308 PKG_CHECK_MODULES(GTK, gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION)
309 AC_DEFINE([WTF_PLATFORM_DIRECTFB],[1],[Define if target is DirectFB])
311 PKG_CHECK_MODULES(CAIRO, cairo >= $CAIRO_REQUIRED_VERSION)
312 PKG_CHECK_MODULES(GTK, gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION)
314 if test "$with_target" = "x11" && test "$os_win32" = "no"; then
316 PKG_CHECK_MODULES([XT],
318 [xt_has_pkg_config=yes],
319 [xt_has_pkg_config=no])
320 # some old versions of Xt do not provide xt.pc, so try to link against Xt
321 # and if it's installed fall back to just adding -lXt
322 if test "$xt_has_pkg_config" = "no"; then
323 # using AC_CHECK_LIB instead of AC_SEARCH_LIB is fine in this case as
324 # we don't care about the XtOpenDisplay symbol but only about the
326 AC_CHECK_LIB([Xt], [XtOpenDisplay],
327 [XT_CFLAGS=""; XT_LIBS="-lXt"],
328 [AC_MSG_ERROR([X Toolkit Intrinsics library (libXt) not found])])
330 AC_SUBST([XT_CFLAGS])
332 AC_DEFINE([WTF_PLATFORM_X11],[1],[Define if target is X11])
337 AC_SUBST(CAIRO_CFLAGS)
340 # check whether to build with debugging enabled
341 AC_MSG_CHECKING([whether to do a debug build])
343 AC_HELP_STRING([--enable-debug],
344 [turn on debugging [default=no]]),
345 [],[enable_debug="no"])
346 AC_MSG_RESULT([$enable_debug])
348 # check whether to enable optimized builds
349 AC_MSG_CHECKING([whether to enable optimized builds])
350 AC_ARG_ENABLE(optimizations,
351 AC_HELP_STRING([--enable-optimizations],
352 [turn on optimize builds (GCC only)
354 [enable_optimizations=$enableval],
355 [if test "$enable_debug" = "yes"; then enable_optimizations="no"; else enable_optimizations="yes"; fi])
356 AC_MSG_RESULT([$enable_optimizations])
358 # check whether to enable 3D transforms support
359 AC_MSG_CHECKING([whether to enable support for 3D Transforms])
360 AC_ARG_ENABLE(3d_transforms,
361 AC_HELP_STRING([--enable-3d-transforms],
362 [enable support for 3D transforms [default=no]]),
363 [],[enable_3d_transforms="no"])
364 AC_MSG_RESULT([$enable_3d_transforms])
366 # check whether to enable WebGL support
367 AC_MSG_CHECKING([whether to enable WebGL support])
369 AC_HELP_STRING([--enable-webgl],
370 [enable support for WebGL (experimental) [default=no]]),
371 [], [enable_webgl="no"])
372 AC_MSG_RESULT([$enable_webgl])
374 if test "$enable_webgl" = "yes"; then
375 AC_CHECK_HEADERS([GL/gl.h], [], AC_MSG_ERROR([OpenGL header not found]))
376 AC_CHECK_HEADERS([GL/glx.h], [], AC_MSG_ERROR([GLX header not found]))
379 AC_SUBST([OPENGL_LIBS])
381 # check whether to enable channel messaging support
382 AC_MSG_CHECKING([whether to enable HTML5 Channel Messaging support])
383 AC_ARG_ENABLE(channel_messaging,
384 AC_HELP_STRING([--enable-channel-messaging],
385 [enable HTML5 channel messaging support [default=yes]]),
386 [],[enable_channel_messaging="yes"])
387 AC_MSG_RESULT([$enable_channel_messaging])
389 # check whether to enable notifications
390 AC_MSG_CHECKING([whether to enable notifications])
391 AC_ARG_ENABLE(notifications,
392 AC_HELP_STRING([--enable-notifications],
393 [enable notifications [default=no]]),
394 [],[enable_notifications="no"])
395 AC_MSG_RESULT([$enable_notifications])
397 # check whether to enable the meter tag
398 AC_MSG_CHECKING([whether to enable HTML5 meter tag])
399 AC_ARG_ENABLE(meter_tag,
400 AC_HELP_STRING([--enable-meter-tag],
401 [enable HTML5 meter [default=yes]]),
402 [],[enable_meter_tag="yes"])
403 AC_MSG_RESULT([$enable_meter_tag])
405 # check whether to enable the progress tag
406 AC_MSG_CHECKING([whether to enable HTML5 progress tag])
407 AC_ARG_ENABLE(progress_tag,
408 AC_HELP_STRING([--enable-progress-tag],
409 [enable HTML5 progress [default=yes]]),
410 [],[enable_progress_tag="yes"])
411 AC_MSG_RESULT([$enable_progress_tag])
413 # check whether to enable JavaScript debugger/profiler support
414 AC_MSG_CHECKING([whether to enable JavaScript debugger/profiler support])
415 AC_ARG_ENABLE(javascript_debugger,
416 AC_HELP_STRING([--enable-javascript-debugger],
417 [enable JavaScript debugger/profiler support [default=yes]]),
418 [],[enable_javascript_debugger="yes"])
419 AC_MSG_RESULT([$enable_javascript_debugger])
421 # check whether to build with datagrid support
422 AC_MSG_CHECKING([whether to enable HTML5 datagrid support])
423 AC_ARG_ENABLE(datagrid,
424 AC_HELP_STRING([--enable-datagrid],
425 [enable HTML5 datagrid support [default=no]]),
426 [],[enable_datagrid="no"])
427 AC_MSG_RESULT([$enable_datagrid])
429 # check whether to build with data transfer items support
430 AC_MSG_CHECKING([whether to enable HTML5 data transfer items support])
431 AC_ARG_ENABLE(data_transfer_items,
432 AC_HELP_STRING([--enable-data-transfer-items],
433 [enable HTML5 data transfer items support [default=no]]),
434 [],[enable_data_transfer_items="no"])
435 AC_MSG_RESULT([$enable_data_transfer_items])
437 # check whether to enable HTML5 Offline Web Applications support
438 AC_MSG_CHECKING([whether to enable HTML5 offline web applications support])
439 AC_ARG_ENABLE(offline_web_applications,
440 AC_HELP_STRING([--enable-offline-web-applications],
441 [enable HTML5 offline web applications support [default=yes]]),
442 [],[enable_offline_web_applications="yes"])
443 AC_MSG_RESULT([$enable_offline_web_applications])
445 # check whether to enable HTML5 client-side session and persitent storage support
446 AC_MSG_CHECKING([whether to enable HTML5 client-side session and persistent storage support])
447 AC_ARG_ENABLE(dom_storage,
448 AC_HELP_STRING([--enable-dom-storage],
449 [enable HTML5 client-side session and persistent storage support [default=yes]]),
450 [],[enable_dom_storage="yes"])
451 AC_MSG_RESULT([$enable_dom_storage])
453 # check whether to enable the indexed database API
454 AC_MSG_CHECKING([whether to enable the indexed database API])
455 AC_ARG_ENABLE(indexed_database,
456 AC_HELP_STRING([--enable-indexed-database],
457 [enable the indexed database API [default=no]]),
458 [],[enable_indexed_database="no"])
459 AC_MSG_RESULT([$enable_indexed_database])
461 # check whether to enable the speech input API
462 AC_MSG_CHECKING([whether to enable the speech input API])
463 AC_ARG_ENABLE(input_speech,
464 AC_HELP_STRING([--enable-input-speech],
465 [enable the speech input API [default=no]]),
466 [],[enable_input_speech="no"])
467 AC_MSG_RESULT([$enable_input_speech])
469 # check whether to build with database support
470 AC_MSG_CHECKING([whether to enable HTML5 client-side database storage support])
471 AC_ARG_ENABLE(database,
472 AC_HELP_STRING([--enable-database],
473 [enable HTML5 client-side database storage support [default=yes]]),
474 [],[enable_database="yes"])
475 AC_MSG_RESULT([$enable_database])
477 # check whether to build with server-sent events support
478 AC_MSG_CHECKING([whether to enable HTML5 server-sent events support])
479 AC_ARG_ENABLE(eventsource,
480 AC_HELP_STRING([--enable-eventsource],
481 [enable HTML5 server-sent events support [default=yes]]),
482 [],[enable_eventsource="yes"])
483 AC_MSG_RESULT([$enable_eventsource])
485 # check whether to build with icon database support
486 AC_MSG_CHECKING([whether to enable icon database support])
487 AC_ARG_ENABLE(icon_database,
488 AC_HELP_STRING([--enable-icon-database],
489 [enable icon database [default=yes]]),
490 [],[enable_icon_database="yes"])
491 AC_MSG_RESULT([$enable_icon_database])
493 # check whether to build with image resizer API support
494 AC_MSG_CHECKING([whether to enable image resizer API support])
495 AC_ARG_ENABLE(image_resizer,
496 AC_HELP_STRING([--enable-image-resizer],
497 [enable image resizer [default=no]]),
498 [],[enable_image_resizer="no"])
499 AC_MSG_RESULT([$enable_image_resizer])
501 # check whether to enable HTML5 datalist support
502 AC_MSG_CHECKING([whether to enable HTML5 datalist support])
503 AC_ARG_ENABLE(datalist,
504 AC_HELP_STRING([--enable-datalist],
505 [enable HTML5 datalist support [default=yes]]),
506 [],[enable_datalist="yes"])
507 AC_MSG_RESULT([$enable_datalist])
509 # check whether to enable HTML5 sandbox iframe support
510 AC_MSG_CHECKING([whether to enable HTML5 sandboxed iframe support])
511 AC_ARG_ENABLE(sandbox,
512 AC_HELP_STRING([--enable-sandbox],
513 [enable HTML5 sandboxed iframe support [default=yes]]),
514 [],[enable_sandbox="yes"])
515 AC_MSG_RESULT([$enable_sandbox])
517 # check whether to enable HTML5 audio/video support
518 AC_MSG_CHECKING([whether to enable HTML5 video support])
520 AC_HELP_STRING([--enable-video],
521 [enable HTML5 video support [default=yes]]),
522 [],[enable_video="yes"])
523 AC_MSG_RESULT([$enable_video])
525 # check whether to enable HTML5 track support
526 AC_MSG_CHECKING([whether to enable HTML5 track support])
528 AC_HELP_STRING([--enable-track],
529 [enable HTML5 track support [default=yes]]),
530 [],[enable_track="yes"])
531 AC_MSG_RESULT([$enable_track])
533 # check whether to enable media statistics support
534 AC_MSG_CHECKING([whether to enable media statistics support])
535 AC_ARG_ENABLE(media_statistics,
536 AC_HELP_STRING([--enable-media-statistics],
537 [enable support for media statistics [default=no]]),
538 [], [enable_media_statistics="no"])
539 AC_MSG_RESULT([$enable_media_statistics])
541 # check whether to enable Javascript Fullscreen API support
542 AC_MSG_CHECKING([whether to enable Fullscreen API support])
543 AC_ARG_ENABLE(fullscreen_api,
544 AC_HELP_STRING([--enable-fullscreen-api],
545 [enable the Fullscreen API support [default=yes]]),
546 [],[enable_fullscreen_api="yes"])
547 AC_MSG_RESULT([$enable_fullscreen_api])
549 # check whether to enable XHTML-MP support
550 AC_MSG_CHECKING([whether to enable XHTML-MP support])
551 AC_ARG_ENABLE(xhtmlmp,
552 AC_HELP_STRING([--enable-xhtmlmp],
553 [enable support for XHTML-MP [default=no]]),
554 [],[enable_xhtmlmp="no"])
555 AC_MSG_RESULT([$enable_xhtmlmp])
557 # check whether to enable XPath support
558 AC_MSG_CHECKING([whether to enable XPath support])
560 AC_HELP_STRING([--enable-xpath],
561 [enable support for XPath [default=yes]]),
562 [],[enable_xpath="yes"])
563 AC_MSG_RESULT([$enable_xpath])
565 # check whether to enable XSLT support
566 AC_MSG_CHECKING([whether to enable XSLT support])
568 AC_HELP_STRING([--enable-xslt],
569 [enable support for XSLT [default=yes]]),
570 [],[enable_xslt="yes"])
571 AC_MSG_RESULT([$enable_xslt])
573 # check whether to enable geolocation support
574 AC_MSG_CHECKING([whether to enable geolocation support])
575 AC_ARG_ENABLE(geolocation,
576 AC_HELP_STRING([--enable-geolocation],
577 [enable support for geolocation [default=no]]),
578 [],[enable_geolocation="no"])
579 AC_MSG_RESULT([$enable_geolocation])
581 # check whether to enable client-based geolocation support
582 AC_MSG_CHECKING([whether to enable client-based geolocation support])
583 AC_ARG_ENABLE(client_based_geolocation,
584 AC_HELP_STRING([--enable-client-based-geolocation],
585 [enable support for client-based geolocation [default=no]]),
586 [],[enable_client_based_geolocation="no"])
587 AC_MSG_RESULT([$enable_client_based_geolocation])
589 # check whether to enable MathML support
590 AC_MSG_CHECKING([whether to enable MathML support])
591 AC_ARG_ENABLE(mathml,
592 AC_HELP_STRING([--enable-mathml],
593 [enable support for MathML [default=no]]),
594 [],[enable_mathml="no"])
595 AC_MSG_RESULT([$enable_mathml])
597 # check whether to enable SVG support
598 AC_MSG_CHECKING([whether to enable SVG support])
600 AC_HELP_STRING([--enable-svg],
601 [enable support for SVG [default=yes]]),
602 [],[enable_svg="yes"])
603 AC_MSG_RESULT([$enable_svg])
605 # check whether to enable WML support
606 AC_MSG_CHECKING([whether to enable WML support])
608 AC_HELP_STRING([--enable-wml],
609 [enable support for WML [default=no]]),
610 [],[enable_wml="no"])
611 AC_MSG_RESULT([$enable_wml])
613 # check whether to enable WCSS support
614 AC_MSG_CHECKING([whether to enable WCSS support])
616 AC_HELP_STRING([--enable-wcss],
617 [enable support for WCSS [default=no]]),
618 [],[enable_wcss="no"])
619 AC_MSG_RESULT([$enable_wcss])
621 # check whether to enable SharedWorkers support
622 AC_MSG_CHECKING([whether to enable SharedWorkers support])
623 AC_ARG_ENABLE(shared_workers,
624 AC_HELP_STRING([--enable-shared-workers],
625 [enable support for SharedWorkers [default=yes]]),
626 [],[enable_shared_workers="yes"])
627 AC_MSG_RESULT([$enable_shared_workers])
629 # check whether to enable Web Workers support
630 AC_MSG_CHECKING([whether to enable Web Workers support])
631 AC_ARG_ENABLE(workers,
632 AC_HELP_STRING([--enable-workers],
633 [enable support for Web Workers [default=yes]]),
634 [],[enable_workers="yes"])
635 AC_MSG_RESULT([$enable_workers])
637 # check whether to enable directory upload support
638 AC_MSG_CHECKING([whether to enable directory upload support])
639 AC_ARG_ENABLE(directory_upload,
640 AC_HELP_STRING([--enable-directory-upload],
641 [enable support for directory upload [default=no]]),
642 [], [enable_directory_upload="no"])
643 AC_MSG_RESULT([$enable_directory_upload])
645 # check whether to enable HTML5 FileSystem API support
646 AC_MSG_CHECKING([whether to enable HTML5 FileSystem API support])
647 AC_ARG_ENABLE(file_system,
648 AC_HELP_STRING([--enable-file-system],
649 [enable support for HTML5 FileSystem API [default=no]]),
650 [], [enable_file_system="no"])
651 AC_MSG_RESULT([$enable_file_system])
653 # check whether to enable Quota API support
654 AC_MSG_CHECKING([whether to enable Quota API support])
656 AC_HELP_STRING([--enable-quota],
657 [enable support for Quota API [default=no]]),
658 [], [enable_quota="no"])
659 AC_MSG_RESULT([$enable_quota])
661 # turn off svg features if --disable-svg is requested
662 if test "$enable_svg" = "no"; then
663 enable_svg_animation=no
665 enable_svg_foreign_object=no
666 enable_svg_as_image=no
670 # check whether to enable support for SVG animation
671 AC_MSG_CHECKING([whether to enable support for SVG animation])
672 AC_ARG_ENABLE(svg_animation,
673 AC_HELP_STRING([--enable-svg-animation],
674 [enable support for SVG animation (experimental) [default=yes]]),
675 [],[enable_svg_animation="yes"])
676 AC_MSG_RESULT([$enable_svg_animation])
678 # check whether to enable support for filters
679 AC_MSG_CHECKING([whether to enable support for filters])
680 AC_ARG_ENABLE(filters,
681 AC_HELP_STRING([--enable-filters],
682 [enable support for filters (experimental) [default=yes]]),
683 [],[enable_filters="yes"])
684 AC_MSG_RESULT([$enable_filters])
686 # check whether to enable support for SVG fonts
687 AC_MSG_CHECKING([whether to enable support for SVG fonts])
688 AC_ARG_ENABLE(svg_fonts,
689 AC_HELP_STRING([--enable-svg-fonts],
690 [enable support for SVG fonts (experimental) [default=yes]]),
691 [],[enable_svg_fonts="yes"])
692 AC_MSG_RESULT([$enable_svg_fonts])
694 # check whether to enable foreign objects support for SVG
695 AC_MSG_CHECKING([whether to enable support for SVG foreign objects])
696 AC_ARG_ENABLE(svg_foreign_object,
697 AC_HELP_STRING([--enable-svg-foreign-object],
698 [enable support for SVG foreign objects (experimental) [default=yes]]),
699 [],[enable_svg_foreign_object="yes"])
700 AC_MSG_RESULT([$enable_svg_foreign_object])
702 # check whether to enable SVG As Image support
703 AC_MSG_CHECKING([whether to enable SVG as Image support])
704 AC_ARG_ENABLE(svg_as_image,
705 AC_HELP_STRING([--enable-svg-as-image],
706 [enable SVG as Image support (experimental) [default=yes]]),
707 [],[enable_svg_as_image="yes"])
708 AC_MSG_RESULT([$enable_svg_as_image])
710 # check whether to enable SVG USE element support
711 AC_MSG_CHECKING([whether to enable support for SVG use element])
712 AC_ARG_ENABLE(svg_use,
713 AC_HELP_STRING([--enable-svg-use],
714 [enable SVG use element support (experimental) [default=yes]]),
715 [],[enable_svg_use="yes"])
716 AC_MSG_RESULT([$enable_svg_use])
718 # check for SVG features, enabling SVG if necessary
719 if test "$enable_svg_animation" = "yes" || \
720 test "$enable_svg_fonts" = "yes" || \
721 test "$enable_svg_foreign_object" = "yes" || \
722 test "$enable_svg_as_image" = "yes" || \
723 test "$enable_svg_use" = "yes"; then
725 if test "$enable_svg" = "no"; then
726 AC_MSG_WARN([SVG feature(s) requested but SVG is disabled.. Enabling SVG support])
731 # check whether to enable Web Socket support
732 AC_MSG_CHECKING([whether to enable Web Sockets support])
733 AC_ARG_ENABLE(web_sockets,
734 AC_HELP_STRING([--enable-web-sockets],
735 [enable support for Web Sockets [default=yes]]),
736 [],[enable_web_sockets="yes"])
737 AC_MSG_RESULT([$enable_web_sockets])
739 # check whether to enable Web Audio support
740 AC_MSG_CHECKING([whether to enable Web Audio support])
741 AC_ARG_ENABLE(web_audio,
742 AC_HELP_STRING([--enable-web-audio],
743 [enable support for Web Audio [default=no]]),
744 [],[enable_web_audio="no"])
745 AC_MSG_RESULT([$enable_web_audio])
747 # check whether to enable Web Timing support
748 AC_MSG_CHECKING([whether to enable Web Timing support])
749 AC_ARG_ENABLE(web_timing,
750 AC_HELP_STRING([--enable-web-timing],
751 [enable support for Web Timing [default=no]]),
752 [],[enable_web_timing="no"])
753 AC_MSG_RESULT([$enable_web_timing])
755 # check whether to enable Blob support
756 AC_MSG_CHECKING([whether to enable Blob support])
758 AC_HELP_STRING([--enable-blob],
759 [enable support for Blob [default=yes]]),
760 [],[enable_blob="yes"])
761 AC_MSG_RESULT([$enable_blob])
763 # check whether to enable Fast Mobile Scrolling support
764 AC_MSG_CHECKING([whether to enable Fast Mobile Scrolling])
765 AC_ARG_ENABLE(fast_mobile_scrolling,
766 AC_HELP_STRING([--enable-fast-mobile-scrolling],
767 [enable support for Fast Mobile Scrolling [default=no]]),
768 [],[enable_fast_mobile_scrolling="no"])
769 AC_MSG_RESULT([$enable_fast_mobile_scrolling])
771 # check whether to enable code coverage
772 AC_MSG_CHECKING([whether to enable code coverage support])
773 AC_ARG_ENABLE(coverage,
774 AC_HELP_STRING([--enable-coverage],
775 [enable code coverage support [default=no]]),
776 [],[enable_coverage="no"])
777 AC_MSG_RESULT([$enable_coverage])
779 # check whether to enable FastMalloc
780 AC_MSG_CHECKING([whether to enable optimized memory allocator])
781 AC_ARG_ENABLE(fast_malloc,
782 AC_HELP_STRING([--enable-fast-malloc],
783 [enable optimized memory allocator default=yes, default=no for debug builds]),
784 [],[if test "$enable_debug" = "yes"; then enable_fast_malloc="no"; else enable_fast_malloc="yes"; fi])
785 AC_MSG_RESULT([$enable_fast_malloc])
787 AC_MSG_CHECKING([whether to enable JIT compilation])
789 AC_HELP_STRING([--enable-jit],
790 [Enable JIT compilation default=yes]),
791 [],[enable_jit="yes"])
792 if test "$enable_jit" = "yes"; then
795 AC_DEFINE([ENABLE_JIT], [1], [Define to enable JIT])
796 AC_DEFINE([ENABLE_YARR], [1], [Define to enable YARR])
797 AC_DEFINE([ENABLE_YARR_JIT], [1], [Define to enable YARR JIT])
800 AC_DEFINE([ENABLE_JIT], [1], [Define to enable JIT])
801 AC_DEFINE([ENABLE_YARR], [1], [Define to enable YARR])
802 AC_DEFINE([ENABLE_YARR_JIT], [1], [Define to enable YARR JIT])
803 AC_DEFINE([ENABLE_JIT_OPTIMIZE_CALL], [1], [Define to enable optimizing calls])
804 AC_DEFINE([ENABLE_JIT_OPTIMIZE_PROPERTY_ACCESS], [1], [Define to enable optimized property access])
805 AC_DEFINE([ENABLE_JIT_OPTIMIZE_ARITHMETIC], [1], [Define to enable optimized arithmetic])
808 AC_DEFINE([WTF_USE_JIT_STUB_ARGUMENT_VA_LIST], [1], [Use stub va_list])
811 AC_DEFINE([WTF_USE_JIT_STUB_ARGUMENT_REGISTER], [1], [Use stub register])
812 AC_DEFINE([WTF_USE_ALTERNATE_JSIMMEDIATE], [1], [Use alternate JSImmediate])
817 AC_DEFINE([ENABLE_YARR], [1], [Define to enable YARR])
818 AC_DEFINE([ENABLE_YARR_JIT], [1], [Define to enable YARR JIT])
819 AC_DEFINE([ENABLE_JIT], [1], [Define to enable JIT])
820 AC_DEFINE([WTF_USE_JIT_STUB_ARGUMENT_REGISTER], [1], [Use stub register])
823 enable_jit="no (CPU '$host_cpu' not supported)"
827 AC_DEFINE([ENABLE_JIT], [0], [Define to enable JIT])
829 AC_MSG_RESULT([$enable_jit])
832 AC_MSG_CHECKING([whether to enable opcode stats])
833 AC_ARG_ENABLE([opcode-stats],
834 [AS_HELP_STRING([--enable-opcode-stats], [Enable Opcode statistics (default: disabled)])],
835 [], [enable_opcode_stats=no])
836 AC_MSG_RESULT([$enable_opcode_stats])
838 if test "$enable_opcode_stats" = "yes"; then
839 if test "$enable_jit" = "yes"; then
840 AC_MSG_ERROR([JIT must be disabled for Opcode stats to work.])
842 AC_DEFINE([ENABLE_OPCODE_STATS], [1], [Define to enable Opcode statistics])
846 AC_MSG_CHECKING([whether to enable link prefetch support])
847 AC_ARG_ENABLE([link-prefetch],
848 [AS_HELP_STRING([--enable-link-prefetch], [Enable Link prefetch support (default: disabled)])],
849 [],[enable_link_prefetch=no])
850 AC_MSG_RESULT([$enable_link_prefetch])
852 if test "$enable_link_prefetch" = "yes"; then
853 AC_DEFINE([ENABLE_LINK_PREFETCH], [1], [Define to enable link prefetch support])
856 # GObject Introspection
857 AC_MSG_CHECKING([whether to enable GObject introspection support])
858 AC_ARG_ENABLE([introspection],
859 [AS_HELP_STRING([--enable-introspection],[Enable GObject introspection (default: disabled)])],
860 [],[enable_introspection=no])
861 AC_MSG_RESULT([$enable_introspection])
869 if test "$enable_introspection" = "yes"; then
870 GOBJECT_INTROSPECTION_REQUIRED=0.9.5
871 PKG_CHECK_MODULES([INTROSPECTION],[gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED])
873 G_IR_SCANNER="$($PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0)"
874 G_IR_COMPILER="$($PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0)"
875 G_IR_GENERATE="$($PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0)"
876 AC_DEFINE([ENABLE_INTROSPECTION],[1],[Define to enable GObject introspection support])
879 AC_SUBST([G_IR_SCANNER])
880 AC_SUBST([G_IR_COMPILER])
881 AC_SUBST([G_IR_GENERATE])
883 # determine the font backend
884 AC_MSG_CHECKING([the font backend to use])
885 AC_ARG_WITH(font_backend,
886 AC_HELP_STRING([--with-font-backend=@<:@freetype/pango@:>@],
887 [Select font backend [default=freetype]]),
888 [],[with_font_backend="freetype"])
890 case "$with_font_backend" in
892 *) AC_MSG_ERROR([Invalid font backend: must be freetype or pango.]) ;;
894 AC_MSG_RESULT([$with_font_backend])
896 if test "$host_cpu" = "sh4"; then
897 CXXFLAGS="$CXXFLAGS -mieee -w"
898 CFLAGS="$CFLAGS -mieee -w"
901 # Add '-g' flag to gcc if it's debug build
902 if test "$enable_debug" = "yes"; then
903 CXXFLAGS="$CXXFLAGS -g"
906 AC_DEFINE([NDEBUG], [1], [Define to disable debugging features])
909 # Add the appropriate 'O' level for optimized builds
910 if test "$enable_optimizations" = "yes"; then
911 CXXFLAGS="$CXXFLAGS -O2"
914 CXXFLAGS="$CXXFLAGS -O0"
918 PKG_CHECK_MODULES([LIBSOUP],
919 [libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION])
920 AC_SUBST([LIBSOUP_CFLAGS])
921 AC_SUBST([LIBSOUP_LIBS])
923 # check if FreeType/FontConfig are available
924 if test "$with_font_backend" = "freetype"; then
925 if test "$with_target" = "directfb"; then
926 PKG_CHECK_MODULES([FREETYPE],
927 [fontconfig >= $FONTCONFIG_REQUIRED_VERSION
928 freetype2 >= $FREETYPE2_REQUIRED_VERSION])
930 PKG_CHECK_MODULES([FREETYPE],
932 fontconfig >= $FONTCONFIG_REQUIRED_VERSION
933 freetype2 >= $FREETYPE2_REQUIRED_VERSION])
935 AC_SUBST([FREETYPE_CFLAGS])
936 AC_SUBST([FREETYPE_LIBS])
939 # check if SQLite3 is available. Error out only if one of the
940 # features hard-depending on it is enabled while SQLite3 is
942 PKG_CHECK_MODULES([SQLITE3],
943 [sqlite3 >= $SQLITE_REQUIRED_VERSION],
944 [sqlite3_has_pkg_config=yes],
945 [sqlite3_has_pkg_config=no])
946 if test "$sqlite3_has_pkg_config" = "no"; then
947 AC_SEARCH_LIBS([sqlite3_open16], [sqlite3],
948 [sqlite3_found=yes;SQLITE3_LIBS="$LIBS";SQLITE3_CFLAGS="-I $srcdir/WebKitLibraries/WebCoreSQLite3"],
951 AC_SUBST([SQLITE3_CFLAGS])
952 AC_SUBST([SQLITE3_LIBS])
954 if (test "$sqlite3_found" = "no") && (test "$enable_icon_database" = "yes" || \
955 test "$enable_database" = "yes" || \
956 test "$enable_offline_web_applications" = "yes" || \
957 test "$enable_dom_storage" = "yes"); then
958 AC_MSG_ERROR([SQLite3 is required for the Database related features])
961 # check if libxslt is available
962 if test "$enable_xslt" = "yes"; then
963 PKG_CHECK_MODULES([LIBXSLT],[libxslt >= $LIBXSLT_REQUIRED_VERSION])
964 AC_SUBST([LIBXSLT_CFLAGS])
965 AC_SUBST([LIBXSLT_LIBS])
968 # check if geoclue is available
969 if test "$enable_geolocation" = "yes"; then
970 PKG_CHECK_MODULES([GEOCLUE], [geoclue])
971 AC_SUBST([GEOCLUE_CFLAGS])
972 AC_SUBST([GEOCLUE_LIBS])
975 # check for XRender under Linux/Unix. Some linkers require explicit
976 # linkage (like GNU Gold), so we cannot rely on GTK+ pulling XRender
977 if test "$os_win32" = "no"; then
978 PKG_CHECK_MODULES([XRENDER], [xrender])
979 AC_SUBST([XRENDER_CFLAGS])
980 AC_SUBST([XRENDER_LIBS])
983 # check if gstreamer is available
984 if test "$enable_video" = "yes"; then
985 PKG_CHECK_MODULES([GSTREAMER],
986 [gstreamer-0.10 >= $GSTREAMER_REQUIRED_VERSION
989 gstreamer-interfaces-0.10
990 gstreamer-pbutils-0.10
991 gstreamer-plugins-base-0.10 >= $GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION
992 gstreamer-video-0.10],
993 [have_gstreamer=yes])
995 AC_SUBST([GSTREAMER_CFLAGS])
996 AC_SUBST([GSTREAMER_LIBS])
999 # check for code coverage support
1000 if test "$enable_coverage" = "yes"; then
1001 COVERAGE_CFLAGS="-MD"
1002 COVERAGE_LDFLAGS="-ftest-coverage -fprofile-arcs"
1003 AC_SUBST([COVERAGE_CFLAGS])
1004 AC_SUBST([COVERAGE_LDFLAGS])
1007 # check for HTML features
1008 if test "$enable_video" = "yes"; then
1013 AC_MSG_CHECKING([whether to build Webkit2])
1014 AC_ARG_ENABLE(webkit2,
1015 AC_HELP_STRING([--enable-webkit2],
1016 [build webkit2 [default=no]]),
1017 [], [enable_webkit2="no"])
1018 AC_MSG_RESULT([$enable_webkit2])
1019 if test "$enable_webkit2" = "yes"; then
1020 WEBKITGTK_PC_NAME=${WEBKITGTK_PC_NAME}2
1021 AC_SUBST([WEBKITGTK_PC_NAME])
1024 GTK_DOC_CHECK([1.10])
1027 AM_CONDITIONAL([OS_WIN32],[test "$os_win32" = "yes"])
1028 AM_CONDITIONAL([OS_UNIX],[test "$os_win32" = "no"])
1029 AM_CONDITIONAL([OS_LINUX],[test "$os_linux" = "yes"])
1030 AM_CONDITIONAL([OS_GNU],[test "$os_gnu" = "yes"])
1031 AM_CONDITIONAL([OS_FREEBSD],[test "$os_freebsd" = "yes"])
1033 # target conditionals
1034 AM_CONDITIONAL([TARGET_X11], [test "$with_target" = "x11"])
1035 AM_CONDITIONAL([TARGET_WIN32], [test "$with_target" = "win32"])
1036 AM_CONDITIONAL([TARGET_QUARTZ], [test "$with_target" = "quartz"])
1037 AM_CONDITIONAL([TARGET_DIRECTFB], [test "$with_target" = "directfb"])
1039 # Unicode backend conditionals
1040 AM_CONDITIONAL([USE_ICU_UNICODE], [test "$with_unicode_backend" = "icu"])
1041 AM_CONDITIONAL([USE_GLIB_UNICODE], [test "$with_unicode_backend" = "glib"])
1043 # Font backend conditionals
1044 AM_CONDITIONAL([USE_FREETYPE], [test "$with_font_backend" = "freetype"])
1045 AM_CONDITIONAL([USE_PANGO], [test "$with_font_backend" = "pango"])
1047 # GStreamer feature conditional
1048 AM_CONDITIONAL([USE_GSTREAMER], [test "$have_gstreamer" = "yes"])
1050 # WebKit feature conditionals
1051 AM_CONDITIONAL([ENABLE_DEBUG],[test "$enable_debug" = "yes"])
1052 AM_CONDITIONAL([ENABLE_3D_TRANSFORMS],[test "$enable_3d_transforms" = "yes"])
1053 AM_CONDITIONAL([ENABLE_WEBGL],[test "$enable_webgl" = "yes"])
1054 AM_CONDITIONAL([ENABLE_BLOB],[test "$enable_blob" = "yes"])
1055 AM_CONDITIONAL([ENABLE_METER_TAG],[test "$enable_meter_tag" = "yes"])
1056 AM_CONDITIONAL([ENABLE_PROGRESS_TAG],[test "$enable_progress_tag" = "yes"])
1057 AM_CONDITIONAL([ENABLE_CHANNEL_MESSAGING],[test "$enable_channel_messaging" = "yes"])
1058 AM_CONDITIONAL([ENABLE_JAVASCRIPT_DEBUGGER],[test "$enable_javascript_debugger" = "yes"])
1059 AM_CONDITIONAL([ENABLE_OFFLINE_WEB_APPLICATIONS],[test "$enable_offline_web_applications" = "yes"])
1060 AM_CONDITIONAL([ENABLE_DIRECTORY_UPLOAD],[test "$enable_directory_upload" = "yes"])
1061 AM_CONDITIONAL([ENABLE_DATAGRID],[test "$enable_datagrid" = "yes"])
1062 AM_CONDITIONAL([ENABLE_DATA_TRANSFER_ITEMS],[test "$enable_data_transfer_items" = "yes"])
1063 AM_CONDITIONAL([ENABLE_DOM_STORAGE],[test "$enable_dom_storage" = "yes"])
1064 AM_CONDITIONAL([ENABLE_DATABASE],[test "$enable_database" = "yes"])
1065 AM_CONDITIONAL([ENABLE_DATALIST],[test "$enable_datalist" = "yes"])
1066 AM_CONDITIONAL([ENABLE_EVENTSOURCE],[test "$enable_eventsource" = "yes"])
1067 AM_CONDITIONAL([ENABLE_FAST_MOBILE_SCROLLING],[test "$enable_fast_mobile_scrolling" = "yes"])
1068 AM_CONDITIONAL([ENABLE_FILE_SYSTEM],[test "$enable_file_system" = "yes"])
1069 AM_CONDITIONAL([ENABLE_QUOTA],[test "$enable_quota" = "yes"])
1070 AM_CONDITIONAL([ENABLE_ICONDATABASE],[test "$enable_icon_database" = "yes"])
1071 AM_CONDITIONAL([ENABLE_IMAGE_RESIZER],[test "$enable_image_resizer" = "yes"])
1072 AM_CONDITIONAL([ENABLE_INDEXED_DATABASE],[test "$enable_indexed_database" = "yes"])
1073 AM_CONDITIONAL([ENABLE_INPUT_SPEECH],[test "$enable_input_speech" = "yes"])
1074 AM_CONDITIONAL([ENABLE_XHTMLMP],[test "$enable_xhtmlmp" = "yes"])
1075 AM_CONDITIONAL([ENABLE_XPATH],[test "$enable_xpath" = "yes"])
1076 AM_CONDITIONAL([ENABLE_XSLT],[test "$enable_xslt" = "yes"])
1077 AM_CONDITIONAL([ENABLE_FILTERS],[test "$enable_filters" = "yes"])
1078 AM_CONDITIONAL([ENABLE_GEOLOCATION], [test "$enable_geolocation" = "yes"])
1079 AM_CONDITIONAL([ENABLE_CLIENT_BASED_GEOLOCATION], [test "$enable_client_based_geolocation" = "yes"])
1080 AM_CONDITIONAL([ENABLE_MATHML], [test "$enable_mathml" = "yes"])
1081 AM_CONDITIONAL([ENABLE_VIDEO],[test "$enable_video" = "yes"])
1082 AM_CONDITIONAL([ENABLE_MEDIA_STATISTICS],[test "$enable_media_statistics" = "yes"])
1083 AM_CONDITIONAL([ENABLE_TRACK],[test "$enable_track" = "yes"])
1084 AM_CONDITIONAL([ENABLE_FULLSCREEN_API],[test "$enable_fullscreen_api" = "yes"])
1085 AM_CONDITIONAL([ENABLE_NOTIFICATIONS],[test "$enable_notifications" = "yes"])
1086 AM_CONDITIONAL([ENABLE_ORIENTATION_EVENTS],[test "$enable_orientation_events" = "yes"])
1087 AM_CONDITIONAL([ENABLE_SVG],[test "$enable_svg" = "yes"])
1088 AM_CONDITIONAL([ENABLE_SVG_ANIMATION],[test "$enable_svg_animation" = "yes"])
1089 AM_CONDITIONAL([ENABLE_SVG_FONTS],[test "$enable_svg_fonts" = "yes"])
1090 AM_CONDITIONAL([ENABLE_SVG_FOREIGN_OBJECT],[test "$enable_svg_foreign_object" = "yes"])
1091 AM_CONDITIONAL([ENABLE_SVG_AS_IMAGE],[test "$enable_svg_as_image" = "yes"])
1092 AM_CONDITIONAL([ENABLE_SVG_USE],[test "$enable_svg_use" = "yes"])
1093 AM_CONDITIONAL([ENABLE_COVERAGE],[test "$enable_coverage" = "yes"])
1094 AM_CONDITIONAL([ENABLE_FAST_MALLOC],[test "$enable_fast_malloc" = "yes"])
1095 AM_CONDITIONAL([ENABLE_WML],[test "$enable_wml" = "yes"])
1096 AM_CONDITIONAL([ENABLE_WCSS],[test "$enable_wcss" = "yes"])
1097 AM_CONDITIONAL([ENABLE_WORKERS],[test "$enable_workers" = "yes"])
1098 AM_CONDITIONAL([ENABLE_SHARED_WORKERS],[test "$enable_shared_workers" = "yes"])
1099 AM_CONDITIONAL([SVG_FLAGS],[test "$svg_flags" = "yes"])
1100 AM_CONDITIONAL([HTML_FLAGS],[test "$html_flags" = "yes"])
1101 AM_CONDITIONAL([ENABLE_WEB_SOCKETS],[test "$enable_web_sockets" = "yes"])
1102 AM_CONDITIONAL([ENABLE_WEB_AUDIO],[test "$enable_web_audio" = "yes"])
1103 AM_CONDITIONAL([ENABLE_WEB_TIMING],[test "$enable_web_timing" = "yes"])
1104 AM_CONDITIONAL([ENABLE_OPCODE_STATS],[test "$enable_opcode_stats" = "yes"])
1105 AM_CONDITIONAL([ENABLE_WEBKIT2],[test "$enable_webkit2" = "yes"])
1106 AM_CONDITIONAL([ENABLE_SPELLCHECK],[test "$enable_spellcheck" = "yes"])
1109 AM_CONDITIONAL([ENABLE_INTROSPECTION],[test "$enable_introspection" = "yes"])
1115 if test "$enable_webkit2" = "no"; then
1117 Source/WebKit/gtk/webkit/webkitversion.h
1118 Source/WebKit/gtk/docs/GNUmakefile
1119 Source/WebKit/gtk/docs/version.xml
1124 Source/WebKit/gtk/${WEBKITGTK_PC_NAME}-${WEBKITGTK_API_VERSION}.pc:Source/WebKit/gtk/webkit.pc.in
1125 Source/WebKit/gtk/JSCore-${WEBKITGTK_API_VERSION}.gir:Source/WebKit/gtk/JSCore.gir.in
1126 Source/WebKit/gtk/org.webkitgtk-${WEBKITGTK_API_VERSION}.gschema.xml:Source/WebKit/gtk/org.webkitgtk.gschema.xml.in
1128 ,[WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME]
1132 Source/WebKit2/gtk/${WEBKITGTK_PC_NAME}-${WEBKITGTK_API_VERSION}.pc:Source/WebKit2/gtk/webkit2.pc.in
1134 ,[WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME]
1141 WebKit was configured with the following options:
1143 Build configuration:
1144 Enable debugging (slow) : $enable_debug
1145 Enable GCC build optimization : $enable_optimizations
1146 Code coverage support : $enable_coverage
1147 Unicode backend : $with_unicode_backend
1148 Font backend : $with_font_backend
1149 Optimized memory allocator : $enable_fast_malloc
1151 3D Transforms : $enable_3d_transforms
1152 WebGL : $enable_webgl
1153 Blob support : $enable_blob
1154 Directory upload : $enable_directory_upload
1155 Fast Mobile Scrolling : $enable_fast_mobile_scrolling
1156 JIT compilation : $enable_jit
1157 Filters support : $enable_filters
1158 Geolocation support : $enable_geolocation
1159 Client-based geolocation support : $enable_client_based_geolocation
1160 JavaScript debugger/profiler support : $enable_javascript_debugger
1161 MathML support : $enable_mathml
1162 Media statistics : $enable_media_statistics
1163 HTML5 offline web applications support : $enable_offline_web_applications
1164 HTML5 channel messaging support : $enable_channel_messaging
1165 HTML5 meter element support : $enable_meter_tag
1166 HTML5 progress element support : $enable_progress_tag
1167 HTML5 client-side session and persistent storage support : $enable_dom_storage
1168 HTML5 client-side database storage support : $enable_database
1169 HTML5 datagrid support : $enable_datagrid
1170 HTML5 data transfer items support : $enable_data_transfer_items
1171 HTML5 FileSystem API support : $enable_file_system
1172 Quota API support : $enable_quota
1173 HTML5 sandboxed iframe support : $enable_sandbox
1174 HTML5 server-sent events support : $enable_eventsource
1175 HTML5 video element support : $enable_video
1176 HTML5 track element support : $enable_track
1177 Fullscreen API support : $enable_fullscreen_api
1178 Icon database support : $enable_icon_database
1179 Image resizer support : $enable_image_resizer
1180 Link prefetch support : $enable_link_prefetch
1181 Opcode stats : $enable_opcode_stats
1182 SharedWorkers support : $enable_shared_workers
1183 Speech input support : $enable_input_speech
1184 SVG support : $enable_svg
1185 SVG animation support : $enable_svg_animation
1186 SVG fonts support : $enable_svg_fonts
1187 SVG foreign object support : $enable_svg_foreign_object
1188 SVG as image support : $enable_svg_as_image
1189 SVG use element support : $enable_svg_use
1190 WML support : $enable_wml
1191 WCSS support : $enable_wcss
1192 Web Audio support : $enable_web_audio
1193 Web Sockets support : $enable_web_sockets
1194 Web Timing support : $enable_web_timing
1195 Web Workers support : $enable_workers
1196 XHTML-MP support : $enable_xhtmlmp
1197 XPATH support : $enable_xpath
1198 XSLT support : $enable_xslt
1199 Spellcheck support : $enable_spellcheck
1202 GTK+ version : $with_gtk
1203 GDK target : $with_target
1204 Hildon UI extensions : $with_hildon
1205 Introspection support : $enable_introspection
1206 WebKit2 support : $enable_webkit2
1208 if test "$with_unicode_backend" = "glib"; then
1209 echo " >> WARNING: the glib-based unicode backend is slow and incomplete <<"