diff options
Diffstat (limited to 'meta/recipes-sato/webkit/files/configure.ac')
-rw-r--r-- | meta/recipes-sato/webkit/files/configure.ac | 451 |
1 files changed, 365 insertions, 86 deletions
diff --git a/meta/recipes-sato/webkit/files/configure.ac b/meta/recipes-sato/webkit/files/configure.ac index bb703b4bf7..9d8ad90c31 100644 --- a/meta/recipes-sato/webkit/files/configure.ac +++ b/meta/recipes-sato/webkit/files/configure.ac | |||
@@ -1,21 +1,21 @@ | |||
1 | AC_PREREQ(2.59) | 1 | AC_PREREQ(2.59) |
2 | 2 | ||
3 | m4_define([webkit_major_version], [1]) | 3 | m4_define([webkit_major_version], [1]) |
4 | m4_define([webkit_minor_version], [3]) | 4 | m4_define([webkit_minor_version], [5]) |
5 | m4_define([webkit_micro_version], [7]) | 5 | m4_define([webkit_micro_version], [1]) |
6 | 6 | ||
7 | # This is the version we'll be using as part of our User-Agent string | 7 | # This is the version we'll be using as part of our User-Agent string |
8 | # e.g., AppleWebKit/$(webkit_user_agent_version) ... | 8 | # e.g., AppleWebKit/$(webkit_user_agent_version) ... |
9 | # | 9 | # |
10 | # Sourced from WebCore/Configurations/Version.xcconfig | 10 | # Sourced from Source/WebCore/Configurations/Version.xcconfig |
11 | m4_define([webkit_user_agent_major_version], [534]) | 11 | m4_define([webkit_user_agent_major_version], [534]) |
12 | m4_define([webkit_user_agent_minor_version], [7]) | 12 | m4_define([webkit_user_agent_minor_version], [26]) |
13 | 13 | ||
14 | AC_INIT([WebKit],[webkit_major_version.webkit_minor_version.webkit_micro_version],[http://bugs.webkit.org/]) | 14 | AC_INIT([WebKit],[webkit_major_version.webkit_minor_version.webkit_micro_version],[http://bugs.webkit.org/]) |
15 | 15 | ||
16 | AC_CONFIG_MACRO_DIR([autotools]) | 16 | AC_CONFIG_MACRO_DIR([Source/autotools]) |
17 | AC_CONFIG_AUX_DIR([autotools]) | 17 | AC_CONFIG_AUX_DIR([Source/autotools]) |
18 | AC_SUBST(ACLOCAL_AMFLAGS, "-I autotools") | 18 | AC_SUBST(ACLOCAL_AMFLAGS, "-I Source/autotools") |
19 | 19 | ||
20 | AC_CONFIG_HEADERS([autotoolsconfig.h]) | 20 | AC_CONFIG_HEADERS([autotoolsconfig.h]) |
21 | AC_CANONICAL_HOST | 21 | AC_CANONICAL_HOST |
@@ -31,11 +31,11 @@ AC_SUBST(WEBKIT_MICRO_VERSION) | |||
31 | AC_SUBST(WEBKIT_USER_AGENT_MAJOR_VERSION) | 31 | AC_SUBST(WEBKIT_USER_AGENT_MAJOR_VERSION) |
32 | AC_SUBST(WEBKIT_USER_AGENT_MINOR_VERSION) | 32 | AC_SUBST(WEBKIT_USER_AGENT_MINOR_VERSION) |
33 | 33 | ||
34 | AC_CONFIG_SRCDIR([WebCore/config.h]) | 34 | AC_CONFIG_SRCDIR([Source/WebCore/config.h]) |
35 | 35 | ||
36 | dnl # Libtool library version, not to confuse with API version | 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 | 37 | dnl # see http://www.gnu.org/software/libtool/manual/html_node/Libtool-versioning.html |
38 | LIBWEBKITGTK_VERSION=4:0:4 | 38 | LIBWEBKITGTK_VERSION=8:0:8 |
39 | AC_SUBST([LIBWEBKITGTK_VERSION]) | 39 | AC_SUBST([LIBWEBKITGTK_VERSION]) |
40 | 40 | ||
41 | AM_INIT_AUTOMAKE([foreign subdir-objects tar-ustar]) | 41 | AM_INIT_AUTOMAKE([foreign subdir-objects tar-ustar]) |
@@ -99,6 +99,13 @@ if test -z "$GPERF"; then | |||
99 | AC_MSG_ERROR([You need the 'gperf' hash function generator to compile WebKit]) | 99 | AC_MSG_ERROR([You need the 'gperf' hash function generator to compile WebKit]) |
100 | fi | 100 | fi |
101 | 101 | ||
102 | # Disable C++0x compat warnings for GCC >= 4.6.0 until we build | ||
103 | # cleanly with that. | ||
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") | ||
107 | fi | ||
108 | |||
102 | # pthread (not needed on Windows) | 109 | # pthread (not needed on Windows) |
103 | if test "$os_win32" = "no"; then | 110 | if test "$os_win32" = "no"; then |
104 | AC_CHECK_HEADERS([pthread.h], | 111 | AC_CHECK_HEADERS([pthread.h], |
@@ -199,14 +206,14 @@ case "$with_gtk" in | |||
199 | GAIL_PC_NAME=gail | 206 | GAIL_PC_NAME=gail |
200 | GAIL_REQUIRED_VERSION=1.8 | 207 | GAIL_REQUIRED_VERSION=1.8 |
201 | ;; | 208 | ;; |
202 | 3.0) GTK_REQUIRED_VERSION=2.91 | 209 | 3.0) GTK_REQUIRED_VERSION=3.0 |
203 | GTK_API_VERSION=3.0 | 210 | GTK_API_VERSION=3.0 |
204 | WEBKITGTK_API_MAJOR_VERSION=3 | 211 | WEBKITGTK_API_MAJOR_VERSION=3 |
205 | WEBKITGTK_API_MINOR_VERSION=0 | 212 | WEBKITGTK_API_MINOR_VERSION=0 |
206 | WEBKITGTK_API_VERSION=3.0 | 213 | WEBKITGTK_API_VERSION=3.0 |
207 | WEBKITGTK_PC_NAME=webkitgtk | 214 | WEBKITGTK_PC_NAME=webkitgtk |
208 | GAIL_PC_NAME=gail-3.0 | 215 | GAIL_PC_NAME=gail-3.0 |
209 | GAIL_REQUIRED_VERSION=2.90.4 | 216 | GAIL_REQUIRED_VERSION=3.0 |
210 | ;; | 217 | ;; |
211 | esac | 218 | esac |
212 | 219 | ||
@@ -247,8 +254,8 @@ if test "$with_hildon" = "yes"; then | |||
247 | fi | 254 | fi |
248 | 255 | ||
249 | # minimum base dependencies | 256 | # minimum base dependencies |
250 | LIBSOUP_REQUIRED_VERSION=2.28.2 | 257 | LIBSOUP_REQUIRED_VERSION=2.33.6 |
251 | CAIRO_REQUIRED_VERSION=1.6 | 258 | CAIRO_REQUIRED_VERSION=1.10 |
252 | FONTCONFIG_REQUIRED_VERSION=2.4 | 259 | FONTCONFIG_REQUIRED_VERSION=2.4 |
253 | FREETYPE2_REQUIRED_VERSION=9.0 | 260 | FREETYPE2_REQUIRED_VERSION=9.0 |
254 | LIBXML_REQUIRED_VERSION=2.6 | 261 | LIBXML_REQUIRED_VERSION=2.6 |
@@ -271,16 +278,6 @@ ENCHANT_REQUIRED_VERSION=0.22 | |||
271 | # todo: webcore gtk | 278 | # todo: webcore gtk |
272 | WEBKIT_CHECK_DEPENDENCIES([glib unicode]) | 279 | WEBKIT_CHECK_DEPENDENCIES([glib unicode]) |
273 | 280 | ||
274 | # Check if we can use GSettings | ||
275 | PKG_CHECK_MODULES([GSETTINGS], | ||
276 | [gio-2.0 >= 2.25.0], | ||
277 | [have_gsettings=yes], | ||
278 | [have_gsettings=no]) | ||
279 | if test "$have_gsettings" = "yes"; then | ||
280 | AC_DEFINE([HAVE_GSETTINGS], 1, [Whether we can use GSettings]) | ||
281 | GLIB_GSETTINGS | ||
282 | fi | ||
283 | |||
284 | GETTEXT_PACKAGE=$PACKAGE-$GTK_API_VERSION | 281 | GETTEXT_PACKAGE=$PACKAGE-$GTK_API_VERSION |
285 | AC_SUBST(GETTEXT_PACKAGE) | 282 | AC_SUBST(GETTEXT_PACKAGE) |
286 | AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", | 283 | AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", |
@@ -296,9 +293,17 @@ PKG_CHECK_MODULES(PANGO, | |||
296 | AC_SUBST(PANGO_CFLAGS) | 293 | AC_SUBST(PANGO_CFLAGS) |
297 | AC_SUBST(PANGO_LIBS) | 294 | AC_SUBST(PANGO_LIBS) |
298 | 295 | ||
299 | PKG_CHECK_MODULES(ENCHANT, enchant >= $ENCHANT_REQUIRED_VERSION) | 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]) | ||
301 | |||
302 | if test "$enable_spellcheck" = "yes"; then | ||
303 | PKG_CHECK_MODULES(ENCHANT, enchant >= $ENCHANT_REQUIRED_VERSION, [], [enable_spellcheck="no"]) | ||
300 | AC_SUBST(ENCHANT_CFLAGS) | 304 | AC_SUBST(ENCHANT_CFLAGS) |
301 | AC_SUBST(ENCHANT_LIBS) | 305 | AC_SUBST(ENCHANT_LIBS) |
306 | fi | ||
302 | 307 | ||
303 | PKG_CHECK_MODULES(GAIL, $GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION) | 308 | PKG_CHECK_MODULES(GAIL, $GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION) |
304 | AC_SUBST(GAIL_CFLAGS) | 309 | AC_SUBST(GAIL_CFLAGS) |
@@ -357,13 +362,28 @@ AC_ARG_ENABLE(optimizations, | |||
357 | [if test "$enable_debug" = "yes"; then enable_optimizations="no"; else enable_optimizations="yes"; fi]) | 362 | [if test "$enable_debug" = "yes"; then enable_optimizations="no"; else enable_optimizations="yes"; fi]) |
358 | AC_MSG_RESULT([$enable_optimizations]) | 363 | AC_MSG_RESULT([$enable_optimizations]) |
359 | 364 | ||
360 | # check whether to enable 3D transforms support | 365 | # check whether to enable 3D rendering support |
361 | AC_MSG_CHECKING([whether to enable support for 3D Transforms]) | 366 | AC_MSG_CHECKING([whether to enable support for 3D Rendering]) |
362 | AC_ARG_ENABLE(3D_transforms, | 367 | AC_ARG_ENABLE(3d_rendering, |
363 | AC_HELP_STRING([--enable-3D-transforms], | 368 | AC_HELP_STRING([--enable-3d-rendering], |
364 | [enable support for 3D transforms [default=no]]), | 369 | [enable support for 3D Rendering (experimental) [default=no]]), |
365 | [],[enable_3D_transforms="no"]) | 370 | [],[enable_3d_rendering="no"]) |
366 | AC_MSG_RESULT([$enable_3D_transforms]) | 371 | AC_MSG_RESULT([$enable_3d_rendering]) |
372 | |||
373 | # check whether to enable WebGL support | ||
374 | AC_MSG_CHECKING([whether to enable WebGL support]) | ||
375 | AC_ARG_ENABLE(webgl, | ||
376 | AC_HELP_STRING([--enable-webgl], | ||
377 | [enable support for WebGL (experimental) [default=no]]), | ||
378 | [], [enable_webgl="no"]) | ||
379 | AC_MSG_RESULT([$enable_webgl]) | ||
380 | |||
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])) | ||
384 | OPENGL_LIBS=-lGL | ||
385 | fi | ||
386 | AC_SUBST([OPENGL_LIBS]) | ||
367 | 387 | ||
368 | # check whether to enable channel messaging support | 388 | # check whether to enable channel messaging support |
369 | AC_MSG_CHECKING([whether to enable HTML5 Channel Messaging support]) | 389 | AC_MSG_CHECKING([whether to enable HTML5 Channel Messaging support]) |
@@ -373,6 +393,38 @@ AC_ARG_ENABLE(channel_messaging, | |||
373 | [],[enable_channel_messaging="yes"]) | 393 | [],[enable_channel_messaging="yes"]) |
374 | AC_MSG_RESULT([$enable_channel_messaging]) | 394 | AC_MSG_RESULT([$enable_channel_messaging]) |
375 | 395 | ||
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]) | ||
403 | |||
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]) | ||
411 | |||
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]) | ||
419 | |||
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]) | ||
427 | |||
376 | # check whether to enable JavaScript debugger/profiler support | 428 | # check whether to enable JavaScript debugger/profiler support |
377 | AC_MSG_CHECKING([whether to enable JavaScript debugger/profiler support]) | 429 | AC_MSG_CHECKING([whether to enable JavaScript debugger/profiler support]) |
378 | AC_ARG_ENABLE(javascript_debugger, | 430 | AC_ARG_ENABLE(javascript_debugger, |
@@ -381,6 +433,22 @@ AC_ARG_ENABLE(javascript_debugger, | |||
381 | [],[enable_javascript_debugger="yes"]) | 433 | [],[enable_javascript_debugger="yes"]) |
382 | AC_MSG_RESULT([$enable_javascript_debugger]) | 434 | AC_MSG_RESULT([$enable_javascript_debugger]) |
383 | 435 | ||
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]) | ||
443 | |||
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]) | ||
451 | |||
384 | # check whether to enable HTML5 Offline Web Applications support | 452 | # check whether to enable HTML5 Offline Web Applications support |
385 | AC_MSG_CHECKING([whether to enable HTML5 offline web applications support]) | 453 | AC_MSG_CHECKING([whether to enable HTML5 offline web applications support]) |
386 | AC_ARG_ENABLE(offline_web_applications, | 454 | AC_ARG_ENABLE(offline_web_applications, |
@@ -400,11 +468,19 @@ AC_MSG_RESULT([$enable_dom_storage]) | |||
400 | # check whether to enable the indexed database API | 468 | # check whether to enable the indexed database API |
401 | AC_MSG_CHECKING([whether to enable the indexed database API]) | 469 | AC_MSG_CHECKING([whether to enable the indexed database API]) |
402 | AC_ARG_ENABLE(indexed_database, | 470 | AC_ARG_ENABLE(indexed_database, |
403 | AC_HELP_STRING([--enable-indexeddb], | 471 | AC_HELP_STRING([--enable-indexed-database], |
404 | [enable the indexed database API [default=no]]), | 472 | [enable the indexed database API [default=no]]), |
405 | [],[enable_indexed_database="no"]) | 473 | [],[enable_indexed_database="no"]) |
406 | AC_MSG_RESULT([$enable_indexed_database]) | 474 | AC_MSG_RESULT([$enable_indexed_database]) |
407 | 475 | ||
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]) | ||
483 | |||
408 | # check whether to enable the speech input API | 484 | # check whether to enable the speech input API |
409 | AC_MSG_CHECKING([whether to enable the speech input API]) | 485 | AC_MSG_CHECKING([whether to enable the speech input API]) |
410 | AC_ARG_ENABLE(input_speech, | 486 | AC_ARG_ENABLE(input_speech, |
@@ -469,6 +545,43 @@ AC_ARG_ENABLE(video, | |||
469 | [],[enable_video="yes"]) | 545 | [],[enable_video="yes"]) |
470 | AC_MSG_RESULT([$enable_video]) | 546 | AC_MSG_RESULT([$enable_video]) |
471 | 547 | ||
548 | # turn off video features if --disable-video is requested | ||
549 | if test "$enable_video" = "no"; then | ||
550 | enable_video_track=no | ||
551 | fi | ||
552 | |||
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]) | ||
560 | |||
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]) | ||
568 | |||
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]) | ||
576 | |||
577 | # check whether to enable media stream support | ||
578 | AC_MSG_CHECKING([whether to enable media stream support]) | ||
579 | AC_ARG_ENABLE(media_stream, | ||
580 | AC_HELP_STRING([--enable-media-stream], | ||
581 | [enable media stream support (incomplete) [default=no]]), | ||
582 | [],[enable_media_stream="no"]) | ||
583 | AC_MSG_RESULT([$enable_media_stream]) | ||
584 | |||
472 | # check whether to enable XHTML-MP support | 585 | # check whether to enable XHTML-MP support |
473 | AC_MSG_CHECKING([whether to enable XHTML-MP support]) | 586 | AC_MSG_CHECKING([whether to enable XHTML-MP support]) |
474 | AC_ARG_ENABLE(xhtmlmp, | 587 | AC_ARG_ENABLE(xhtmlmp, |
@@ -501,6 +614,14 @@ AC_ARG_ENABLE(geolocation, | |||
501 | [],[enable_geolocation="no"]) | 614 | [],[enable_geolocation="no"]) |
502 | AC_MSG_RESULT([$enable_geolocation]) | 615 | AC_MSG_RESULT([$enable_geolocation]) |
503 | 616 | ||
617 | # check whether to enable client-based geolocation support | ||
618 | AC_MSG_CHECKING([whether to enable client-based geolocation support]) | ||
619 | AC_ARG_ENABLE(client_based_geolocation, | ||
620 | AC_HELP_STRING([--enable-client-based-geolocation], | ||
621 | [enable support for client-based geolocation [default=no]]), | ||
622 | [],[enable_client_based_geolocation="no"]) | ||
623 | AC_MSG_RESULT([$enable_client_based_geolocation]) | ||
624 | |||
504 | # check whether to enable MathML support | 625 | # check whether to enable MathML support |
505 | AC_MSG_CHECKING([whether to enable MathML support]) | 626 | AC_MSG_CHECKING([whether to enable MathML support]) |
506 | AC_ARG_ENABLE(mathml, | 627 | AC_ARG_ENABLE(mathml, |
@@ -517,13 +638,13 @@ AC_ARG_ENABLE(svg, | |||
517 | [],[enable_svg="yes"]) | 638 | [],[enable_svg="yes"]) |
518 | AC_MSG_RESULT([$enable_svg]) | 639 | AC_MSG_RESULT([$enable_svg]) |
519 | 640 | ||
520 | # check whether to enable WML support | 641 | # check whether to enable WCSS support |
521 | AC_MSG_CHECKING([whether to enable WML support]) | 642 | AC_MSG_CHECKING([whether to enable WCSS support]) |
522 | AC_ARG_ENABLE(wml, | 643 | AC_ARG_ENABLE(wcss, |
523 | AC_HELP_STRING([--enable-wml], | 644 | AC_HELP_STRING([--enable-wcss], |
524 | [enable support for WML [default=no]]), | 645 | [enable support for WCSS [default=no]]), |
525 | [],[enable_wml="no"]) | 646 | [],[enable_wcss="no"]) |
526 | AC_MSG_RESULT([$enable_wml]) | 647 | AC_MSG_RESULT([$enable_wcss]) |
527 | 648 | ||
528 | # check whether to enable SharedWorkers support | 649 | # check whether to enable SharedWorkers support |
529 | AC_MSG_CHECKING([whether to enable SharedWorkers support]) | 650 | AC_MSG_CHECKING([whether to enable SharedWorkers support]) |
@@ -557,6 +678,14 @@ AC_ARG_ENABLE(file_system, | |||
557 | [], [enable_file_system="no"]) | 678 | [], [enable_file_system="no"]) |
558 | AC_MSG_RESULT([$enable_file_system]) | 679 | AC_MSG_RESULT([$enable_file_system]) |
559 | 680 | ||
681 | # check whether to enable Quota API support | ||
682 | AC_MSG_CHECKING([whether to enable Quota API support]) | ||
683 | AC_ARG_ENABLE(quota, | ||
684 | AC_HELP_STRING([--enable-quota], | ||
685 | [enable support for Quota API [default=no]]), | ||
686 | [], [enable_quota="no"]) | ||
687 | AC_MSG_RESULT([$enable_quota]) | ||
688 | |||
560 | # turn off svg features if --disable-svg is requested | 689 | # turn off svg features if --disable-svg is requested |
561 | if test "$enable_svg" = "no"; then | 690 | if test "$enable_svg" = "no"; then |
562 | enable_svg_animation=no | 691 | enable_svg_animation=no |
@@ -635,6 +764,14 @@ AC_ARG_ENABLE(web_sockets, | |||
635 | [],[enable_web_sockets="yes"]) | 764 | [],[enable_web_sockets="yes"]) |
636 | AC_MSG_RESULT([$enable_web_sockets]) | 765 | AC_MSG_RESULT([$enable_web_sockets]) |
637 | 766 | ||
767 | # check whether to enable Web Audio support | ||
768 | AC_MSG_CHECKING([whether to enable Web Audio support]) | ||
769 | AC_ARG_ENABLE(web_audio, | ||
770 | AC_HELP_STRING([--enable-web-audio], | ||
771 | [enable support for Web Audio [default=no]]), | ||
772 | [],[enable_web_audio="no"]) | ||
773 | AC_MSG_RESULT([$enable_web_audio]) | ||
774 | |||
638 | # check whether to enable Web Timing support | 775 | # check whether to enable Web Timing support |
639 | AC_MSG_CHECKING([whether to enable Web Timing support]) | 776 | AC_MSG_CHECKING([whether to enable Web Timing support]) |
640 | AC_ARG_ENABLE(web_timing, | 777 | AC_ARG_ENABLE(web_timing, |
@@ -647,8 +784,8 @@ AC_MSG_RESULT([$enable_web_timing]) | |||
647 | AC_MSG_CHECKING([whether to enable Blob support]) | 784 | AC_MSG_CHECKING([whether to enable Blob support]) |
648 | AC_ARG_ENABLE(blob, | 785 | AC_ARG_ENABLE(blob, |
649 | AC_HELP_STRING([--enable-blob], | 786 | AC_HELP_STRING([--enable-blob], |
650 | [enable support for Blob [default=no]]), | 787 | [enable support for Blob [default=yes]]), |
651 | [],[enable_blob="no"]) | 788 | [],[enable_blob="yes"]) |
652 | AC_MSG_RESULT([$enable_blob]) | 789 | AC_MSG_RESULT([$enable_blob]) |
653 | 790 | ||
654 | # check whether to enable Fast Mobile Scrolling support | 791 | # check whether to enable Fast Mobile Scrolling support |
@@ -675,6 +812,22 @@ AC_ARG_ENABLE(fast_malloc, | |||
675 | [],[if test "$enable_debug" = "yes"; then enable_fast_malloc="no"; else enable_fast_malloc="yes"; fi]) | 812 | [],[if test "$enable_debug" = "yes"; then enable_fast_malloc="no"; else enable_fast_malloc="yes"; fi]) |
676 | AC_MSG_RESULT([$enable_fast_malloc]) | 813 | AC_MSG_RESULT([$enable_fast_malloc]) |
677 | 814 | ||
815 | # check whether to enable debug symbols | ||
816 | AC_MSG_CHECKING([whether to enable debug symbols]) | ||
817 | AC_ARG_ENABLE(debug_symbols, | ||
818 | AC_HELP_STRING([--enable-debug-symbols], | ||
819 | [enable debug symbols default=no, default=yes for debug builds]), | ||
820 | [],[if test "$enable_debug" = "yes"; then enable_debug_symbols="yes"; else enable_debug_symbols="no"; fi]) | ||
821 | AC_MSG_RESULT([$enable_debug_symbols]) | ||
822 | |||
823 | # check whether to enable debug features | ||
824 | AC_MSG_CHECKING([whether to enable debug features]) | ||
825 | AC_ARG_ENABLE(debug_features, | ||
826 | AC_HELP_STRING([--enable-debug-features], | ||
827 | [enable debug features default=no, default=yes for debug builds]), | ||
828 | [],[if test "$enable_debug" = "yes"; then enable_debug_features="yes"; else enable_debug_features="no"; fi]) | ||
829 | AC_MSG_RESULT([$enable_debug_features]) | ||
830 | |||
678 | AC_MSG_CHECKING([whether to enable JIT compilation]) | 831 | AC_MSG_CHECKING([whether to enable JIT compilation]) |
679 | AC_ARG_ENABLE([jit], | 832 | AC_ARG_ENABLE([jit], |
680 | AC_HELP_STRING([--enable-jit], | 833 | AC_HELP_STRING([--enable-jit], |
@@ -704,6 +857,12 @@ if test "$enable_jit" = "yes"; then | |||
704 | ;; | 857 | ;; |
705 | esac | 858 | esac |
706 | ;; | 859 | ;; |
860 | sh4) | ||
861 | AC_DEFINE([ENABLE_YARR], [1], [Define to enable YARR]) | ||
862 | AC_DEFINE([ENABLE_YARR_JIT], [1], [Define to enable YARR JIT]) | ||
863 | AC_DEFINE([ENABLE_JIT], [1], [Define to enable JIT]) | ||
864 | AC_DEFINE([WTF_USE_JIT_STUB_ARGUMENT_REGISTER], [1], [Use stub register]) | ||
865 | ;; | ||
707 | *) | 866 | *) |
708 | enable_jit="no (CPU '$host_cpu' not supported)" | 867 | enable_jit="no (CPU '$host_cpu' not supported)" |
709 | ;; | 868 | ;; |
@@ -745,6 +904,38 @@ AC_ARG_ENABLE([introspection], | |||
745 | [],[enable_introspection=no]) | 904 | [],[enable_introspection=no]) |
746 | AC_MSG_RESULT([$enable_introspection]) | 905 | AC_MSG_RESULT([$enable_introspection]) |
747 | 906 | ||
907 | # check whether to enable animation API | ||
908 | AC_MSG_CHECKING([whether to enable Animation API support]) | ||
909 | AC_ARG_ENABLE(animation_api, | ||
910 | AC_HELP_STRING([--enable-animation-api], | ||
911 | [enable support for Animation API (experimental) [default=no]]), | ||
912 | [], [enable_animation_api="no"]) | ||
913 | AC_MSG_RESULT([$enable_animation_api]) | ||
914 | |||
915 | # check whether to enable touch icon loading | ||
916 | AC_MSG_CHECKING([whether to enable touch icon loading]) | ||
917 | AC_ARG_ENABLE(touch_icon_loading, | ||
918 | AC_HELP_STRING([--enable-touch-icon-loading], | ||
919 | [enable support for loading touch icons [default=no]]), | ||
920 | [], [enable_touch_icon_loading="no"]) | ||
921 | AC_MSG_RESULT([$enable_touch_icon_loading]) | ||
922 | |||
923 | # check whether to enable Register Protocol Handler support | ||
924 | AC_MSG_CHECKING([whether to enable Register Protocol Handler]) | ||
925 | AC_ARG_ENABLE(register_protocol_handler, | ||
926 | AC_HELP_STRING([--enable-register-protocol-handler], | ||
927 | [enable support for Register Protocol Handler (experimental) [default=no]]), | ||
928 | [],[enable_register_protocol_handler="no"]) | ||
929 | AC_MSG_RESULT([$enable_register_protocol_handler]) | ||
930 | |||
931 | # check whether to enable DeviceOrientation support | ||
932 | AC_MSG_CHECKING([whether to enable DeviceOrientation]) | ||
933 | AC_ARG_ENABLE(device_orientation, | ||
934 | AC_HELP_STRING([--enable-device-orientation], | ||
935 | [enable support for DeviceOrientation (experimental and incomplete) [default=no]]), | ||
936 | [],[enable_device_orientation="no"]) | ||
937 | AC_MSG_RESULT([$enable_device_orientation]) | ||
938 | |||
748 | G_IR_SCANNER= | 939 | G_IR_SCANNER= |
749 | G_IR_COMPILER= | 940 | G_IR_COMPILER= |
750 | G_IR_GENERATE= | 941 | G_IR_GENERATE= |
@@ -778,11 +969,18 @@ case "$with_font_backend" in | |||
778 | esac | 969 | esac |
779 | AC_MSG_RESULT([$with_font_backend]) | 970 | AC_MSG_RESULT([$with_font_backend]) |
780 | 971 | ||
781 | # Add '-g' flag to gcc if it's debug build | 972 | if test "$host_cpu" = "sh4"; then |
782 | if test "$enable_debug" = "yes"; then | 973 | CXXFLAGS="$CXXFLAGS -mieee -w" |
974 | CFLAGS="$CFLAGS -mieee -w" | ||
975 | fi | ||
976 | |||
977 | # Add '-g' flag to gcc to build with debug symbols | ||
978 | if test "$enable_debug_symbols" = "yes"; then | ||
783 | CXXFLAGS="$CXXFLAGS -g" | 979 | CXXFLAGS="$CXXFLAGS -g" |
784 | CFLAGS="$CFLAGS -g" | 980 | CFLAGS="$CFLAGS -g" |
785 | else | 981 | fi |
982 | |||
983 | if test "$enable_debug_features" = "no"; then | ||
786 | AC_DEFINE([NDEBUG], [1], [Define to disable debugging features]) | 984 | AC_DEFINE([NDEBUG], [1], [Define to disable debugging features]) |
787 | fi | 985 | fi |
788 | 986 | ||
@@ -800,15 +998,6 @@ PKG_CHECK_MODULES([LIBSOUP], | |||
800 | AC_SUBST([LIBSOUP_CFLAGS]) | 998 | AC_SUBST([LIBSOUP_CFLAGS]) |
801 | AC_SUBST([LIBSOUP_LIBS]) | 999 | AC_SUBST([LIBSOUP_LIBS]) |
802 | 1000 | ||
803 | # check if we can use libSoup 2.29.90 features | ||
804 | PKG_CHECK_MODULES([LIBSOUP_2_29_90], | ||
805 | [libsoup-2.4 >= 2.29.90], | ||
806 | [have_libsoup_2_29_90=yes], | ||
807 | [have_libsoup_2_29_90=no]) | ||
808 | if test "$have_libsoup_2_29_90" = "yes"; then | ||
809 | AC_DEFINE([HAVE_LIBSOUP_2_29_90], 1, [Whether libSoup 2.29.90 features are available]) | ||
810 | fi | ||
811 | |||
812 | # check if FreeType/FontConfig are available | 1001 | # check if FreeType/FontConfig are available |
813 | if test "$with_font_backend" = "freetype"; then | 1002 | if test "$with_font_backend" = "freetype"; then |
814 | if test "$with_target" = "directfb"; then | 1003 | if test "$with_target" = "directfb"; then |
@@ -825,22 +1014,26 @@ if test "$with_font_backend" = "freetype"; then | |||
825 | AC_SUBST([FREETYPE_LIBS]) | 1014 | AC_SUBST([FREETYPE_LIBS]) |
826 | fi | 1015 | fi |
827 | 1016 | ||
828 | # check if sqlite 3 is available | 1017 | # check if SQLite3 is available. Error out only if one of the |
829 | if test "$enable_icon_database" = "yes" || \ | 1018 | # features hard-depending on it is enabled while SQLite3 is |
1019 | # unavailable. | ||
1020 | PKG_CHECK_MODULES([SQLITE3], | ||
1021 | [sqlite3 >= $SQLITE_REQUIRED_VERSION], | ||
1022 | [sqlite3_has_pkg_config=yes], | ||
1023 | [sqlite3_has_pkg_config=no]) | ||
1024 | if test "$sqlite3_has_pkg_config" = "no"; then | ||
1025 | AC_SEARCH_LIBS([sqlite3_open16], [sqlite3], | ||
1026 | [sqlite3_found=yes;SQLITE3_LIBS="$LIBS";SQLITE3_CFLAGS="-I $srcdir/WebKitLibraries/WebCoreSQLite3"], | ||
1027 | [sqlite3_found=no]) | ||
1028 | fi | ||
1029 | AC_SUBST([SQLITE3_CFLAGS]) | ||
1030 | AC_SUBST([SQLITE3_LIBS]) | ||
1031 | |||
1032 | if (test "$sqlite3_found" = "no") && (test "$enable_icon_database" = "yes" || \ | ||
830 | test "$enable_database" = "yes" || \ | 1033 | test "$enable_database" = "yes" || \ |
831 | test "$enable_offline_web_applications" = "yes" || \ | 1034 | test "$enable_offline_web_applications" = "yes" || \ |
832 | test "$enable_dom_storage" = "yes"; then | 1035 | test "$enable_dom_storage" = "yes"); then |
833 | PKG_CHECK_MODULES([SQLITE3], | 1036 | AC_MSG_ERROR([SQLite3 is required for the Database related features]) |
834 | [sqlite3 >= $SQLITE_REQUIRED_VERSION], | ||
835 | [sqlite3_has_pkg_config=yes], | ||
836 | [sqlite3_has_pkg_config=no]) | ||
837 | if test "$sqlite3_has_pkg_config" = "no"; then | ||
838 | AC_SEARCH_LIBS([sqlite3_open16], [sqlite3], | ||
839 | [SQLITE3_LIBS="$LIBS";SQLITE3_CFLAGS="-I $srcdir/WebKitLibraries/WebCoreSQLite3"], | ||
840 | [AC_MSG_ERROR([SQLite3 is required to enable Database support])]) | ||
841 | fi | ||
842 | AC_SUBST([SQLITE3_CFLAGS]) | ||
843 | AC_SUBST([SQLITE3_LIBS]) | ||
844 | fi | 1037 | fi |
845 | 1038 | ||
846 | # check if libxslt is available | 1039 | # check if libxslt is available |
@@ -857,6 +1050,14 @@ if test "$enable_geolocation" = "yes"; then | |||
857 | AC_SUBST([GEOCLUE_LIBS]) | 1050 | AC_SUBST([GEOCLUE_LIBS]) |
858 | fi | 1051 | fi |
859 | 1052 | ||
1053 | # check for XRender under Linux/Unix. Some linkers require explicit | ||
1054 | # linkage (like GNU Gold), so we cannot rely on GTK+ pulling XRender | ||
1055 | if test "$os_win32" = "no"; then | ||
1056 | PKG_CHECK_MODULES([XRENDER], [xrender]) | ||
1057 | AC_SUBST([XRENDER_CFLAGS]) | ||
1058 | AC_SUBST([XRENDER_LIBS]) | ||
1059 | fi | ||
1060 | |||
860 | # check if gstreamer is available | 1061 | # check if gstreamer is available |
861 | if test "$enable_video" = "yes"; then | 1062 | if test "$enable_video" = "yes"; then |
862 | PKG_CHECK_MODULES([GSTREAMER], | 1063 | PKG_CHECK_MODULES([GSTREAMER], |
@@ -867,8 +1068,7 @@ if test "$enable_video" = "yes"; then | |||
867 | gstreamer-pbutils-0.10 | 1068 | gstreamer-pbutils-0.10 |
868 | gstreamer-plugins-base-0.10 >= $GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION | 1069 | gstreamer-plugins-base-0.10 >= $GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION |
869 | gstreamer-video-0.10], | 1070 | gstreamer-video-0.10], |
870 | [have_gstreamer=yes], | 1071 | [have_gstreamer=yes]) |
871 | [have_gstreamer=no]) | ||
872 | 1072 | ||
873 | AC_SUBST([GSTREAMER_CFLAGS]) | 1073 | AC_SUBST([GSTREAMER_CFLAGS]) |
874 | AC_SUBST([GSTREAMER_LIBS]) | 1074 | AC_SUBST([GSTREAMER_LIBS]) |
@@ -887,6 +1087,31 @@ if test "$enable_video" = "yes"; then | |||
887 | html_flags=yes | 1087 | html_flags=yes |
888 | fi | 1088 | fi |
889 | 1089 | ||
1090 | # WebKit2 | ||
1091 | AC_MSG_CHECKING([whether to build Webkit2]) | ||
1092 | AC_ARG_ENABLE(webkit2, | ||
1093 | AC_HELP_STRING([--enable-webkit2], | ||
1094 | [build webkit2 [default=no]]), | ||
1095 | [], [enable_webkit2="no"]) | ||
1096 | AC_MSG_RESULT([$enable_webkit2]) | ||
1097 | if test "$enable_webkit2" = "yes"; then | ||
1098 | if test "$GTK_API_VERSION" = "2.0"; then | ||
1099 | AC_MSG_ERROR([WebKit2 requires GTK+ 3.x, use --with-gtk=3.0]) | ||
1100 | fi | ||
1101 | fi | ||
1102 | |||
1103 | # Plugin Process | ||
1104 | AC_MSG_CHECKING([whether to build plugin process for WebKit2]) | ||
1105 | AC_ARG_ENABLE(plugin_process, | ||
1106 | AC_HELP_STRING([--enable-plugin-process], | ||
1107 | [build plugin process for WebKit2 [default=yes]]), | ||
1108 | [], [enable_plugin_process="no"]) | ||
1109 | # Build the plugin process only when building webkit2. | ||
1110 | if test "$enable_webkit2" = "no"; then | ||
1111 | enable_plugin_process=no | ||
1112 | fi | ||
1113 | AC_MSG_RESULT([$enable_plugin_process]) | ||
1114 | |||
890 | GTK_DOC_CHECK([1.10]) | 1115 | GTK_DOC_CHECK([1.10]) |
891 | 1116 | ||
892 | # OS conditionals | 1117 | # OS conditionals |
@@ -910,37 +1135,49 @@ AM_CONDITIONAL([USE_GLIB_UNICODE], [test "$with_unicode_backend" = "glib"]) | |||
910 | AM_CONDITIONAL([USE_FREETYPE], [test "$with_font_backend" = "freetype"]) | 1135 | AM_CONDITIONAL([USE_FREETYPE], [test "$with_font_backend" = "freetype"]) |
911 | AM_CONDITIONAL([USE_PANGO], [test "$with_font_backend" = "pango"]) | 1136 | AM_CONDITIONAL([USE_PANGO], [test "$with_font_backend" = "pango"]) |
912 | 1137 | ||
913 | # GLib/GIO feature conditionals | ||
914 | AM_CONDITIONAL([USE_GSETTINGS], [test "$have_gsettings" = "yes"]) | ||
915 | |||
916 | # GStreamer feature conditional | 1138 | # GStreamer feature conditional |
917 | AM_CONDITIONAL([USE_GSTREAMER], [test "$have_gstreamer" = "yes"]) | 1139 | AM_CONDITIONAL([USE_GSTREAMER], [test "$have_gstreamer" = "yes"]) |
918 | 1140 | ||
919 | # WebKit feature conditionals | 1141 | # WebKit feature conditionals |
920 | AM_CONDITIONAL([ENABLE_DEBUG],[test "$enable_debug" = "yes"]) | 1142 | AM_CONDITIONAL([ENABLE_DEBUG],[test "$enable_debug_features" = "yes"]) |
921 | AM_CONDITIONAL([ENABLE_3D_TRANSFORMS],[test "$enable_3D_transforms" = "yes"]) | 1143 | AM_CONDITIONAL([ENABLE_3D_RENDERING],[test "$enable_3d_rendering" = "yes"]) |
1144 | AM_CONDITIONAL([ENABLE_WEBGL],[test "$enable_webgl" = "yes"]) | ||
922 | AM_CONDITIONAL([ENABLE_BLOB],[test "$enable_blob" = "yes"]) | 1145 | AM_CONDITIONAL([ENABLE_BLOB],[test "$enable_blob" = "yes"]) |
1146 | AM_CONDITIONAL([ENABLE_METER_TAG],[test "$enable_meter_tag" = "yes"]) | ||
1147 | AM_CONDITIONAL([ENABLE_PAGE_VISIBILITY_API],[test "$enable_page_visibility_api" = "yes"]) | ||
1148 | AM_CONDITIONAL([ENABLE_PROGRESS_TAG],[test "$enable_progress_tag" = "yes"]) | ||
923 | AM_CONDITIONAL([ENABLE_CHANNEL_MESSAGING],[test "$enable_channel_messaging" = "yes"]) | 1149 | AM_CONDITIONAL([ENABLE_CHANNEL_MESSAGING],[test "$enable_channel_messaging" = "yes"]) |
924 | AM_CONDITIONAL([ENABLE_JAVASCRIPT_DEBUGGER],[test "$enable_javascript_debugger" = "yes"]) | 1150 | AM_CONDITIONAL([ENABLE_JAVASCRIPT_DEBUGGER],[test "$enable_javascript_debugger" = "yes"]) |
925 | AM_CONDITIONAL([ENABLE_OFFLINE_WEB_APPLICATIONS],[test "$enable_offline_web_applications" = "yes"]) | 1151 | AM_CONDITIONAL([ENABLE_OFFLINE_WEB_APPLICATIONS],[test "$enable_offline_web_applications" = "yes"]) |
926 | AM_CONDITIONAL([ENABLE_DIRECTORY_UPLOAD],[test "$enable_directory_upload" = "yes"]) | 1152 | AM_CONDITIONAL([ENABLE_DIRECTORY_UPLOAD],[test "$enable_directory_upload" = "yes"]) |
1153 | AM_CONDITIONAL([ENABLE_DATAGRID],[test "$enable_datagrid" = "yes"]) | ||
1154 | AM_CONDITIONAL([ENABLE_DATA_TRANSFER_ITEMS],[test "$enable_data_transfer_items" = "yes"]) | ||
927 | AM_CONDITIONAL([ENABLE_DOM_STORAGE],[test "$enable_dom_storage" = "yes"]) | 1155 | AM_CONDITIONAL([ENABLE_DOM_STORAGE],[test "$enable_dom_storage" = "yes"]) |
928 | AM_CONDITIONAL([ENABLE_DATABASE],[test "$enable_database" = "yes"]) | 1156 | AM_CONDITIONAL([ENABLE_DATABASE],[test "$enable_database" = "yes"]) |
929 | AM_CONDITIONAL([ENABLE_DATALIST],[test "$enable_datalist" = "yes"]) | 1157 | AM_CONDITIONAL([ENABLE_DATALIST],[test "$enable_datalist" = "yes"]) |
1158 | AM_CONDITIONAL([ENABLE_DETAILS],[test "$enable_details" = "yes"]) | ||
930 | AM_CONDITIONAL([ENABLE_EVENTSOURCE],[test "$enable_eventsource" = "yes"]) | 1159 | AM_CONDITIONAL([ENABLE_EVENTSOURCE],[test "$enable_eventsource" = "yes"]) |
931 | AM_CONDITIONAL([ENABLE_FAST_MOBILE_SCROLLING],[test "$enable_fast_mobile_scrolling" = "yes"]) | 1160 | AM_CONDITIONAL([ENABLE_FAST_MOBILE_SCROLLING],[test "$enable_fast_mobile_scrolling" = "yes"]) |
932 | AM_CONDITIONAL([ENABLE_FILE_SYSTEM],[test "$enable_file_system" = "yes"]) | 1161 | AM_CONDITIONAL([ENABLE_FILE_SYSTEM],[test "$enable_file_system" = "yes"]) |
1162 | AM_CONDITIONAL([ENABLE_QUOTA],[test "$enable_quota" = "yes"]) | ||
933 | AM_CONDITIONAL([ENABLE_ICONDATABASE],[test "$enable_icon_database" = "yes"]) | 1163 | AM_CONDITIONAL([ENABLE_ICONDATABASE],[test "$enable_icon_database" = "yes"]) |
934 | AM_CONDITIONAL([ENABLE_IMAGE_RESIZER],[test "$enable_image_resizer" = "yes"]) | 1164 | AM_CONDITIONAL([ENABLE_IMAGE_RESIZER],[test "$enable_image_resizer" = "yes"]) |
935 | AM_CONDITIONAL([ENABLE_INDEXED_DATABASE],[test "$enable_indexed_database" = "yes"]) | 1165 | AM_CONDITIONAL([ENABLE_INDEXED_DATABASE],[test "$enable_indexed_database" = "yes"]) |
1166 | AM_CONDITIONAL([ENABLE_INPUT_COLOR],[test "$enable_input_color" = "yes"]) | ||
936 | AM_CONDITIONAL([ENABLE_INPUT_SPEECH],[test "$enable_input_speech" = "yes"]) | 1167 | AM_CONDITIONAL([ENABLE_INPUT_SPEECH],[test "$enable_input_speech" = "yes"]) |
937 | AM_CONDITIONAL([ENABLE_XHTMLMP],[test "$enable_xhtmlmp" = "yes"]) | 1168 | AM_CONDITIONAL([ENABLE_XHTMLMP],[test "$enable_xhtmlmp" = "yes"]) |
938 | AM_CONDITIONAL([ENABLE_XPATH],[test "$enable_xpath" = "yes"]) | 1169 | AM_CONDITIONAL([ENABLE_XPATH],[test "$enable_xpath" = "yes"]) |
939 | AM_CONDITIONAL([ENABLE_XSLT],[test "$enable_xslt" = "yes"]) | 1170 | AM_CONDITIONAL([ENABLE_XSLT],[test "$enable_xslt" = "yes"]) |
940 | AM_CONDITIONAL([ENABLE_FILTERS],[test "$enable_filters" = "yes"]) | 1171 | AM_CONDITIONAL([ENABLE_FILTERS],[test "$enable_filters" = "yes"]) |
941 | AM_CONDITIONAL([ENABLE_GEOLOCATION], [test "$enable_geolocation" = "yes"]) | 1172 | AM_CONDITIONAL([ENABLE_GEOLOCATION], [test "$enable_geolocation" = "yes"]) |
1173 | AM_CONDITIONAL([ENABLE_CLIENT_BASED_GEOLOCATION], [test "$enable_client_based_geolocation" = "yes"]) | ||
942 | AM_CONDITIONAL([ENABLE_MATHML], [test "$enable_mathml" = "yes"]) | 1174 | AM_CONDITIONAL([ENABLE_MATHML], [test "$enable_mathml" = "yes"]) |
1175 | AM_CONDITIONAL([ENABLE_MHTML], [test "$enable_mhtml" = "yes"]) | ||
943 | AM_CONDITIONAL([ENABLE_VIDEO],[test "$enable_video" = "yes"]) | 1176 | AM_CONDITIONAL([ENABLE_VIDEO],[test "$enable_video" = "yes"]) |
1177 | AM_CONDITIONAL([ENABLE_MEDIA_STATISTICS],[test "$enable_media_statistics" = "yes"]) | ||
1178 | AM_CONDITIONAL([ENABLE_VIDEO_TRACK],[test "$enable_video_track" = "yes"]) | ||
1179 | AM_CONDITIONAL([ENABLE_FULLSCREEN_API],[test "$enable_fullscreen_api" = "yes"]) | ||
1180 | AM_CONDITIONAL([ENABLE_MEDIA_STREAM],[test "$enable_media_stream" = "yes"]) | ||
944 | AM_CONDITIONAL([ENABLE_NOTIFICATIONS],[test "$enable_notifications" = "yes"]) | 1181 | AM_CONDITIONAL([ENABLE_NOTIFICATIONS],[test "$enable_notifications" = "yes"]) |
945 | AM_CONDITIONAL([ENABLE_ORIENTATION_EVENTS],[test "$enable_orientation_events" = "yes"]) | 1182 | AM_CONDITIONAL([ENABLE_ORIENTATION_EVENTS],[test "$enable_orientation_events" = "yes"]) |
946 | AM_CONDITIONAL([ENABLE_SVG],[test "$enable_svg" = "yes"]) | 1183 | AM_CONDITIONAL([ENABLE_SVG],[test "$enable_svg" = "yes"]) |
@@ -951,35 +1188,54 @@ AM_CONDITIONAL([ENABLE_SVG_AS_IMAGE],[test "$enable_svg_as_image" = "yes"]) | |||
951 | AM_CONDITIONAL([ENABLE_SVG_USE],[test "$enable_svg_use" = "yes"]) | 1188 | AM_CONDITIONAL([ENABLE_SVG_USE],[test "$enable_svg_use" = "yes"]) |
952 | AM_CONDITIONAL([ENABLE_COVERAGE],[test "$enable_coverage" = "yes"]) | 1189 | AM_CONDITIONAL([ENABLE_COVERAGE],[test "$enable_coverage" = "yes"]) |
953 | AM_CONDITIONAL([ENABLE_FAST_MALLOC],[test "$enable_fast_malloc" = "yes"]) | 1190 | AM_CONDITIONAL([ENABLE_FAST_MALLOC],[test "$enable_fast_malloc" = "yes"]) |
954 | AM_CONDITIONAL([ENABLE_WML],[test "$enable_wml" = "yes"]) | 1191 | AM_CONDITIONAL([ENABLE_WCSS],[test "$enable_wcss" = "yes"]) |
955 | AM_CONDITIONAL([ENABLE_WORKERS],[test "$enable_workers" = "yes"]) | 1192 | AM_CONDITIONAL([ENABLE_WORKERS],[test "$enable_workers" = "yes"]) |
956 | AM_CONDITIONAL([ENABLE_SHARED_WORKERS],[test "$enable_shared_workers" = "yes"]) | 1193 | AM_CONDITIONAL([ENABLE_SHARED_WORKERS],[test "$enable_shared_workers" = "yes"]) |
957 | AM_CONDITIONAL([SVG_FLAGS],[test "$svg_flags" = "yes"]) | 1194 | AM_CONDITIONAL([SVG_FLAGS],[test "$svg_flags" = "yes"]) |
958 | AM_CONDITIONAL([HTML_FLAGS],[test "$html_flags" = "yes"]) | 1195 | AM_CONDITIONAL([HTML_FLAGS],[test "$html_flags" = "yes"]) |
959 | AM_CONDITIONAL([ENABLE_WEB_SOCKETS],[test "$enable_web_sockets" = "yes"]) | 1196 | AM_CONDITIONAL([ENABLE_WEB_SOCKETS],[test "$enable_web_sockets" = "yes"]) |
1197 | AM_CONDITIONAL([ENABLE_WEB_AUDIO],[test "$enable_web_audio" = "yes"]) | ||
960 | AM_CONDITIONAL([ENABLE_WEB_TIMING],[test "$enable_web_timing" = "yes"]) | 1198 | AM_CONDITIONAL([ENABLE_WEB_TIMING],[test "$enable_web_timing" = "yes"]) |
961 | AM_CONDITIONAL([ENABLE_OPCODE_STATS],[test "$enable_opcode_stats" = "yes"]) | 1199 | AM_CONDITIONAL([ENABLE_OPCODE_STATS],[test "$enable_opcode_stats" = "yes"]) |
1200 | AM_CONDITIONAL([ENABLE_WEBKIT2],[test "$enable_webkit2" = "yes"]) | ||
1201 | AM_CONDITIONAL([ENABLE_PLUGIN_PROCESS],[test "$enable_plugin_process" = "yes"]) | ||
1202 | AM_CONDITIONAL([ENABLE_SPELLCHECK],[test "$enable_spellcheck" = "yes"]) | ||
1203 | AM_CONDITIONAL([ENABLE_ANIMATION_API],[test "$enable_animation_api" = "yes"]) | ||
1204 | AM_CONDITIONAL([ENABLE_TOUCH_ICON_LOADING],[test "$enable_touch_icon_loading" = "yes"]) | ||
1205 | AM_CONDITIONAL([ENABLE_REGISTER_PROTOCOL_HANDLER],[test "$enable_register_protocol_handler" = "yes"]) | ||
1206 | AM_CONDITIONAL([ENABLE_DEVICE_ORIENTATION],[test "$enable_device_orientation" = "yes"]) | ||
962 | 1207 | ||
963 | # Gtk conditionals | 1208 | # Gtk conditionals |
964 | AM_CONDITIONAL([ENABLE_INTROSPECTION],[test "$enable_introspection" = "yes"]) | 1209 | AM_CONDITIONAL([ENABLE_INTROSPECTION],[test "$enable_introspection" = "yes"]) |
965 | 1210 | ||
966 | |||
967 | AC_CONFIG_FILES([ | 1211 | AC_CONFIG_FILES([ |
968 | GNUmakefile | 1212 | GNUmakefile |
969 | WebKit/gtk/webkit/webkitversion.h | 1213 | ]) |
970 | WebKit/gtk/docs/GNUmakefile | 1214 | |
971 | WebKit/gtk/docs/version.xml | 1215 | |
972 | ] | 1216 | AC_CONFIG_FILES([ |
973 | ) | 1217 | Source/WebKit/gtk/webkit/webkitversion.h |
1218 | Source/WebKit/gtk/docs/GNUmakefile | ||
1219 | Source/WebKit/gtk/docs/version.xml | ||
1220 | ]) | ||
974 | 1221 | ||
975 | AC_CONFIG_FILES([ | 1222 | AC_CONFIG_FILES([ |
976 | WebKit/gtk/${WEBKITGTK_PC_NAME}-${WEBKITGTK_API_VERSION}.pc:WebKit/gtk/webkit.pc.in | 1223 | Source/WebKit/gtk/${WEBKITGTK_PC_NAME}-${WEBKITGTK_API_VERSION}.pc:Source/WebKit/gtk/webkit.pc.in |
977 | WebKit/gtk/JSCore-${WEBKITGTK_API_VERSION}.gir:WebKit/gtk/JSCore.gir.in | 1224 | Source/WebKit/gtk/JSCore-${WEBKITGTK_API_VERSION}.gir:Source/WebKit/gtk/JSCore.gir.in |
978 | WebKit/gtk/org.webkitgtk-${WEBKITGTK_API_VERSION}.gschema.xml:WebKit/gtk/org.webkitgtk.gschema.xml.in | 1225 | Source/WebKit/gtk/org.webkitgtk-${WEBKITGTK_API_VERSION}.gschema.xml:Source/WebKit/gtk/org.webkitgtk.gschema.xml.in |
1226 | Source/WebKit/gtk/javascriptcoregtk-${WEBKITGTK_API_VERSION}.pc:Source/WebKit/gtk/javascriptcoregtk.pc.in | ||
979 | ] | 1227 | ] |
980 | ,[WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME] | 1228 | ,[WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME] |
981 | ) | 1229 | ) |
982 | 1230 | ||
1231 | if test "$enable_webkit2" = "yes"; then | ||
1232 | AC_CONFIG_FILES([ | ||
1233 | Source/WebKit2/gtk/${WEBKITGTK_PC_NAME}2-${WEBKITGTK_API_VERSION}.pc:Source/WebKit2/gtk/webkit2.pc.in | ||
1234 | ] | ||
1235 | ,[WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME] | ||
1236 | ) | ||
1237 | fi | ||
1238 | |||
983 | AC_OUTPUT | 1239 | AC_OUTPUT |
984 | 1240 | ||
985 | echo " | 1241 | echo " |
@@ -987,34 +1243,50 @@ WebKit was configured with the following options: | |||
987 | 1243 | ||
988 | Build configuration: | 1244 | Build configuration: |
989 | Enable debugging (slow) : $enable_debug | 1245 | Enable debugging (slow) : $enable_debug |
1246 | Compile with debug symbols (slow) : $enable_debug_symbols | ||
1247 | Enable debug features (slow) : $enable_debug_features | ||
990 | Enable GCC build optimization : $enable_optimizations | 1248 | Enable GCC build optimization : $enable_optimizations |
991 | Code coverage support : $enable_coverage | 1249 | Code coverage support : $enable_coverage |
992 | Unicode backend : $with_unicode_backend | 1250 | Unicode backend : $with_unicode_backend |
993 | Font backend : $with_font_backend | 1251 | Font backend : $with_font_backend |
994 | Optimized memory allocator : $enable_fast_malloc | 1252 | Optimized memory allocator : $enable_fast_malloc |
995 | Features: | 1253 | Features: |
996 | 3D Transforms : $enable_3D_transforms | 1254 | 3D Rendering : $enable_3d_rendering |
1255 | WebGL : $enable_webgl | ||
997 | Blob support : $enable_blob | 1256 | Blob support : $enable_blob |
1257 | DeviceOrientation support : $enable_device_orientation | ||
998 | Directory upload : $enable_directory_upload | 1258 | Directory upload : $enable_directory_upload |
999 | Fast Mobile Scrolling : $enable_fast_mobile_scrolling | 1259 | Fast Mobile Scrolling : $enable_fast_mobile_scrolling |
1000 | JIT compilation : $enable_jit | 1260 | JIT compilation : $enable_jit |
1001 | Filters support : $enable_filters | 1261 | Filters support : $enable_filters |
1002 | Geolocation support : $enable_geolocation | 1262 | Geolocation support : $enable_geolocation |
1263 | Client-based geolocation support : $enable_client_based_geolocation | ||
1003 | JavaScript debugger/profiler support : $enable_javascript_debugger | 1264 | JavaScript debugger/profiler support : $enable_javascript_debugger |
1004 | MathML support : $enable_mathml | 1265 | MathML support : $enable_mathml |
1266 | Media statistics : $enable_media_statistics | ||
1005 | HTML5 offline web applications support : $enable_offline_web_applications | 1267 | HTML5 offline web applications support : $enable_offline_web_applications |
1006 | HTML5 channel messaging support : $enable_channel_messaging | 1268 | HTML5 channel messaging support : $enable_channel_messaging |
1269 | HTML5 meter element support : $enable_meter_tag | ||
1270 | Page Visibility API support : $enable_page_visibility_api | ||
1271 | HTML5 progress element support : $enable_progress_tag | ||
1007 | HTML5 client-side session and persistent storage support : $enable_dom_storage | 1272 | HTML5 client-side session and persistent storage support : $enable_dom_storage |
1008 | HTML5 client-side database storage support : $enable_database | 1273 | HTML5 client-side database storage support : $enable_database |
1274 | HTML5 datagrid support : $enable_datagrid | ||
1275 | HTML5 data transfer items support : $enable_data_transfer_items | ||
1009 | HTML5 FileSystem API support : $enable_file_system | 1276 | HTML5 FileSystem API support : $enable_file_system |
1277 | Quota API support : $enable_quota | ||
1010 | HTML5 sandboxed iframe support : $enable_sandbox | 1278 | HTML5 sandboxed iframe support : $enable_sandbox |
1011 | HTML5 server-sent events support : $enable_eventsource | 1279 | HTML5 server-sent events support : $enable_eventsource |
1012 | HTML5 video element support : $enable_video | 1280 | HTML5 video element support : $enable_video |
1281 | HTML5 track element support : $enable_video_track | ||
1282 | Fullscreen API support : $enable_fullscreen_api | ||
1283 | Media stream support : $enable_media_stream | ||
1013 | Icon database support : $enable_icon_database | 1284 | Icon database support : $enable_icon_database |
1014 | Image resizer support : $enable_image_resizer | 1285 | Image resizer support : $enable_image_resizer |
1015 | Link prefetch support : $enable_link_prefetch | 1286 | Link prefetch support : $enable_link_prefetch |
1016 | Opcode stats : $enable_opcode_stats | 1287 | Opcode stats : $enable_opcode_stats |
1017 | SharedWorkers support : $enable_shared_workers | 1288 | SharedWorkers support : $enable_shared_workers |
1289 | Color input support : $enable_input_color | ||
1018 | Speech input support : $enable_input_speech | 1290 | Speech input support : $enable_input_speech |
1019 | SVG support : $enable_svg | 1291 | SVG support : $enable_svg |
1020 | SVG animation support : $enable_svg_animation | 1292 | SVG animation support : $enable_svg_animation |
@@ -1022,19 +1294,26 @@ Features: | |||
1022 | SVG foreign object support : $enable_svg_foreign_object | 1294 | SVG foreign object support : $enable_svg_foreign_object |
1023 | SVG as image support : $enable_svg_as_image | 1295 | SVG as image support : $enable_svg_as_image |
1024 | SVG use element support : $enable_svg_use | 1296 | SVG use element support : $enable_svg_use |
1025 | WML support : $enable_wml | 1297 | WCSS support : $enable_wcss |
1298 | Web Audio support : $enable_web_audio | ||
1026 | Web Sockets support : $enable_web_sockets | 1299 | Web Sockets support : $enable_web_sockets |
1027 | Web Timing support : $enable_web_timing | 1300 | Web Timing support : $enable_web_timing |
1028 | Web Workers support : $enable_workers | 1301 | Web Workers support : $enable_workers |
1029 | XHTML-MP support : $enable_xhtmlmp | 1302 | XHTML-MP support : $enable_xhtmlmp |
1030 | XPATH support : $enable_xpath | 1303 | XPATH support : $enable_xpath |
1031 | XSLT support : $enable_xslt | 1304 | XSLT support : $enable_xslt |
1305 | Spellcheck support : $enable_spellcheck | ||
1306 | Animation API : $enable_animation_api | ||
1307 | Touch Icon Loading support : $enable_touch_icon_loading | ||
1308 | Register Protocol Handler support : $enable_register_protocol_handler | ||
1032 | 1309 | ||
1033 | GTK+ configuration: | 1310 | GTK+ configuration: |
1034 | GTK+ version : $with_gtk | 1311 | GTK+ version : $with_gtk |
1035 | GDK target : $with_target | 1312 | GDK target : $with_target |
1036 | Hildon UI extensions : $with_hildon | 1313 | Hildon UI extensions : $with_hildon |
1037 | Introspection support : $enable_introspection | 1314 | Introspection support : $enable_introspection |
1315 | WebKit2 support : $enable_webkit2 | ||
1316 | WebKit2 plugin process : $enable_plugin_process | ||
1038 | " | 1317 | " |
1039 | if test "$with_unicode_backend" = "glib"; then | 1318 | if test "$with_unicode_backend" = "glib"; then |
1040 | echo " >> WARNING: the glib-based unicode backend is slow and incomplete <<" | 1319 | echo " >> WARNING: the glib-based unicode backend is slow and incomplete <<" |