3 m4_define([webkit_major_version], [1])
4 m4_define([webkit_minor_version], [1])
5 m4_define([webkit_micro_version], [7])
7 AC_INIT([WebKit],[webkit_major_version.webkit_minor_version.webkit_micro_version],[http://bugs.webkit.org/])
9 AC_CONFIG_MACRO_DIR([autotools])
10 AC_CONFIG_AUX_DIR([autotools])
11 AC_SUBST(ACLOCAL_AMFLAGS, "-I autotools")
13 AC_CONFIG_HEADERS([autotoolsconfig.h])
16 WEBKIT_MAJOR_VERSION=webkit_major_version
17 WEBKIT_MINOR_VERSION=webkit_minor_version
18 WEBKIT_MICRO_VERSION=webkit_micro_version
19 AC_SUBST(WEBKIT_MAJOR_VERSION)
20 AC_SUBST(WEBKIT_MINOR_VERSION)
21 AC_SUBST(WEBKIT_MICRO_VERSION)
23 AC_CONFIG_SRCDIR([WebCore/config.h])
25 dnl # Libtool library version, not to confuse with API version
26 dnl # see http://www.gnu.org/software/libtool/manual/html_node/Libtool-versioning.html#Libtool-versioning
27 LIBWEBKITGTK_VERSION=7:0:5
28 AC_SUBST([LIBWEBKITGTK_VERSION])
30 AM_INIT_AUTOMAKE([foreign subdir-objects tar-ustar])
32 # host checking - inspired by the GTK+ configure.in
33 # TODO: move these to webkit.m4?
34 AC_MSG_CHECKING([for native Win32])
43 AC_MSG_RESULT([$os_win32])
58 gnu* | linux* | k*bsd*-gnu)
66 # initialize webkit options
71 # use dolt to speedup the build
74 AC_PATH_PROG(FLEX, flex)
75 if test -z "$FLEX"; then
76 AC_MSG_ERROR([You need the 'flex' lexer generator to compile WebKit])
78 FLEX_VERSION=`$FLEX --version | sed 's,.*\ \([0-9]*\.[0-9]*\.[0-9]*\)$,\1,'`
79 AX_COMPARE_VERSION([2.5.33],[gt],[$FLEX_VERSION],
80 AC_MSG_WARN([You need at least version 2.5.33 of the 'flex' lexer generator to compile WebKit correctly]))
83 AC_PATH_PROG(GPERF, gperf)
84 if test -z "$GPERF"; then
85 AC_MSG_ERROR([You need the 'gperf' hash function generator to compile WebKit])
88 # pthread (not needed on Windows)
89 if test "$os_win32" = "no"; then
90 AC_CHECK_HEADERS([pthread.h],
91 AC_DEFINE([HAVE_PTHREAD_H],[1],[Define if pthread exists]),
92 AC_MSG_ERROR([pthread support is required to build WebKit]))
95 # check for libjpeg the way Gtk does it.
96 AC_CHECK_LIB(jpeg, jpeg_destroy_decompress,
97 jpeg_ok=yes, jpeg_ok=no
98 AC_MSG_ERROR([JPEG library (libjpeg) not found]))
99 if test "$jpeg_ok" = yes; then
100 AC_MSG_CHECKING([for jpeglib])
106 #include <jpeglib.h>],
109 AC_MSG_RESULT($jpeg_ok)
110 if test "$jpeg_ok" = yes; then
112 # should we check for progressive JPEG like GTK+ as well?
114 AC_MSG_ERROR([JPEG library (libjpeg) not found])
117 AC_SUBST([JPEG_LIBS])
119 # Check for libpng the way Gtk+ does it
120 AC_MSG_CHECKING(for libpng12)
121 if $PKG_CONFIG --exists libpng12 ; then
123 PNG_LIBS=`$PKG_CONFIG --libs libpng12`
126 AC_CHECK_LIB(png, png_read_info,
127 [AC_CHECK_HEADER(png.h,
130 AC_MSG_ERROR([PNG library (libpng) not found]), -lz -lm)
131 if test "$png_ok" = yes; then
132 AC_MSG_CHECKING([for png_structp in png.h])
133 AC_TRY_COMPILE([#include <png.h>],
134 [png_structp pp; png_infop info; png_colorp cmap; png_create_read_struct;],
137 AC_MSG_RESULT($png_ok)
138 if test "$png_ok" = yes; then
141 AC_MSG_ERROR([PNG library (libpng) not found])
144 AC_MSG_ERROR([PNG library (libpng) not found])
149 # determine the GDK/GTK+ target
150 AC_MSG_CHECKING([the target windowing system])
152 AC_HELP_STRING([--with-target=@<:@x11/win32/quartz/directfb@:>@],
153 [Select webkit target [default=x11]]),
154 [],[with_target="x11"])
156 case "$with_target" in
157 x11|win32|quartz|directfb) ;;
158 *) AC_MSG_ERROR([Invalid target: must be x11, quartz, win32, or directfb.]) ;;
161 AC_MSG_RESULT([$with_target])
163 AC_MSG_CHECKING([for Hildon UI extensions])
165 AC_HELP_STRING([--with-hildon],
166 [Use Hildon UI extensions [default=no]]),
167 [],[with_hildon="no"])
168 AC_MSG_RESULT([$with_hildon])
170 if test "$with_hildon" = "yes"; then
171 HILDON_CPPFLAGS="-DMAEMO_CHANGES"
172 PKG_CHECK_MODULES([HILDON], [hildon-1])
173 AC_SUBST([HILDON_CPPFLAGS])
174 AC_SUBST([HILDON_CFLAGS])
175 AC_SUBST([HILDON_LIBS])
178 # minimum base dependencies
179 CAIRO_REQUIRED_VERSION=1.2
180 FONTCONFIG_REQUIRED_VERSION=2.4
181 FREETYPE2_REQUIRED_VERSION=9.0
182 LIBXML_REQUIRED_VERSION=2.6
184 # minimum GTK+ base dependencies
185 PANGO_REQUIRED_VERSION=1.0
186 GTK_REQUIRED_VERSION=2.10
189 LIBSOUP_REQUIRED_VERSION=2.25.91
190 LIBXSLT_REQUIRED_VERSION=1.1.7
191 SQLITE_REQUIRED_VERSION=3.0
192 GSTREAMER_REQUIRED_VERSION=0.10
193 GNOME_KEYRING_REQUIRED_VERSION=2.26.0
194 ENCHANT_REQUIRED_VERSION=0.22
198 # glib - glib and includes gthread
199 # unicode - check and identify which unicode backend to use
202 WEBKIT_CHECK_DEPENDENCIES([glib unicode])
204 GETTEXT_PACKAGE=$PACKAGE
205 AC_SUBST(GETTEXT_PACKAGE)
206 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",
207 [The gettext catalog name])
209 PKG_CHECK_MODULES(LIBXML, libxml-2.0 >= $LIBXML_REQUIRED_VERSION)
210 AC_SUBST(LIBXML_CFLAGS)
211 AC_SUBST(LIBXML_LIBS)
213 PKG_CHECK_MODULES(PANGO,
214 [pango >= $PANGO_REQUIRED_VERSION
216 AC_SUBST(PANGO_CFLAGS)
219 PKG_CHECK_MODULES(ENCHANT, enchant >= $ENCHANT_REQUIRED_VERSION)
220 AC_SUBST(ENCHANT_CFLAGS)
221 AC_SUBST(ENCHANT_LIBS)
223 # check for target-specific dependencies
224 if test "$with_target" = "directfb"; then
225 PKG_CHECK_MODULES(CAIRO, cairo-directfb >= $CAIRO_REQUIRED_VERSION)
226 PKG_CHECK_MODULES(GTK, gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION)
227 AC_DEFINE([WTF_PLATFORM_DIRECTFB],[1],[Define if target is DirectFB])
229 PKG_CHECK_MODULES(CAIRO, cairo >= $CAIRO_REQUIRED_VERSION)
230 PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $GTK_REQUIRED_VERSION)
232 if test "$with_target" = "x11" && test "$os_win32" = "no"; then
234 PKG_CHECK_MODULES([XT],
236 [xt_has_pkg_config=yes],
237 [xt_has_pkg_config=no])
238 # some old versions of Xt do not provide xt.pc, so try to link against Xt
239 # and if it's installed fall back to just adding -lXt
240 if test "$xt_has_pkg_config" = "no"; then
241 # using AC_CHECK_LIB instead of AC_SEARCH_LIB is fine in this case as
242 # we don't care about the XtOpenDisplay symbol but only about the
244 AC_CHECK_LIB([Xt], [XtOpenDisplay],
245 [XT_CFLAGS=""; XT_LIBS="-lXt"],
246 [AC_MSG_ERROR([X Toolkit Intrinsics library (libXt) not found])])
248 AC_SUBST([XT_CFLAGS])
250 AC_DEFINE([WTF_PLATFORM_X11],[1],[Define if target is X11])
255 AC_SUBST(CAIRO_CFLAGS)
258 # check whether to build with debugging enabled
259 AC_MSG_CHECKING([whether to do a debug build])
261 AC_HELP_STRING([--enable-debug],
262 [turn on debugging [default=no]]),
263 [],[enable_debug="no"])
264 AC_MSG_RESULT([$enable_debug])
266 # check whether to enable optimized builds
267 AC_MSG_CHECKING([whether to enable optimized builds])
268 AC_ARG_ENABLE(optimizations,
269 AC_HELP_STRING([--enable-optimizations],
270 [turn on optimize builds (GCC only)
272 [enable_optimizations=$enableval],
273 [if test "$enable_debug" = "yes"; then enable_optimizations="no"; else enable_optimizations="yes"; fi])
274 AC_MSG_RESULT([$enable_optimizations])
276 # check whether to enable dashboard support
277 AC_MSG_CHECKING([whether to enable Dashboard support])
278 AC_ARG_ENABLE(dashboard_support,
279 AC_HELP_STRING([--enable-dashboard-support],
280 [enable Dashboard support [default=yes]]),
281 [],[enable_dashboard_support="yes"])
282 AC_MSG_RESULT([$enable_dashboard_support])
284 # check whether to enable 3D transforms support
285 AC_MSG_CHECKING([whether to enable support for 3D Transforms])
286 AC_ARG_ENABLE(3D_transforms,
287 AC_HELP_STRING([--enable-3D-transforms],
288 [enable support for 3D transforms [default=no]]),
289 [],[enable_3D_transforms="no"])
290 AC_MSG_RESULT([$enable_3D_transforms])
292 # check whether to enable channel messaging support
293 AC_MSG_CHECKING([whether to enable HTML5 Channel Messaging support])
294 AC_ARG_ENABLE(channel_messaging,
295 AC_HELP_STRING([--enable-channel-messaging],
296 [enable HTML5 channel messaging support [default=no]]),
297 [],[enable_channel_messaging="no"])
298 AC_MSG_RESULT([$enable_channel_messaging])
300 # check whether to enable JavaScript debugger/profiler support
301 AC_MSG_CHECKING([whether to enable JavaScript debugger/profiler support])
302 AC_ARG_ENABLE(javascript_debugger,
303 AC_HELP_STRING([--enable-javascript-debugger],
304 [enable JavaScript debugger/profiler support [default=yes]]),
305 [],[enable_javascript_debugger="yes"])
306 AC_MSG_RESULT([$enable_javascript_debugger])
308 # check whether to enable HTML5 Offline Web Applications support
309 AC_MSG_CHECKING([whether to enable HTML5 offline web applications support])
310 AC_ARG_ENABLE(offline_web_applications,
311 AC_HELP_STRING([--enable-offline-web-applications],
312 [enable HTML5 offline web applications support [default=yes]]),
313 [],[enable_offline_web_applications="yes"])
314 AC_MSG_RESULT([$enable_offline_web_applications])
316 # check whether to enable HTML5 client-side session and persitent storage support
317 AC_MSG_CHECKING([whether to enable HTML5 client-side session and persistent storage support])
318 AC_ARG_ENABLE(dom_storage,
319 AC_HELP_STRING([--enable-dom-storage],
320 [enable HTML5 client-side session and persistent storage support [default=yes]]),
321 [],[enable_dom_storage="yes"])
322 AC_MSG_RESULT([$enable_dom_storage])
324 # check whether to build with database support
325 AC_MSG_CHECKING([whether to enable HTML5 client-side database storage support])
326 AC_ARG_ENABLE(database,
327 AC_HELP_STRING([--enable-database],
328 [enable HTML5 client-side database storage support [default=yes]]),
329 [],[enable_database="yes"])
330 AC_MSG_RESULT([$enable_database])
332 # check whether to build with icon database support
333 AC_MSG_CHECKING([whether to enable icon database support])
334 AC_ARG_ENABLE(icon_database,
335 AC_HELP_STRING([--enable-icon-database],
336 [enable icon database [default=yes]]),
337 [],[enable_icon_database="yes"])
338 AC_MSG_RESULT([$enable_icon_database])
340 # check whether to enable HTML5 audio/video support
341 AC_MSG_CHECKING([whether to enable HTML5 video support])
343 AC_HELP_STRING([--enable-video],
344 [enable HTML5 video support [default=yes]]),
345 [],[enable_video="yes"])
346 AC_MSG_RESULT([$enable_video])
348 # check whether to enable XPath support
349 AC_MSG_CHECKING([whether to enable XPath support])
351 AC_HELP_STRING([--enable-xpath],
352 [enable support for XPath [default=yes]]),
353 [],[enable_xpath="yes"])
354 AC_MSG_RESULT([$enable_xpath])
356 # check whether to enable XSLT support
357 AC_MSG_CHECKING([whether to enable XSLT support])
359 AC_HELP_STRING([--enable-xslt],
360 [enable support for XSLT [default=yes]]),
361 [],[enable_xslt="yes"])
362 AC_MSG_RESULT([$enable_xslt])
364 # check whether to enable geolocation support
365 AC_MSG_CHECKING([whether to enable geolocation support])
366 AC_ARG_ENABLE(geolocation,
367 AC_HELP_STRING([--enable-geolocation],
368 [enable support for geolocation [default=no]]),
369 [],[enable_geolocation="no"])
370 AC_MSG_RESULT([$enable_geolocation])
372 # check whether to enable gnomekeyring support
373 AC_MSG_CHECKING([whether to enable gnomekeyring support])
374 AC_ARG_ENABLE(gnomekeyring,
375 AC_HELP_STRING([--enable-gnomekeyring],
376 [enable support for gnomekeyring [default=no]]),
377 [],[enable_gnomekeyring="no"])
378 AC_MSG_RESULT([$enable_gnomekeyring])
380 # check whether to enable SVG support
381 AC_MSG_CHECKING([whether to enable SVG support])
383 AC_HELP_STRING([--enable-svg],
384 [enable support for SVG [default=yes]]),
385 [],[enable_svg="yes"])
386 AC_MSG_RESULT([$enable_svg])
388 # check whether to enable WML support
389 AC_MSG_CHECKING([whether to enable WML support])
391 AC_HELP_STRING([--enable-wml],
392 [enable support for WML [default=no]]),
393 [],[enable_wml="no"])
394 AC_MSG_RESULT([$enable_wml])
396 # check whether to enable Web Workers support
397 AC_MSG_CHECKING([whether to enable Web Workers support])
398 AC_ARG_ENABLE(web_workers,
399 AC_HELP_STRING([--enable-web-workers],
400 [enable support for Web Workers [default=yes]]),
401 [],[enable_web_workers="yes"])
402 AC_MSG_RESULT([$enable_web_workers])
404 # turn off svg features if --disable-svg is requested
405 if test "$enable_svg" = "no"; then
406 enable_svg_animation=no
407 enable_svg_filters=no
409 enable_svg_foreign_object=no
410 enable_svg_as_image=no
411 enable_svg_use_element=no
414 # check whether to enable support for SVG animation
415 AC_MSG_CHECKING([whether to enable support for SVG animation])
416 AC_ARG_ENABLE(svg_animation,
417 AC_HELP_STRING([--enable-svg-animation],
418 [enable support for SVG animation (experimental) [default=yes]]),
419 [],[enable_svg_animation="yes"])
420 AC_MSG_RESULT([$enable_svg_animation])
422 # check whether to enable support for SVG filters
423 AC_MSG_CHECKING([whether to enable support for SVG filters])
424 AC_ARG_ENABLE(svg_filters,
425 AC_HELP_STRING([--enable-svg-filters],
426 [enable support for SVG filters (experimental) [default=no]]),
427 [],[enable_svg_filters="no"])
428 AC_MSG_RESULT([$enable_svg_filters])
430 # check whether to enable support for SVG fonts
431 AC_MSG_CHECKING([whether to enable support for SVG fonts])
432 AC_ARG_ENABLE(svg_fonts,
433 AC_HELP_STRING([--enable-svg-fonts],
434 [enable support for SVG fonts (experimental) [default=yes]]),
435 [],[enable_svg_fonts="yes"])
436 AC_MSG_RESULT([$enable_svg_fonts])
438 # check whether to enable foreign objects support for SVG
439 AC_MSG_CHECKING([whether to enable support for SVG foreign objects])
440 AC_ARG_ENABLE(svg_foreign_object,
441 AC_HELP_STRING([--enable-svg-foreign-object],
442 [enable support for SVG foreign objects (experimental) [default=yes]]),
443 [],[enable_svg_foreign_object="yes"])
444 AC_MSG_RESULT([$enable_svg_foreign_object])
446 # check whether to enable SVG As Image support
447 AC_MSG_CHECKING([whether to enable SVG as Image support])
448 AC_ARG_ENABLE(svg_as_image,
449 AC_HELP_STRING([--enable-svg-as-image],
450 [enable SVG as Image support (experimental) [default=yes]]),
451 [],[enable_svg_as_image="yes"])
452 AC_MSG_RESULT([$enable_svg_as_image])
454 # check whether to enable SVG USE element support
455 AC_MSG_CHECKING([whether to enable support for SVG use element])
456 AC_ARG_ENABLE(svg_use_element,
457 AC_HELP_STRING([--enable-svg-use-element],
458 [enable SVG use element support (experimental) [default=yes]]),
459 [],[enable_svg_use_element="yes"])
460 AC_MSG_RESULT([$enable_svg_use_element])
462 # check for SVG features, enabling SVG if necessary
463 if test "$enable_svg_animation" = "yes" || \
464 test "$enable_svg_filters" = "yes" || \
465 test "$enable_svg_fonts" = "yes" || \
466 test "$enable_svg_foreign_object" = "yes" || \
467 test "$enable_svg_as_image" = "yes" || \
468 test "$enable_svg_use_element" = "yes"; then
470 if test "$enable_svg" = "no"; then
471 AC_MSG_WARN([SVG feature(s) requested but SVG is disabled.. Enabling SVG support])
476 # check whether to enable code coverage
477 AC_MSG_CHECKING([whether to enable code coverage support])
478 AC_ARG_ENABLE(coverage,
479 AC_HELP_STRING([--enable-coverage],
480 [enable code coverage support [default=no]]),
481 [],[enable_coverage="no"])
482 AC_MSG_RESULT([$enable_coverage])
484 # check whether to enable FastMalloc
485 AC_MSG_CHECKING([whether to enable optimized memory allocator])
486 AC_ARG_ENABLE(fast_malloc,
487 AC_HELP_STRING([--enable-fast-malloc],
488 [enable optimized memory allocator default=yes, default=no for debug builds]),
489 [],[if test "$enable_debug" = "yes"; then enable_fast_malloc="no"; else enable_fast_malloc="yes"; fi])
490 AC_MSG_RESULT([$enable_fast_malloc])
492 AC_MSG_CHECKING([whether to enable JIT compilation])
494 AC_HELP_STRING([--enable-jit],
495 [Enable JIT compilation default=yes]),
496 [],[enable_jit="yes"])
497 if test "$enable_jit" = "yes"; then
498 case "$target_cpu" in
500 AC_DEFINE([ENABLE_JIT], [1], [Define to enable JIT])
501 AC_DEFINE([ENABLE_WREC], [1], [Define to enable WREC])
502 AC_DEFINE([ENABLE_JIT_OPTIMIZE_CALL], [1], [Define to enable optimizing calls])
503 AC_DEFINE([ENABLE_JIT_OPTIMIZE_PROPERTY_ACCESS], [1], [Define to enable optimized property access])
504 AC_DEFINE([ENABLE_JIT_OPTIMIZE_ARITHMETIC], [1], [Define to enable optimized arithmetic])
505 case "$target_cpu" in
507 AC_DEFINE([WTF_USE_JIT_STUB_ARGUMENT_VA_LIST], [1], [Use stub va_list])
510 AC_DEFINE([WTF_USE_JIT_STUB_ARGUMENT_REGISTER], [1], [Use stub register])
511 AC_DEFINE([WTF_USE_ALTERNATE_JSIMMEDIATE], [1], [Use alternate JSImmediate])
516 enable_jit="no (CPU '$target_cpu' not supported)"
520 AC_MSG_RESULT([$enable_jit])
522 # determine the font backend
523 AC_MSG_CHECKING([the font backend to use])
524 AC_ARG_WITH(font_backend,
525 AC_HELP_STRING([--with-font-backend=@<:@freetype/pango@:>@],
526 [Select font backend [default=freetype]]),
527 [],[with_font_backend="freetype"])
529 case "$with_font_backend" in
531 *) AC_MSG_ERROR([Invalid font backend: must be freetype or pango.]) ;;
533 AC_MSG_RESULT([$with_font_backend])
535 # Add '-g' flag to gcc if it's debug build
536 if test "$enable_debug" = "yes"; then
537 CXXFLAGS="$CXXFLAGS -g"
540 AC_DEFINE([NDEBUG], [1], [Define to disable debugging features])
543 # Add the appropriate 'O' level for optimized builds
544 if test "$enable_optimizations" = "yes"; then
545 CXXFLAGS="$CXXFLAGS -O2"
548 CXXFLAGS="$CXXFLAGS -O0"
552 PKG_CHECK_MODULES([LIBSOUP],
553 [libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION])
554 AC_SUBST([LIBSOUP_CFLAGS])
555 AC_SUBST([LIBSOUP_LIBS])
557 if test "$enable_gnomekeyring" = "yes"; then
558 PKG_CHECK_MODULES([GNOMEKEYRING],
559 [gnome-keyring-1 >= $GNOME_KEYRING_REQUIRED_VERSION])
560 AC_SUBST([GNOMEKEYRING_CFLAGS])
561 AC_SUBST([GNOMEKEYRING_LIBS])
564 # check if FreeType/FontConfig are available
565 if test "$with_font_backend" = "freetype"; then
566 if test "$with_target" = "directfb"; then
567 PKG_CHECK_MODULES([FREETYPE],
568 [fontconfig >= $FONTCONFIG_REQUIRED_VERSION
569 freetype2 >= $FREETYPE2_REQUIRED_VERSION])
571 PKG_CHECK_MODULES([FREETYPE],
573 fontconfig >= $FONTCONFIG_REQUIRED_VERSION
574 freetype2 >= $FREETYPE2_REQUIRED_VERSION])
576 AC_SUBST([FREETYPE_CFLAGS])
577 AC_SUBST([FREETYPE_LIBS])
580 # check if sqlite 3 is available
581 if test "$enable_icon_database" = "yes" || \
582 test "$enable_database" = "yes" || \
583 test "$enable_offline_web_applications" = "yes" || \
584 test "$enable_dom_storage" = "yes"; then
585 PKG_CHECK_MODULES([SQLITE3], [sqlite3 >= $SQLITE_REQUIRED_VERSION])
586 AC_SUBST([SQLITE3_CFLAGS])
587 AC_SUBST([SQLITE3_LIBS])
590 # check if libxslt is available
591 if test "$enable_xslt" = "yes"; then
592 PKG_CHECK_MODULES([LIBXSLT],[libxslt >= $LIBXSLT_REQUIRED_VERSION])
593 AC_SUBST([LIBXSLT_CFLAGS])
594 AC_SUBST([LIBXSLT_LIBS])
597 # check if geoclue is available
598 if test "$enable_geolocation" = "yes"; then
599 PKG_CHECK_MODULES([GEOCLUE], [geoclue])
600 AC_SUBST([GEOCLUE_CFLAGS])
601 AC_SUBST([GEOCLUE_LIBS])
604 # check if gstreamer is available
605 if test "$enable_video" = "yes"; then
606 PKG_CHECK_MODULES([GSTREAMER],
607 [gstreamer-0.10 >= $GSTREAMER_REQUIRED_VERSION
609 gstreamer-plugins-base-0.10])
610 AC_SUBST([GSTREAMER_CFLAGS])
611 AC_SUBST([GSTREAMER_LIBS])
614 # check for code coverage support
615 if test "$enable_coverage" = "yes"; then
616 COVERAGE_CFLAGS="-MD"
617 COVERAGE_LDFLAGS="-ftest-coverage -fprofile-arcs"
618 AC_SUBST([COVERAGE_CFLAGS])
619 AC_SUBST([COVERAGE_LDFLAGS])
622 # check for HTML features
623 if test "$enable_video" = "yes"; then
627 GTK_DOC_CHECK([1.10])
630 AM_CONDITIONAL([OS_WIN32],[test "$os_win32" = "yes"])
631 AM_CONDITIONAL([OS_UNIX],[test "$os_win32" = "no"])
632 AM_CONDITIONAL([OS_LINUX],[test "$os_linux" = "yes"])
633 AM_CONDITIONAL([OS_GNU],[test "$os_gnu" = "yes"])
634 AM_CONDITIONAL([OS_FREEBSD],[test "$os_freebsd" = "yes"])
636 # target conditionals
637 AM_CONDITIONAL([TARGET_X11], [test "$with_target" = "x11"])
638 AM_CONDITIONAL([TARGET_WIN32], [test "$with_target" = "win32"])
639 AM_CONDITIONAL([TARGET_QUARTZ], [test "$with_target" = "quartz"])
640 AM_CONDITIONAL([TARGET_DIRECTFB], [test "$with_target" = "directfb"])
642 # Auth backend conditionals
643 AM_CONDITIONAL([USE_GNOMEKEYRING], [test "$enable_gnomekeyring" = "yes"])
645 # Font backend conditionals
646 AM_CONDITIONAL([USE_FREETYPE], [test "$with_font_backend" = "freetype"])
647 AM_CONDITIONAL([USE_PANGO], [test "$with_font_backend" = "pango"])
649 # WebKit feature conditionals
650 AM_CONDITIONAL([ENABLE_DEBUG],[test "$enable_debug" = "yes"])
651 AM_CONDITIONAL([ENABLE_DASHBOARD_SUPPORT],[test "$enable_dashboard_support" = "yes"])
652 AM_CONDITIONAL([ENABLE_3D_TRANSFORMS],[test "$enable_3D_transforms" = "yes"])
653 AM_CONDITIONAL([ENABLE_CHANNEL_MESSAGING],[test "$enable_channel_messaging" = "yes"])
654 AM_CONDITIONAL([ENABLE_JAVASCRIPT_DEBUGGER],[test "$enable_javascript_debugger" = "yes"])
655 AM_CONDITIONAL([ENABLE_OFFLINE_WEB_APPLICATIONS],[test "$enable_offline_web_applications" = "yes"])
656 AM_CONDITIONAL([ENABLE_DOM_STORAGE],[test "$enable_dom_storage" = "yes"])
657 AM_CONDITIONAL([ENABLE_DATABASE],[test "$enable_database" = "yes"])
658 AM_CONDITIONAL([ENABLE_ICONDATABASE],[test "$enable_icon_database" = "yes"])
659 AM_CONDITIONAL([ENABLE_XPATH],[test "$enable_xpath" = "yes"])
660 AM_CONDITIONAL([ENABLE_XSLT],[test "$enable_xslt" = "yes"])
661 AM_CONDITIONAL([ENABLE_GEOLOCATION], [test "$enable_geolocation" = "yes"])
662 AM_CONDITIONAL([ENABLE_VIDEO],[test "$enable_video" = "yes"])
663 AM_CONDITIONAL([ENABLE_SVG],[test "$enable_svg" = "yes"])
664 AM_CONDITIONAL([ENABLE_SVG_ANIMATION],[test "$enable_svg_animation" = "yes"])
665 AM_CONDITIONAL([ENABLE_SVG_FILTERS],[test "$enable_svg_filters" = "yes"])
666 AM_CONDITIONAL([ENABLE_SVG_FONTS],[test "$enable_svg_fonts" = "yes"])
667 AM_CONDITIONAL([ENABLE_SVG_FOREIGN_OBJECT],[test "$enable_svg_foreign_object" = "yes"])
668 AM_CONDITIONAL([ENABLE_SVG_AS_IMAGE],[test "$enable_svg_as_image" = "yes"])
669 AM_CONDITIONAL([ENABLE_SVG_USE],[test "$enable_svg_use_element" = "yes"])
670 AM_CONDITIONAL([ENABLE_COVERAGE],[test "$enable_coverage" = "yes"])
671 AM_CONDITIONAL([ENABLE_FAST_MALLOC],[test "$enable_fast_malloc" = "yes"])
672 AM_CONDITIONAL([ENABLE_WML],[test "$enable_wml" = "yes"])
673 AM_CONDITIONAL([ENABLE_WORKERS],[test "$enable_web_workers" = "yes"])
674 AM_CONDITIONAL([SVG_FLAGS],[test "$svg_flags" = "yes"])
675 AM_CONDITIONAL([HTML_FLAGS],[test "$html_flags" = "yes"])
679 WebKit/gtk/webkit-1.0.pc:WebKit/gtk/webkit.pc.in
680 WebKit/gtk/webkit/webkitversion.h
681 WebKit/gtk/docs/GNUmakefile
682 WebKit/gtk/docs/version.xml
689 WebKit was configured with the following options:
692 Enable debugging (slow) : $enable_debug
693 Enable GCC build optimization : $enable_optimizations
694 Code coverage support : $enable_coverage
695 Unicode backend : $unicode_backend
696 Font backend : $with_font_backend
697 Optimized memory allocator : $enable_fast_malloc
699 3D Transforms : $enable_3D_transforms
700 JIT compilation : $enable_jit
701 Dashboard support : $enable_dashboard_support
702 Geolocation support : $enable_geolocation
703 GNOME Keyring support : $enable_gnomekeyring
704 JavaScript debugger/profiler support : $enable_javascript_debugger
705 HTML5 offline web applications support : $enable_offline_web_applications
706 HTML5 channel messaging support : $enable_channel_messaging
707 HTML5 client-side session and persistent storage support : $enable_dom_storage
708 HTML5 client-side database storage support : $enable_database
709 HTML5 video element support : $enable_video
710 Icon database support : $enable_icon_database
711 SVG support : $enable_svg
712 SVG animation support : $enable_svg_animation
713 SVG filters support : $enable_svg_filters
714 SVG fonts support : $enable_svg_fonts
715 SVG foreign object support : $enable_svg_foreign_object
716 SVG as image support : $enable_svg_as_image
717 SVG use element support : $enable_svg_use_element
718 WML support : $enable_wml
719 Web Workers support : $enable_web_workers
720 XPATH support : $enable_xpath
721 XSLT support : $enable_xslt
723 GDK target : $with_target
724 Hildon UI extensions : $with_hildon