3 m4_define([webkit_major_version], [1])
4 m4_define([webkit_minor_version], [5])
5 m4_define([webkit_micro_version], [1])
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=8:0:8
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 # Disable C++0x compat warnings for GCC >= 4.6.0 until we build
104 if test "$CXX" = "g++"; then
105 CXX_VERSION=`$CXX -dumpversion`
106 AX_COMPARE_VERSION([$CXX_VERSION],[ge],[4.6.0],CXXFLAGS="$CXXFLAGS -Wno-c++0x-compat")
109 # pthread (not needed on Windows)
110 if test "$os_win32" = "no"; then
111 AC_CHECK_HEADERS([pthread.h],
112 AC_DEFINE([HAVE_PTHREAD_H],[1],[Define if pthread exists]),
113 AC_MSG_ERROR([pthread support is required to build WebKit]))
116 # check for libjpeg the way Gtk does it.
117 AC_CHECK_LIB(jpeg, jpeg_destroy_decompress,
118 jpeg_ok=yes, jpeg_ok=no
119 AC_MSG_ERROR([JPEG library (libjpeg) not found]))
120 if test "$jpeg_ok" = yes; then
121 AC_MSG_CHECKING([for jpeglib])
127 #include <jpeglib.h>],
130 AC_MSG_RESULT($jpeg_ok)
131 if test "$jpeg_ok" = yes; then
133 # should we check for progressive JPEG like GTK+ as well?
135 AC_MSG_ERROR([JPEG library (libjpeg) not found])
138 AC_SUBST([JPEG_LIBS])
140 # Check for libpng the way Gtk+ does it
141 for l in libpng libpng14 libpng12; do
142 AC_MSG_CHECKING(for $l)
143 if $PKG_CONFIG --exists $l ; then
145 PNG_LIBS=`$PKG_CONFIG --libs $l`
153 if test "$png_ok" != yes; then
154 AC_CHECK_LIB(png, png_read_info,
155 [AC_CHECK_HEADER(png.h,
158 AC_MSG_ERROR([PNG library (libpng) not found]), -lz -lm)
159 if test "$png_ok" = yes; then
160 AC_MSG_CHECKING([for png_structp in png.h])
161 AC_TRY_COMPILE([#include <png.h>],
162 [png_structp pp; png_infop info; png_colorp cmap; png_create_read_struct;],
165 AC_MSG_RESULT($png_ok)
166 if test "$png_ok" = yes; then
169 AC_MSG_ERROR([PNG library (libpng) not found])
172 AC_MSG_ERROR([PNG library (libpng) not found])
178 if test "$os_win32" = "yes"; then
180 SHLWAPI_LIBS=-lshlwapi
183 AC_SUBST([WINMM_LIBS])
184 AC_SUBST([SHLWAPI_LIBS])
185 AC_SUBST([OLE32_LIBS])
188 # determine the GTK+ version to use
189 AC_MSG_CHECKING([the GTK+ version to use])
191 [AS_HELP_STRING([--with-gtk=2.0|3.0], [the GTK+ version to use (default: 2.0)])],
194 *) AC_MSG_ERROR([invalid GTK+ version specified]) ;;
197 AC_MSG_RESULT([$with_gtk])
200 2.0) GTK_REQUIRED_VERSION=2.10
202 WEBKITGTK_API_MAJOR_VERSION=1
203 WEBKITGTK_API_MINOR_VERSION=0
204 WEBKITGTK_API_VERSION=1.0
205 WEBKITGTK_PC_NAME=webkit
207 GAIL_REQUIRED_VERSION=1.8
209 3.0) GTK_REQUIRED_VERSION=3.0
211 WEBKITGTK_API_MAJOR_VERSION=3
212 WEBKITGTK_API_MINOR_VERSION=0
213 WEBKITGTK_API_VERSION=3.0
214 WEBKITGTK_PC_NAME=webkitgtk
215 GAIL_PC_NAME=gail-3.0
216 GAIL_REQUIRED_VERSION=3.0
220 AC_SUBST([WEBKITGTK_API_MAJOR_VERSION])
221 AC_SUBST([WEBKITGTK_API_MINOR_VERSION])
222 AC_SUBST([WEBKITGTK_API_VERSION])
223 AC_SUBST([WEBKITGTK_PC_NAME])
224 AC_SUBST([GTK_API_VERSION])
225 AM_CONDITIONAL([GTK_API_VERSION_2],[test "$GTK_API_VERSION" = "2.0"])
227 # determine the GDK/GTK+ target
228 AC_MSG_CHECKING([the target windowing system])
230 AC_HELP_STRING([--with-target=@<:@x11/win32/quartz/directfb@:>@],
231 [Select webkit target [default=x11]]),
232 [],[with_target="x11"])
234 case "$with_target" in
235 x11|win32|quartz|directfb) ;;
236 *) AC_MSG_ERROR([Invalid target: must be x11, quartz, win32, or directfb.]) ;;
239 AC_MSG_RESULT([$with_target])
241 AC_MSG_CHECKING([for Hildon UI extensions])
243 AC_HELP_STRING([--with-hildon],
244 [Use Hildon UI extensions [default=no]]),
245 [],[with_hildon="no"])
246 AC_MSG_RESULT([$with_hildon])
248 if test "$with_hildon" = "yes"; then
249 HILDON_CPPFLAGS="-DMAEMO_CHANGES"
250 PKG_CHECK_MODULES([HILDON], [hildon-1])
251 AC_SUBST([HILDON_CPPFLAGS])
252 AC_SUBST([HILDON_CFLAGS])
253 AC_SUBST([HILDON_LIBS])
256 # minimum base dependencies
257 LIBSOUP_REQUIRED_VERSION=2.33.6
258 CAIRO_REQUIRED_VERSION=1.6
259 FONTCONFIG_REQUIRED_VERSION=2.4
260 FREETYPE2_REQUIRED_VERSION=9.0
261 LIBXML_REQUIRED_VERSION=2.6
263 # minimum GTK+ base dependencies
264 PANGO_REQUIRED_VERSION=1.12
267 LIBXSLT_REQUIRED_VERSION=1.1.7
268 SQLITE_REQUIRED_VERSION=3.0
269 GSTREAMER_REQUIRED_VERSION=0.10
270 GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION=0.10.25
271 ENCHANT_REQUIRED_VERSION=0.22
275 # glib - glib and includes gthread
276 # unicode - check and identify which unicode backend to use
279 WEBKIT_CHECK_DEPENDENCIES([glib unicode])
281 GETTEXT_PACKAGE=$PACKAGE-$GTK_API_VERSION
282 AC_SUBST(GETTEXT_PACKAGE)
283 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",
284 [The gettext catalog name])
286 PKG_CHECK_MODULES(LIBXML, libxml-2.0 >= $LIBXML_REQUIRED_VERSION)
287 AC_SUBST(LIBXML_CFLAGS)
288 AC_SUBST(LIBXML_LIBS)
290 PKG_CHECK_MODULES(PANGO,
291 [pango >= $PANGO_REQUIRED_VERSION
293 AC_SUBST(PANGO_CFLAGS)
296 AC_MSG_CHECKING([whether to enable spellcheck support])
297 AC_ARG_ENABLE([spellcheck],
298 [AS_HELP_STRING([--enable-spellcheck],[enable support for spellcheck])],
299 [],[enable_spellcheck="yes"])
300 AC_MSG_RESULT([$enable_spellcheck])
302 if test "$enable_spellcheck" = "yes"; then
303 PKG_CHECK_MODULES(ENCHANT, enchant >= $ENCHANT_REQUIRED_VERSION, [], [enable_spellcheck="no"])
304 AC_SUBST(ENCHANT_CFLAGS)
305 AC_SUBST(ENCHANT_LIBS)
308 PKG_CHECK_MODULES(GAIL, $GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION)
309 AC_SUBST(GAIL_CFLAGS)
312 # check for target-specific dependencies
313 if test "$with_target" = "directfb"; then
314 PKG_CHECK_MODULES(CAIRO, cairo-directfb >= $CAIRO_REQUIRED_VERSION)
315 PKG_CHECK_MODULES(GTK, gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION)
316 AC_DEFINE([WTF_PLATFORM_DIRECTFB],[1],[Define if target is DirectFB])
318 PKG_CHECK_MODULES(CAIRO, cairo >= $CAIRO_REQUIRED_VERSION)
319 PKG_CHECK_MODULES(GTK, gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION)
321 if test "$with_target" = "x11" && test "$os_win32" = "no"; then
323 PKG_CHECK_MODULES([XT],
325 [xt_has_pkg_config=yes],
326 [xt_has_pkg_config=no])
327 # some old versions of Xt do not provide xt.pc, so try to link against Xt
328 # and if it's installed fall back to just adding -lXt
329 if test "$xt_has_pkg_config" = "no"; then
330 # using AC_CHECK_LIB instead of AC_SEARCH_LIB is fine in this case as
331 # we don't care about the XtOpenDisplay symbol but only about the
333 AC_CHECK_LIB([Xt], [XtOpenDisplay],
334 [XT_CFLAGS=""; XT_LIBS="-lXt"],
335 [AC_MSG_ERROR([X Toolkit Intrinsics library (libXt) not found])])
337 AC_SUBST([XT_CFLAGS])
339 AC_DEFINE([WTF_PLATFORM_X11],[1],[Define if target is X11])
344 AC_SUBST(CAIRO_CFLAGS)
347 # check whether to build with debugging enabled
348 AC_MSG_CHECKING([whether to do a debug build])
350 AC_HELP_STRING([--enable-debug],
351 [turn on debugging [default=no]]),
352 [],[enable_debug="no"])
353 AC_MSG_RESULT([$enable_debug])
355 # check whether to enable optimized builds
356 AC_MSG_CHECKING([whether to enable optimized builds])
357 AC_ARG_ENABLE(optimizations,
358 AC_HELP_STRING([--enable-optimizations],
359 [turn on optimize builds (GCC only)
361 [enable_optimizations=$enableval],
362 [if test "$enable_debug" = "yes"; then enable_optimizations="no"; else enable_optimizations="yes"; fi])
363 AC_MSG_RESULT([$enable_optimizations])
365 # check whether to enable 3D transforms support
366 AC_MSG_CHECKING([whether to enable support for 3D Transforms])
367 AC_ARG_ENABLE(3d_transforms,
368 AC_HELP_STRING([--enable-3d-transforms],
369 [enable support for 3D transforms [default=no]]),
370 [],[enable_3d_transforms="no"])
371 AC_MSG_RESULT([$enable_3d_transforms])
373 # check whether to enable WebGL support
374 AC_MSG_CHECKING([whether to enable WebGL support])
376 AC_HELP_STRING([--enable-webgl],
377 [enable support for WebGL (experimental) [default=no]]),
378 [], [enable_webgl="no"])
379 AC_MSG_RESULT([$enable_webgl])
381 if test "$enable_webgl" = "yes"; then
382 AC_CHECK_HEADERS([GL/gl.h], [], AC_MSG_ERROR([OpenGL header not found]))
383 AC_CHECK_HEADERS([GL/glx.h], [], AC_MSG_ERROR([GLX header not found]))
386 AC_SUBST([OPENGL_LIBS])
388 # check whether to enable channel messaging support
389 AC_MSG_CHECKING([whether to enable HTML5 Channel Messaging support])
390 AC_ARG_ENABLE(channel_messaging,
391 AC_HELP_STRING([--enable-channel-messaging],
392 [enable HTML5 channel messaging support [default=yes]]),
393 [],[enable_channel_messaging="yes"])
394 AC_MSG_RESULT([$enable_channel_messaging])
396 # check whether to enable notifications
397 AC_MSG_CHECKING([whether to enable notifications])
398 AC_ARG_ENABLE(notifications,
399 AC_HELP_STRING([--enable-notifications],
400 [enable notifications [default=no]]),
401 [],[enable_notifications="no"])
402 AC_MSG_RESULT([$enable_notifications])
404 # check whether to enable the meter tag
405 AC_MSG_CHECKING([whether to enable HTML5 meter tag])
406 AC_ARG_ENABLE(meter_tag,
407 AC_HELP_STRING([--enable-meter-tag],
408 [enable HTML5 meter [default=yes]]),
409 [],[enable_meter_tag="yes"])
410 AC_MSG_RESULT([$enable_meter_tag])
412 # check whether to enable page visibility API.
413 AC_MSG_CHECKING([whether to enable Page Visibility API support])
414 AC_ARG_ENABLE(page_visibility_api,
415 AC_HELP_STRING([--enable-page-visibility-api],
416 [enable page visibility api[default=no]]),
417 [],[enable_page_visibility_api="no"])
418 AC_MSG_RESULT([$enable_page_visibility_api])
420 # check whether to enable the progress tag
421 AC_MSG_CHECKING([whether to enable HTML5 progress tag])
422 AC_ARG_ENABLE(progress_tag,
423 AC_HELP_STRING([--enable-progress-tag],
424 [enable HTML5 progress [default=yes]]),
425 [],[enable_progress_tag="yes"])
426 AC_MSG_RESULT([$enable_progress_tag])
428 # check whether to enable JavaScript debugger/profiler support
429 AC_MSG_CHECKING([whether to enable JavaScript debugger/profiler support])
430 AC_ARG_ENABLE(javascript_debugger,
431 AC_HELP_STRING([--enable-javascript-debugger],
432 [enable JavaScript debugger/profiler support [default=yes]]),
433 [],[enable_javascript_debugger="yes"])
434 AC_MSG_RESULT([$enable_javascript_debugger])
436 # check whether to build with datagrid support
437 AC_MSG_CHECKING([whether to enable HTML5 datagrid support])
438 AC_ARG_ENABLE(datagrid,
439 AC_HELP_STRING([--enable-datagrid],
440 [enable HTML5 datagrid support [default=no]]),
441 [],[enable_datagrid="no"])
442 AC_MSG_RESULT([$enable_datagrid])
444 # check whether to build with data transfer items support
445 AC_MSG_CHECKING([whether to enable HTML5 data transfer items support])
446 AC_ARG_ENABLE(data_transfer_items,
447 AC_HELP_STRING([--enable-data-transfer-items],
448 [enable HTML5 data transfer items support [default=no]]),
449 [],[enable_data_transfer_items="no"])
450 AC_MSG_RESULT([$enable_data_transfer_items])
452 # check whether to enable HTML5 Offline Web Applications support
453 AC_MSG_CHECKING([whether to enable HTML5 offline web applications support])
454 AC_ARG_ENABLE(offline_web_applications,
455 AC_HELP_STRING([--enable-offline-web-applications],
456 [enable HTML5 offline web applications support [default=yes]]),
457 [],[enable_offline_web_applications="yes"])
458 AC_MSG_RESULT([$enable_offline_web_applications])
460 # check whether to enable HTML5 client-side session and persitent storage support
461 AC_MSG_CHECKING([whether to enable HTML5 client-side session and persistent storage support])
462 AC_ARG_ENABLE(dom_storage,
463 AC_HELP_STRING([--enable-dom-storage],
464 [enable HTML5 client-side session and persistent storage support [default=yes]]),
465 [],[enable_dom_storage="yes"])
466 AC_MSG_RESULT([$enable_dom_storage])
468 # check whether to enable the indexed database API
469 AC_MSG_CHECKING([whether to enable the indexed database API])
470 AC_ARG_ENABLE(indexed_database,
471 AC_HELP_STRING([--enable-indexed-database],
472 [enable the indexed database API [default=no]]),
473 [],[enable_indexed_database="no"])
474 AC_MSG_RESULT([$enable_indexed_database])
476 # check whether to enable the color input
477 AC_MSG_CHECKING([whether to enable the color input])
478 AC_ARG_ENABLE(input_color,
479 AC_HELP_STRING([--enable-input-color],
480 [enable the color input [default=no]]),
481 [],[enable_input_color="no"])
482 AC_MSG_RESULT([$enable_input_color])
484 # check whether to enable the speech input API
485 AC_MSG_CHECKING([whether to enable the speech input API])
486 AC_ARG_ENABLE(input_speech,
487 AC_HELP_STRING([--enable-input-speech],
488 [enable the speech input API [default=no]]),
489 [],[enable_input_speech="no"])
490 AC_MSG_RESULT([$enable_input_speech])
492 # check whether to build with database support
493 AC_MSG_CHECKING([whether to enable HTML5 client-side database storage support])
494 AC_ARG_ENABLE(database,
495 AC_HELP_STRING([--enable-database],
496 [enable HTML5 client-side database storage support [default=yes]]),
497 [],[enable_database="yes"])
498 AC_MSG_RESULT([$enable_database])
500 # check whether to build with server-sent events support
501 AC_MSG_CHECKING([whether to enable HTML5 server-sent events support])
502 AC_ARG_ENABLE(eventsource,
503 AC_HELP_STRING([--enable-eventsource],
504 [enable HTML5 server-sent events support [default=yes]]),
505 [],[enable_eventsource="yes"])
506 AC_MSG_RESULT([$enable_eventsource])
508 # check whether to build with icon database support
509 AC_MSG_CHECKING([whether to enable icon database support])
510 AC_ARG_ENABLE(icon_database,
511 AC_HELP_STRING([--enable-icon-database],
512 [enable icon database [default=yes]]),
513 [],[enable_icon_database="yes"])
514 AC_MSG_RESULT([$enable_icon_database])
516 # check whether to build with image resizer API support
517 AC_MSG_CHECKING([whether to enable image resizer API support])
518 AC_ARG_ENABLE(image_resizer,
519 AC_HELP_STRING([--enable-image-resizer],
520 [enable image resizer [default=no]]),
521 [],[enable_image_resizer="no"])
522 AC_MSG_RESULT([$enable_image_resizer])
524 # check whether to enable HTML5 datalist support
525 AC_MSG_CHECKING([whether to enable HTML5 datalist support])
526 AC_ARG_ENABLE(datalist,
527 AC_HELP_STRING([--enable-datalist],
528 [enable HTML5 datalist support [default=yes]]),
529 [],[enable_datalist="yes"])
530 AC_MSG_RESULT([$enable_datalist])
532 # check whether to enable HTML5 sandbox iframe support
533 AC_MSG_CHECKING([whether to enable HTML5 sandboxed iframe support])
534 AC_ARG_ENABLE(sandbox,
535 AC_HELP_STRING([--enable-sandbox],
536 [enable HTML5 sandboxed iframe support [default=yes]]),
537 [],[enable_sandbox="yes"])
538 AC_MSG_RESULT([$enable_sandbox])
540 # check whether to enable HTML5 audio/video support
541 AC_MSG_CHECKING([whether to enable HTML5 video support])
543 AC_HELP_STRING([--enable-video],
544 [enable HTML5 video support [default=yes]]),
545 [],[enable_video="yes"])
546 AC_MSG_RESULT([$enable_video])
548 # turn off video features if --disable-video is requested
549 if test "$enable_video" = "no"; then
550 enable_video_track=no
553 # check whether to enable HTML5 video track support
554 AC_MSG_CHECKING([whether to enable HTML5 video track support])
555 AC_ARG_ENABLE(video_track,
556 AC_HELP_STRING([--enable-video-track],
557 [enable HTML5 video track support [default=yes]]),
558 [],[enable_video_track="yes"])
559 AC_MSG_RESULT([$enable_video_track])
561 # check whether to enable media statistics support
562 AC_MSG_CHECKING([whether to enable media statistics support])
563 AC_ARG_ENABLE(media_statistics,
564 AC_HELP_STRING([--enable-media-statistics],
565 [enable support for media statistics [default=no]]),
566 [], [enable_media_statistics="no"])
567 AC_MSG_RESULT([$enable_media_statistics])
569 # check whether to enable Javascript Fullscreen API support
570 AC_MSG_CHECKING([whether to enable Fullscreen API support])
571 AC_ARG_ENABLE(fullscreen_api,
572 AC_HELP_STRING([--enable-fullscreen-api],
573 [enable the Fullscreen API support [default=yes]]),
574 [],[enable_fullscreen_api="yes"])
575 AC_MSG_RESULT([$enable_fullscreen_api])
577 # check whether to enable XHTML-MP support
578 AC_MSG_CHECKING([whether to enable XHTML-MP support])
579 AC_ARG_ENABLE(xhtmlmp,
580 AC_HELP_STRING([--enable-xhtmlmp],
581 [enable support for XHTML-MP [default=no]]),
582 [],[enable_xhtmlmp="no"])
583 AC_MSG_RESULT([$enable_xhtmlmp])
585 # check whether to enable XPath support
586 AC_MSG_CHECKING([whether to enable XPath support])
588 AC_HELP_STRING([--enable-xpath],
589 [enable support for XPath [default=yes]]),
590 [],[enable_xpath="yes"])
591 AC_MSG_RESULT([$enable_xpath])
593 # check whether to enable XSLT support
594 AC_MSG_CHECKING([whether to enable XSLT support])
596 AC_HELP_STRING([--enable-xslt],
597 [enable support for XSLT [default=yes]]),
598 [],[enable_xslt="yes"])
599 AC_MSG_RESULT([$enable_xslt])
601 # check whether to enable geolocation support
602 AC_MSG_CHECKING([whether to enable geolocation support])
603 AC_ARG_ENABLE(geolocation,
604 AC_HELP_STRING([--enable-geolocation],
605 [enable support for geolocation [default=no]]),
606 [],[enable_geolocation="no"])
607 AC_MSG_RESULT([$enable_geolocation])
609 # check whether to enable client-based geolocation support
610 AC_MSG_CHECKING([whether to enable client-based geolocation support])
611 AC_ARG_ENABLE(client_based_geolocation,
612 AC_HELP_STRING([--enable-client-based-geolocation],
613 [enable support for client-based geolocation [default=no]]),
614 [],[enable_client_based_geolocation="no"])
615 AC_MSG_RESULT([$enable_client_based_geolocation])
617 # check whether to enable MathML support
618 AC_MSG_CHECKING([whether to enable MathML support])
619 AC_ARG_ENABLE(mathml,
620 AC_HELP_STRING([--enable-mathml],
621 [enable support for MathML [default=no]]),
622 [],[enable_mathml="no"])
623 AC_MSG_RESULT([$enable_mathml])
625 # check whether to enable SVG support
626 AC_MSG_CHECKING([whether to enable SVG support])
628 AC_HELP_STRING([--enable-svg],
629 [enable support for SVG [default=yes]]),
630 [],[enable_svg="yes"])
631 AC_MSG_RESULT([$enable_svg])
633 # check whether to enable WCSS support
634 AC_MSG_CHECKING([whether to enable WCSS support])
636 AC_HELP_STRING([--enable-wcss],
637 [enable support for WCSS [default=no]]),
638 [],[enable_wcss="no"])
639 AC_MSG_RESULT([$enable_wcss])
641 # check whether to enable SharedWorkers support
642 AC_MSG_CHECKING([whether to enable SharedWorkers support])
643 AC_ARG_ENABLE(shared_workers,
644 AC_HELP_STRING([--enable-shared-workers],
645 [enable support for SharedWorkers [default=yes]]),
646 [],[enable_shared_workers="yes"])
647 AC_MSG_RESULT([$enable_shared_workers])
649 # check whether to enable Web Workers support
650 AC_MSG_CHECKING([whether to enable Web Workers support])
651 AC_ARG_ENABLE(workers,
652 AC_HELP_STRING([--enable-workers],
653 [enable support for Web Workers [default=yes]]),
654 [],[enable_workers="yes"])
655 AC_MSG_RESULT([$enable_workers])
657 # check whether to enable directory upload support
658 AC_MSG_CHECKING([whether to enable directory upload support])
659 AC_ARG_ENABLE(directory_upload,
660 AC_HELP_STRING([--enable-directory-upload],
661 [enable support for directory upload [default=no]]),
662 [], [enable_directory_upload="no"])
663 AC_MSG_RESULT([$enable_directory_upload])
665 # check whether to enable HTML5 FileSystem API support
666 AC_MSG_CHECKING([whether to enable HTML5 FileSystem API support])
667 AC_ARG_ENABLE(file_system,
668 AC_HELP_STRING([--enable-file-system],
669 [enable support for HTML5 FileSystem API [default=no]]),
670 [], [enable_file_system="no"])
671 AC_MSG_RESULT([$enable_file_system])
673 # check whether to enable Quota API support
674 AC_MSG_CHECKING([whether to enable Quota API support])
676 AC_HELP_STRING([--enable-quota],
677 [enable support for Quota API [default=no]]),
678 [], [enable_quota="no"])
679 AC_MSG_RESULT([$enable_quota])
681 # turn off svg features if --disable-svg is requested
682 if test "$enable_svg" = "no"; then
683 enable_svg_animation=no
685 enable_svg_foreign_object=no
686 enable_svg_as_image=no
690 # check whether to enable support for SVG animation
691 AC_MSG_CHECKING([whether to enable support for SVG animation])
692 AC_ARG_ENABLE(svg_animation,
693 AC_HELP_STRING([--enable-svg-animation],
694 [enable support for SVG animation (experimental) [default=yes]]),
695 [],[enable_svg_animation="yes"])
696 AC_MSG_RESULT([$enable_svg_animation])
698 # check whether to enable support for filters
699 AC_MSG_CHECKING([whether to enable support for filters])
700 AC_ARG_ENABLE(filters,
701 AC_HELP_STRING([--enable-filters],
702 [enable support for filters (experimental) [default=yes]]),
703 [],[enable_filters="yes"])
704 AC_MSG_RESULT([$enable_filters])
706 # check whether to enable support for SVG fonts
707 AC_MSG_CHECKING([whether to enable support for SVG fonts])
708 AC_ARG_ENABLE(svg_fonts,
709 AC_HELP_STRING([--enable-svg-fonts],
710 [enable support for SVG fonts (experimental) [default=yes]]),
711 [],[enable_svg_fonts="yes"])
712 AC_MSG_RESULT([$enable_svg_fonts])
714 # check whether to enable foreign objects support for SVG
715 AC_MSG_CHECKING([whether to enable support for SVG foreign objects])
716 AC_ARG_ENABLE(svg_foreign_object,
717 AC_HELP_STRING([--enable-svg-foreign-object],
718 [enable support for SVG foreign objects (experimental) [default=yes]]),
719 [],[enable_svg_foreign_object="yes"])
720 AC_MSG_RESULT([$enable_svg_foreign_object])
722 # check whether to enable SVG As Image support
723 AC_MSG_CHECKING([whether to enable SVG as Image support])
724 AC_ARG_ENABLE(svg_as_image,
725 AC_HELP_STRING([--enable-svg-as-image],
726 [enable SVG as Image support (experimental) [default=yes]]),
727 [],[enable_svg_as_image="yes"])
728 AC_MSG_RESULT([$enable_svg_as_image])
730 # check whether to enable SVG USE element support
731 AC_MSG_CHECKING([whether to enable support for SVG use element])
732 AC_ARG_ENABLE(svg_use,
733 AC_HELP_STRING([--enable-svg-use],
734 [enable SVG use element support (experimental) [default=yes]]),
735 [],[enable_svg_use="yes"])
736 AC_MSG_RESULT([$enable_svg_use])
738 # check for SVG features, enabling SVG if necessary
739 if test "$enable_svg_animation" = "yes" || \
740 test "$enable_svg_fonts" = "yes" || \
741 test "$enable_svg_foreign_object" = "yes" || \
742 test "$enable_svg_as_image" = "yes" || \
743 test "$enable_svg_use" = "yes"; then
745 if test "$enable_svg" = "no"; then
746 AC_MSG_WARN([SVG feature(s) requested but SVG is disabled.. Enabling SVG support])
751 # check whether to enable Web Socket support
752 AC_MSG_CHECKING([whether to enable Web Sockets support])
753 AC_ARG_ENABLE(web_sockets,
754 AC_HELP_STRING([--enable-web-sockets],
755 [enable support for Web Sockets [default=yes]]),
756 [],[enable_web_sockets="yes"])
757 AC_MSG_RESULT([$enable_web_sockets])
759 # check whether to enable Web Audio support
760 AC_MSG_CHECKING([whether to enable Web Audio support])
761 AC_ARG_ENABLE(web_audio,
762 AC_HELP_STRING([--enable-web-audio],
763 [enable support for Web Audio [default=no]]),
764 [],[enable_web_audio="no"])
765 AC_MSG_RESULT([$enable_web_audio])
767 # check whether to enable Web Timing support
768 AC_MSG_CHECKING([whether to enable Web Timing support])
769 AC_ARG_ENABLE(web_timing,
770 AC_HELP_STRING([--enable-web-timing],
771 [enable support for Web Timing [default=no]]),
772 [],[enable_web_timing="no"])
773 AC_MSG_RESULT([$enable_web_timing])
775 # check whether to enable Blob support
776 AC_MSG_CHECKING([whether to enable Blob support])
778 AC_HELP_STRING([--enable-blob],
779 [enable support for Blob [default=yes]]),
780 [],[enable_blob="yes"])
781 AC_MSG_RESULT([$enable_blob])
783 # check whether to enable Fast Mobile Scrolling support
784 AC_MSG_CHECKING([whether to enable Fast Mobile Scrolling])
785 AC_ARG_ENABLE(fast_mobile_scrolling,
786 AC_HELP_STRING([--enable-fast-mobile-scrolling],
787 [enable support for Fast Mobile Scrolling [default=no]]),
788 [],[enable_fast_mobile_scrolling="no"])
789 AC_MSG_RESULT([$enable_fast_mobile_scrolling])
791 # check whether to enable code coverage
792 AC_MSG_CHECKING([whether to enable code coverage support])
793 AC_ARG_ENABLE(coverage,
794 AC_HELP_STRING([--enable-coverage],
795 [enable code coverage support [default=no]]),
796 [],[enable_coverage="no"])
797 AC_MSG_RESULT([$enable_coverage])
799 # check whether to enable FastMalloc
800 AC_MSG_CHECKING([whether to enable optimized memory allocator])
801 AC_ARG_ENABLE(fast_malloc,
802 AC_HELP_STRING([--enable-fast-malloc],
803 [enable optimized memory allocator default=yes, default=no for debug builds]),
804 [],[if test "$enable_debug" = "yes"; then enable_fast_malloc="no"; else enable_fast_malloc="yes"; fi])
805 AC_MSG_RESULT([$enable_fast_malloc])
807 AC_MSG_CHECKING([whether to enable JIT compilation])
809 AC_HELP_STRING([--enable-jit],
810 [Enable JIT compilation default=yes]),
811 [],[enable_jit="yes"])
812 if test "$enable_jit" = "yes"; then
815 AC_DEFINE([ENABLE_JIT], [1], [Define to enable JIT])
816 AC_DEFINE([ENABLE_YARR], [1], [Define to enable YARR])
817 AC_DEFINE([ENABLE_YARR_JIT], [1], [Define to enable YARR JIT])
820 AC_DEFINE([ENABLE_JIT], [1], [Define to enable JIT])
821 AC_DEFINE([ENABLE_YARR], [1], [Define to enable YARR])
822 AC_DEFINE([ENABLE_YARR_JIT], [1], [Define to enable YARR JIT])
823 AC_DEFINE([ENABLE_JIT_OPTIMIZE_CALL], [1], [Define to enable optimizing calls])
824 AC_DEFINE([ENABLE_JIT_OPTIMIZE_PROPERTY_ACCESS], [1], [Define to enable optimized property access])
825 AC_DEFINE([ENABLE_JIT_OPTIMIZE_ARITHMETIC], [1], [Define to enable optimized arithmetic])
828 AC_DEFINE([WTF_USE_JIT_STUB_ARGUMENT_VA_LIST], [1], [Use stub va_list])
831 AC_DEFINE([WTF_USE_JIT_STUB_ARGUMENT_REGISTER], [1], [Use stub register])
832 AC_DEFINE([WTF_USE_ALTERNATE_JSIMMEDIATE], [1], [Use alternate JSImmediate])
837 AC_DEFINE([ENABLE_YARR], [1], [Define to enable YARR])
838 AC_DEFINE([ENABLE_YARR_JIT], [1], [Define to enable YARR JIT])
839 AC_DEFINE([ENABLE_JIT], [1], [Define to enable JIT])
840 AC_DEFINE([WTF_USE_JIT_STUB_ARGUMENT_REGISTER], [1], [Use stub register])
843 enable_jit="no (CPU '$host_cpu' not supported)"
847 AC_DEFINE([ENABLE_JIT], [0], [Define to enable JIT])
849 AC_MSG_RESULT([$enable_jit])
852 AC_MSG_CHECKING([whether to enable opcode stats])
853 AC_ARG_ENABLE([opcode-stats],
854 [AS_HELP_STRING([--enable-opcode-stats], [Enable Opcode statistics (default: disabled)])],
855 [], [enable_opcode_stats=no])
856 AC_MSG_RESULT([$enable_opcode_stats])
858 if test "$enable_opcode_stats" = "yes"; then
859 if test "$enable_jit" = "yes"; then
860 AC_MSG_ERROR([JIT must be disabled for Opcode stats to work.])
862 AC_DEFINE([ENABLE_OPCODE_STATS], [1], [Define to enable Opcode statistics])
866 AC_MSG_CHECKING([whether to enable link prefetch support])
867 AC_ARG_ENABLE([link-prefetch],
868 [AS_HELP_STRING([--enable-link-prefetch], [Enable Link prefetch support (default: disabled)])],
869 [],[enable_link_prefetch=no])
870 AC_MSG_RESULT([$enable_link_prefetch])
872 if test "$enable_link_prefetch" = "yes"; then
873 AC_DEFINE([ENABLE_LINK_PREFETCH], [1], [Define to enable link prefetch support])
876 # GObject Introspection
877 AC_MSG_CHECKING([whether to enable GObject introspection support])
878 AC_ARG_ENABLE([introspection],
879 [AS_HELP_STRING([--enable-introspection],[Enable GObject introspection (default: disabled)])],
880 [],[enable_introspection=no])
881 AC_MSG_RESULT([$enable_introspection])
883 # check whether to enable animation API
884 AC_MSG_CHECKING([whether to enable Animation API support])
885 AC_ARG_ENABLE(animation_api,
886 AC_HELP_STRING([--enable-animation-api],
887 [enable support for Animation API (experimental) [default=no]]),
888 [], [enable_animation_api="no"])
889 AC_MSG_RESULT([$enable_animation_api])
891 # check whether to enable touch icon loading
892 AC_MSG_CHECKING([whether to enable touch icon loading])
893 AC_ARG_ENABLE(touch_icon_loading,
894 AC_HELP_STRING([--enable-touch-icon-loading],
895 [enable support for loading touch icons [default=no]]),
896 [], [enable_touch_icon_loading="no"])
897 AC_MSG_RESULT([$enable_touch_icon_loading])
899 # check whether to enable Register Protocol Handler support
900 AC_MSG_CHECKING([whether to enable Register Protocol Handler])
901 AC_ARG_ENABLE(register_protocol_handler,
902 AC_HELP_STRING([--enable-register-protocol-handler],
903 [enable support for Register Protocol Handler (experimental) [default=no]]),
904 [],[enable_register_protocol_handler="no"])
905 AC_MSG_RESULT([$enable_register_protocol_handler])
913 if test "$enable_introspection" = "yes"; then
914 GOBJECT_INTROSPECTION_REQUIRED=0.9.5
915 PKG_CHECK_MODULES([INTROSPECTION],[gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED])
917 G_IR_SCANNER="$($PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0)"
918 G_IR_COMPILER="$($PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0)"
919 G_IR_GENERATE="$($PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0)"
920 AC_DEFINE([ENABLE_INTROSPECTION],[1],[Define to enable GObject introspection support])
923 AC_SUBST([G_IR_SCANNER])
924 AC_SUBST([G_IR_COMPILER])
925 AC_SUBST([G_IR_GENERATE])
927 # determine the font backend
928 AC_MSG_CHECKING([the font backend to use])
929 AC_ARG_WITH(font_backend,
930 AC_HELP_STRING([--with-font-backend=@<:@freetype/pango@:>@],
931 [Select font backend [default=freetype]]),
932 [],[with_font_backend="freetype"])
934 case "$with_font_backend" in
936 *) AC_MSG_ERROR([Invalid font backend: must be freetype or pango.]) ;;
938 AC_MSG_RESULT([$with_font_backend])
940 if test "$host_cpu" = "sh4"; then
941 CXXFLAGS="$CXXFLAGS -mieee -w"
942 CFLAGS="$CFLAGS -mieee -w"
945 # Add '-g' flag to gcc if it's debug build
946 if test "$enable_debug" = "yes"; then
947 CXXFLAGS="$CXXFLAGS -g"
950 AC_DEFINE([NDEBUG], [1], [Define to disable debugging features])
953 # Add the appropriate 'O' level for optimized builds
954 if test "$enable_optimizations" = "yes"; then
955 CXXFLAGS="$CXXFLAGS -O2"
958 CXXFLAGS="$CXXFLAGS -O0"
962 PKG_CHECK_MODULES([LIBSOUP],
963 [libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION])
964 AC_SUBST([LIBSOUP_CFLAGS])
965 AC_SUBST([LIBSOUP_LIBS])
967 # check if FreeType/FontConfig are available
968 if test "$with_font_backend" = "freetype"; then
969 if test "$with_target" = "directfb"; then
970 PKG_CHECK_MODULES([FREETYPE],
971 [fontconfig >= $FONTCONFIG_REQUIRED_VERSION
972 freetype2 >= $FREETYPE2_REQUIRED_VERSION])
974 PKG_CHECK_MODULES([FREETYPE],
976 fontconfig >= $FONTCONFIG_REQUIRED_VERSION
977 freetype2 >= $FREETYPE2_REQUIRED_VERSION])
979 AC_SUBST([FREETYPE_CFLAGS])
980 AC_SUBST([FREETYPE_LIBS])
983 # check if SQLite3 is available. Error out only if one of the
984 # features hard-depending on it is enabled while SQLite3 is
986 PKG_CHECK_MODULES([SQLITE3],
987 [sqlite3 >= $SQLITE_REQUIRED_VERSION],
988 [sqlite3_has_pkg_config=yes],
989 [sqlite3_has_pkg_config=no])
990 if test "$sqlite3_has_pkg_config" = "no"; then
991 AC_SEARCH_LIBS([sqlite3_open16], [sqlite3],
992 [sqlite3_found=yes;SQLITE3_LIBS="$LIBS";SQLITE3_CFLAGS="-I $srcdir/WebKitLibraries/WebCoreSQLite3"],
995 AC_SUBST([SQLITE3_CFLAGS])
996 AC_SUBST([SQLITE3_LIBS])
998 if (test "$sqlite3_found" = "no") && (test "$enable_icon_database" = "yes" || \
999 test "$enable_database" = "yes" || \
1000 test "$enable_offline_web_applications" = "yes" || \
1001 test "$enable_dom_storage" = "yes"); then
1002 AC_MSG_ERROR([SQLite3 is required for the Database related features])
1005 # check if libxslt is available
1006 if test "$enable_xslt" = "yes"; then
1007 PKG_CHECK_MODULES([LIBXSLT],[libxslt >= $LIBXSLT_REQUIRED_VERSION])
1008 AC_SUBST([LIBXSLT_CFLAGS])
1009 AC_SUBST([LIBXSLT_LIBS])
1012 # check if geoclue is available
1013 if test "$enable_geolocation" = "yes"; then
1014 PKG_CHECK_MODULES([GEOCLUE], [geoclue])
1015 AC_SUBST([GEOCLUE_CFLAGS])
1016 AC_SUBST([GEOCLUE_LIBS])
1019 # check for XRender under Linux/Unix. Some linkers require explicit
1020 # linkage (like GNU Gold), so we cannot rely on GTK+ pulling XRender
1021 if test "$os_win32" = "no"; then
1022 PKG_CHECK_MODULES([XRENDER], [xrender])
1023 AC_SUBST([XRENDER_CFLAGS])
1024 AC_SUBST([XRENDER_LIBS])
1027 # check if gstreamer is available
1028 if test "$enable_video" = "yes"; then
1029 PKG_CHECK_MODULES([GSTREAMER],
1030 [gstreamer-0.10 >= $GSTREAMER_REQUIRED_VERSION
1033 gstreamer-interfaces-0.10
1034 gstreamer-pbutils-0.10
1035 gstreamer-plugins-base-0.10 >= $GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION
1036 gstreamer-video-0.10],
1037 [have_gstreamer=yes])
1039 AC_SUBST([GSTREAMER_CFLAGS])
1040 AC_SUBST([GSTREAMER_LIBS])
1043 # check for code coverage support
1044 if test "$enable_coverage" = "yes"; then
1045 COVERAGE_CFLAGS="-MD"
1046 COVERAGE_LDFLAGS="-ftest-coverage -fprofile-arcs"
1047 AC_SUBST([COVERAGE_CFLAGS])
1048 AC_SUBST([COVERAGE_LDFLAGS])
1051 # check for HTML features
1052 if test "$enable_video" = "yes"; then
1057 AC_MSG_CHECKING([whether to build Webkit2])
1058 AC_ARG_ENABLE(webkit2,
1059 AC_HELP_STRING([--enable-webkit2],
1060 [build webkit2 [default=no]]),
1061 [], [enable_webkit2="no"])
1062 AC_MSG_RESULT([$enable_webkit2])
1063 if test "$enable_webkit2" = "yes"; then
1064 if test "$GTK_API_VERSION" = "2.0"; then
1065 AC_MSG_ERROR([WebKit2 requires GTK+ 3.x, use --with-gtk=3.0])
1070 AC_MSG_CHECKING([whether to build plugin process for WebKit2])
1071 AC_ARG_ENABLE(plugin_process,
1072 AC_HELP_STRING([--enable-plugin-process],
1073 [build plugin process for WebKit2 [default=yes]]),
1074 [], [enable_plugin_process="no"])
1075 # Build the plugin process only when building webkit2.
1076 if test "$enable_webkit2" = "no"; then
1077 enable_plugin_process=no
1079 AC_MSG_RESULT([$enable_plugin_process])
1081 GTK_DOC_CHECK([1.10])
1084 AM_CONDITIONAL([OS_WIN32],[test "$os_win32" = "yes"])
1085 AM_CONDITIONAL([OS_UNIX],[test "$os_win32" = "no"])
1086 AM_CONDITIONAL([OS_LINUX],[test "$os_linux" = "yes"])
1087 AM_CONDITIONAL([OS_GNU],[test "$os_gnu" = "yes"])
1088 AM_CONDITIONAL([OS_FREEBSD],[test "$os_freebsd" = "yes"])
1090 # target conditionals
1091 AM_CONDITIONAL([TARGET_X11], [test "$with_target" = "x11"])
1092 AM_CONDITIONAL([TARGET_WIN32], [test "$with_target" = "win32"])
1093 AM_CONDITIONAL([TARGET_QUARTZ], [test "$with_target" = "quartz"])
1094 AM_CONDITIONAL([TARGET_DIRECTFB], [test "$with_target" = "directfb"])
1096 # Unicode backend conditionals
1097 AM_CONDITIONAL([USE_ICU_UNICODE], [test "$with_unicode_backend" = "icu"])
1098 AM_CONDITIONAL([USE_GLIB_UNICODE], [test "$with_unicode_backend" = "glib"])
1100 # Font backend conditionals
1101 AM_CONDITIONAL([USE_FREETYPE], [test "$with_font_backend" = "freetype"])
1102 AM_CONDITIONAL([USE_PANGO], [test "$with_font_backend" = "pango"])
1104 # GStreamer feature conditional
1105 AM_CONDITIONAL([USE_GSTREAMER], [test "$have_gstreamer" = "yes"])
1107 # WebKit feature conditionals
1108 AM_CONDITIONAL([ENABLE_DEBUG],[test "$enable_debug" = "yes"])
1109 AM_CONDITIONAL([ENABLE_3D_TRANSFORMS],[test "$enable_3d_transforms" = "yes"])
1110 AM_CONDITIONAL([ENABLE_WEBGL],[test "$enable_webgl" = "yes"])
1111 AM_CONDITIONAL([ENABLE_BLOB],[test "$enable_blob" = "yes"])
1112 AM_CONDITIONAL([ENABLE_METER_TAG],[test "$enable_meter_tag" = "yes"])
1113 AM_CONDITIONAL([ENABLE_PAGE_VISIBILITY_API],[test "$enable_page_visibility_api" = "yes"])
1114 AM_CONDITIONAL([ENABLE_PROGRESS_TAG],[test "$enable_progress_tag" = "yes"])
1115 AM_CONDITIONAL([ENABLE_CHANNEL_MESSAGING],[test "$enable_channel_messaging" = "yes"])
1116 AM_CONDITIONAL([ENABLE_JAVASCRIPT_DEBUGGER],[test "$enable_javascript_debugger" = "yes"])
1117 AM_CONDITIONAL([ENABLE_OFFLINE_WEB_APPLICATIONS],[test "$enable_offline_web_applications" = "yes"])
1118 AM_CONDITIONAL([ENABLE_DIRECTORY_UPLOAD],[test "$enable_directory_upload" = "yes"])
1119 AM_CONDITIONAL([ENABLE_DATAGRID],[test "$enable_datagrid" = "yes"])
1120 AM_CONDITIONAL([ENABLE_DATA_TRANSFER_ITEMS],[test "$enable_data_transfer_items" = "yes"])
1121 AM_CONDITIONAL([ENABLE_DOM_STORAGE],[test "$enable_dom_storage" = "yes"])
1122 AM_CONDITIONAL([ENABLE_DATABASE],[test "$enable_database" = "yes"])
1123 AM_CONDITIONAL([ENABLE_DATALIST],[test "$enable_datalist" = "yes"])
1124 AM_CONDITIONAL([ENABLE_DETAILS],[test "$enable_details" = "yes"])
1125 AM_CONDITIONAL([ENABLE_EVENTSOURCE],[test "$enable_eventsource" = "yes"])
1126 AM_CONDITIONAL([ENABLE_FAST_MOBILE_SCROLLING],[test "$enable_fast_mobile_scrolling" = "yes"])
1127 AM_CONDITIONAL([ENABLE_FILE_SYSTEM],[test "$enable_file_system" = "yes"])
1128 AM_CONDITIONAL([ENABLE_QUOTA],[test "$enable_quota" = "yes"])
1129 AM_CONDITIONAL([ENABLE_ICONDATABASE],[test "$enable_icon_database" = "yes"])
1130 AM_CONDITIONAL([ENABLE_IMAGE_RESIZER],[test "$enable_image_resizer" = "yes"])
1131 AM_CONDITIONAL([ENABLE_INDEXED_DATABASE],[test "$enable_indexed_database" = "yes"])
1132 AM_CONDITIONAL([ENABLE_INPUT_COLOR],[test "$enable_input_color" = "yes"])
1133 AM_CONDITIONAL([ENABLE_INPUT_SPEECH],[test "$enable_input_speech" = "yes"])
1134 AM_CONDITIONAL([ENABLE_XHTMLMP],[test "$enable_xhtmlmp" = "yes"])
1135 AM_CONDITIONAL([ENABLE_XPATH],[test "$enable_xpath" = "yes"])
1136 AM_CONDITIONAL([ENABLE_XSLT],[test "$enable_xslt" = "yes"])
1137 AM_CONDITIONAL([ENABLE_FILTERS],[test "$enable_filters" = "yes"])
1138 AM_CONDITIONAL([ENABLE_GEOLOCATION], [test "$enable_geolocation" = "yes"])
1139 AM_CONDITIONAL([ENABLE_CLIENT_BASED_GEOLOCATION], [test "$enable_client_based_geolocation" = "yes"])
1140 AM_CONDITIONAL([ENABLE_MATHML], [test "$enable_mathml" = "yes"])
1141 AM_CONDITIONAL([ENABLE_MHTML], [test "$enable_mhtml" = "yes"])
1142 AM_CONDITIONAL([ENABLE_VIDEO],[test "$enable_video" = "yes"])
1143 AM_CONDITIONAL([ENABLE_MEDIA_STATISTICS],[test "$enable_media_statistics" = "yes"])
1144 AM_CONDITIONAL([ENABLE_VIDEO_TRACK],[test "$enable_video_track" = "yes"])
1145 AM_CONDITIONAL([ENABLE_FULLSCREEN_API],[test "$enable_fullscreen_api" = "yes"])
1146 AM_CONDITIONAL([ENABLE_NOTIFICATIONS],[test "$enable_notifications" = "yes"])
1147 AM_CONDITIONAL([ENABLE_ORIENTATION_EVENTS],[test "$enable_orientation_events" = "yes"])
1148 AM_CONDITIONAL([ENABLE_SVG],[test "$enable_svg" = "yes"])
1149 AM_CONDITIONAL([ENABLE_SVG_ANIMATION],[test "$enable_svg_animation" = "yes"])
1150 AM_CONDITIONAL([ENABLE_SVG_FONTS],[test "$enable_svg_fonts" = "yes"])
1151 AM_CONDITIONAL([ENABLE_SVG_FOREIGN_OBJECT],[test "$enable_svg_foreign_object" = "yes"])
1152 AM_CONDITIONAL([ENABLE_SVG_AS_IMAGE],[test "$enable_svg_as_image" = "yes"])
1153 AM_CONDITIONAL([ENABLE_SVG_USE],[test "$enable_svg_use" = "yes"])
1154 AM_CONDITIONAL([ENABLE_COVERAGE],[test "$enable_coverage" = "yes"])
1155 AM_CONDITIONAL([ENABLE_FAST_MALLOC],[test "$enable_fast_malloc" = "yes"])
1156 AM_CONDITIONAL([ENABLE_WCSS],[test "$enable_wcss" = "yes"])
1157 AM_CONDITIONAL([ENABLE_WORKERS],[test "$enable_workers" = "yes"])
1158 AM_CONDITIONAL([ENABLE_SHARED_WORKERS],[test "$enable_shared_workers" = "yes"])
1159 AM_CONDITIONAL([SVG_FLAGS],[test "$svg_flags" = "yes"])
1160 AM_CONDITIONAL([HTML_FLAGS],[test "$html_flags" = "yes"])
1161 AM_CONDITIONAL([ENABLE_WEB_SOCKETS],[test "$enable_web_sockets" = "yes"])
1162 AM_CONDITIONAL([ENABLE_WEB_AUDIO],[test "$enable_web_audio" = "yes"])
1163 AM_CONDITIONAL([ENABLE_WEB_TIMING],[test "$enable_web_timing" = "yes"])
1164 AM_CONDITIONAL([ENABLE_OPCODE_STATS],[test "$enable_opcode_stats" = "yes"])
1165 AM_CONDITIONAL([ENABLE_WEBKIT2],[test "$enable_webkit2" = "yes"])
1166 AM_CONDITIONAL([ENABLE_PLUGIN_PROCESS],[test "$enable_plugin_process" = "yes"])
1167 AM_CONDITIONAL([ENABLE_SPELLCHECK],[test "$enable_spellcheck" = "yes"])
1168 AM_CONDITIONAL([ENABLE_ANIMATION_API],[test "$enable_animation_api" = "yes"])
1169 AM_CONDITIONAL([ENABLE_TOUCH_ICON_LOADING],[test "$enable_touch_icon_loading" = "yes"])
1170 AM_CONDITIONAL([ENABLE_REGISTER_PROTOCOL_HANDLER],[test "$enable_register_protocol_handler" = "yes"])
1173 AM_CONDITIONAL([ENABLE_INTROSPECTION],[test "$enable_introspection" = "yes"])
1181 Source/WebKit/gtk/webkit/webkitversion.h
1182 Source/WebKit/gtk/docs/GNUmakefile
1183 Source/WebKit/gtk/docs/version.xml
1187 Source/WebKit/gtk/${WEBKITGTK_PC_NAME}-${WEBKITGTK_API_VERSION}.pc:Source/WebKit/gtk/webkit.pc.in
1188 Source/WebKit/gtk/JSCore-${WEBKITGTK_API_VERSION}.gir:Source/WebKit/gtk/JSCore.gir.in
1189 Source/WebKit/gtk/org.webkitgtk-${WEBKITGTK_API_VERSION}.gschema.xml:Source/WebKit/gtk/org.webkitgtk.gschema.xml.in
1190 Source/WebKit/gtk/javascriptcoregtk-${WEBKITGTK_API_VERSION}.pc:Source/WebKit/gtk/javascriptcoregtk.pc.in
1192 ,[WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME]
1195 if test "$enable_webkit2" = "yes"; then
1197 Source/WebKit2/gtk/${WEBKITGTK_PC_NAME}2-${WEBKITGTK_API_VERSION}.pc:Source/WebKit2/gtk/webkit2.pc.in
1199 ,[WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME]
1206 WebKit was configured with the following options:
1208 Build configuration:
1209 Enable debugging (slow) : $enable_debug
1210 Enable GCC build optimization : $enable_optimizations
1211 Code coverage support : $enable_coverage
1212 Unicode backend : $with_unicode_backend
1213 Font backend : $with_font_backend
1214 Optimized memory allocator : $enable_fast_malloc
1216 3D Transforms : $enable_3d_transforms
1217 WebGL : $enable_webgl
1218 Blob support : $enable_blob
1219 Directory upload : $enable_directory_upload
1220 Fast Mobile Scrolling : $enable_fast_mobile_scrolling
1221 JIT compilation : $enable_jit
1222 Filters support : $enable_filters
1223 Geolocation support : $enable_geolocation
1224 Client-based geolocation support : $enable_client_based_geolocation
1225 JavaScript debugger/profiler support : $enable_javascript_debugger
1226 MathML support : $enable_mathml
1227 Media statistics : $enable_media_statistics
1228 HTML5 offline web applications support : $enable_offline_web_applications
1229 HTML5 channel messaging support : $enable_channel_messaging
1230 HTML5 meter element support : $enable_meter_tag
1231 Page Visibility API support : $enable_page_visibility_api
1232 HTML5 progress element support : $enable_progress_tag
1233 HTML5 client-side session and persistent storage support : $enable_dom_storage
1234 HTML5 client-side database storage support : $enable_database
1235 HTML5 datagrid support : $enable_datagrid
1236 HTML5 data transfer items support : $enable_data_transfer_items
1237 HTML5 FileSystem API support : $enable_file_system
1238 Quota API support : $enable_quota
1239 HTML5 sandboxed iframe support : $enable_sandbox
1240 HTML5 server-sent events support : $enable_eventsource
1241 HTML5 video element support : $enable_video
1242 HTML5 track element support : $enable_video_track
1243 Fullscreen API support : $enable_fullscreen_api
1244 Icon database support : $enable_icon_database
1245 Image resizer support : $enable_image_resizer
1246 Link prefetch support : $enable_link_prefetch
1247 Opcode stats : $enable_opcode_stats
1248 SharedWorkers support : $enable_shared_workers
1249 Color input support : $enable_input_color
1250 Speech input support : $enable_input_speech
1251 SVG support : $enable_svg
1252 SVG animation support : $enable_svg_animation
1253 SVG fonts support : $enable_svg_fonts
1254 SVG foreign object support : $enable_svg_foreign_object
1255 SVG as image support : $enable_svg_as_image
1256 SVG use element support : $enable_svg_use
1257 WCSS support : $enable_wcss
1258 Web Audio support : $enable_web_audio
1259 Web Sockets support : $enable_web_sockets
1260 Web Timing support : $enable_web_timing
1261 Web Workers support : $enable_workers
1262 XHTML-MP support : $enable_xhtmlmp
1263 XPATH support : $enable_xpath
1264 XSLT support : $enable_xslt
1265 Spellcheck support : $enable_spellcheck
1266 Animation API : $enable_animation_api
1267 Touch Icon Loading support : $enable_touch_icon_loading
1268 Register Protocol Handler support : $enable_register_protocol_handler
1271 GTK+ version : $with_gtk
1272 GDK target : $with_target
1273 Hildon UI extensions : $with_hildon
1274 Introspection support : $enable_introspection
1275 WebKit2 support : $enable_webkit2
1276 WebKit2 plugin process : $enable_plugin_process
1278 if test "$with_unicode_backend" = "glib"; then
1279 echo " >> WARNING: the glib-based unicode backend is slow and incomplete <<"