Windows build fix
[WebKit-https.git] / configure.ac
1 AC_INIT([WebKit],[0.1],[http://bugs.webkit.org/])
2
3 AC_PREREQ(2.59)
4
5 AC_CONFIG_HEADERS([aconfig.h])
6 AC_CONFIG_SRCDIR([WebCore/config.h])
7
8 # see http://www.gnu.org/software/libtool/manual.html#Versioning
9 LIBWEBKITGTK_VERSION=1:0:0
10 AC_SUBST([LIBWEBKITGTK_VERSION])
11
12 AM_INIT_AUTOMAKE([foreign subdir-objects])
13
14 AC_CANONICAL_HOST
15
16 # host checking - inspired by the GTK+ configure.in
17 # TODO: os_mac, os_bsd
18 AC_MSG_CHECKING([for native Win32])
19 case "$host" in
20      *-*-mingw*)
21        os_win32=yes
22        ;;
23      *)
24        os_win32=no
25        ;;
26 esac
27 AC_MSG_RESULT([$os_win32])
28
29 case "$host" in
30      *-*-linux*)
31        os_linux=yes
32        ;;
33      *-*-freebsd*)
34        os_freebsd=yes
35        ;;
36      *-*-darwin*)
37        os_darwin=yes
38        ;;
39 esac
40
41 # If CXXFLAGS and CFLAGS are unset, default to -O2
42 # This is to tell automake not to include '-g' if CXXFLAGS is not set
43 # For more info - http://www.gnu.org/software/automake/manual/autoconf.html#C_002b_002b-Compiler
44 if test -z "$CXXFLAGS"; then
45    CXXFLAGS="-O2"
46 fi
47 if test -z "$CFLAGS"; then
48    CFLAGS="-O2"
49 fi
50
51 # programs
52 AC_DISABLE_STATIC
53 AM_PROG_LIBTOOL
54 AC_PROG_INSTALL
55 AM_PROG_CC_STDC
56 AC_PROG_CXX
57 AM_PROG_CC_C_O
58
59 # check for -fvisibility=hidden compiler support (GCC >= 4)
60 saved_CFLAGS="$CFLAGS"
61 CFLAGS="$CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
62 AC_MSG_CHECKING([if ${CXX} supports -fvisibility=hidden -fvisibility-inlines-hidden])
63 AC_COMPILE_IFELSE([char foo;],
64       [ AC_MSG_RESULT([yes])
65         SYMBOL_VISIBILITY="-fvisibility=hidden" SYMBOL_VISIBILITY_INLINES="-fvisibility-inlines-hidden" ],
66         AC_MSG_RESULT([no]))
67 CFLAGS="$saved_CFLAGS"
68 AC_SUBST(SYMBOL_VISIBILITY)
69 AC_SUBST(SYMBOL_VISIBILITY_INLINES)
70
71 AC_PATH_PROG(PERL, perl)
72 if test -z "$PERL"; then
73    AC_MSG_ERROR([You need 'perl' to compile WebKit])
74 fi
75
76 AC_PATH_PROG(BISON, bison)
77 if test -z "$BISON"; then
78    AC_MSG_ERROR([You need the 'bison' parser generator to compile WebKit])
79 fi
80
81 AC_PATH_PROG(FLEX, flex)
82 if test -z "$FLEX"; then
83    AC_MSG_ERROR([You need the 'flex' lexer generator to compile WebKit])
84 fi
85
86 AC_PATH_PROG(GPERF, gperf)
87 if test -z "$GPERF"; then
88    AC_MSG_ERROR([You need the 'gperf' hash function generator to compile WebKit])
89 fi
90
91 AC_PATH_PROG(MV, mv)
92 if test -z "$MV"; then
93    AC_MSG_ERROR([You need 'mv' to compile WebKit])
94 fi
95
96 # GTK+ port only
97 # Check for glib-genmarshal and glib-mkenums
98 AC_PATH_PROG([GLIB_GENMARSHAL], [glib-genmarshal])
99 AC_PATH_PROG([GLIB_MKENUMS],[glib-mkenums])
100 if test -z "$GLIB_GENMARSHAL" || test -z "$GLIB_MKENUMS"; then
101    AC_MSG_ERROR([You need the GLib dev tools in your path])
102 fi
103
104 # Check whether a C++ was found (AC_PROG_CXX sets $CXX to "g++" even when it
105 # doesn't exist)
106 AC_LANG_PUSH([C++])
107 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])],[],[AC_MSG_ERROR([No C++ compiler found])])
108 AC_LANG_POP([C++])
109
110 # C/C++ Language Features
111 AC_C_CONST
112 AC_C_INLINE
113 AC_C_VOLATILE
114
115 # C/C++ Headers
116 AC_HEADER_STDC
117 AC_HEADER_STDBOOL
118
119 # pthread (not needed on Windows)
120 if test "$os_win32" = "no"; then
121 AC_CHECK_HEADERS([pthread.h],
122                  AC_DEFINE([HAVE_PTHREAD_H],[1],[Define if pthread exists]),
123                  AC_MSG_ERROR([pthread support is required to build WebKit]))
124 fi
125
126 # libjpeg headers
127 AC_CHECK_HEADERS([jpeglib.h])
128
129 # check for pkg-config
130 AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
131 if test "$PKG_CONFIG" = "no"; then
132    AC_MSG_ERROR([Cannot find pkg-config, make sure it is installed in your PATH])
133 fi
134
135 # determine the Unicode backend
136 AC_MSG_CHECKING([the Unicode backend to use])
137 AC_ARG_WITH(unicode_backend,
138             AC_HELP_STRING([--with-unicode-backend=@<:@icu@:>@],
139                            [Select Unicode backend [default=icu]]),
140             [],[unicode_backend="icu"])
141
142 case "$unicode_backend" in
143      icu) ;;
144      *) AC_MSG_ERROR([Invalid Unicode backend: must be icu.]) ;;
145 esac
146
147 AC_MSG_RESULT([$unicode_backend])
148
149 if test "$unicode_backend" = "icu"; then
150         if test "$os_darwin" = "yes"; then
151                 UNICODE_CFLAGS="-I\$(srcdir)/JavaScriptCore/icu -I\$(srcdir)/WebCore/icu"
152                 UNICODE_LIBS="-licucore"
153         elif test "$os_win32" = "yes"; then
154                 UNICODE_CFLAGS=""
155                 UNICODE_LIBS="-licuin -licuuc"
156         else
157                 AC_PATH_PROG(icu_config, icu-config, no)
158                 if test "$icu_config" = "no"; then
159                         AC_MSG_ERROR([Cannot find icu-config. The ICU library is needed.])
160                 fi
161
162                 # We don't use --cflags as this gives us a lot of things that we don't
163                 # necessarily want, like debugging and optimization flags
164                 # See man (1) icu-config for more info.
165                 UNICODE_CFLAGS=`$icu_config --cppflags`
166                 UNICODE_LIBS=`$icu_config --ldflags`
167         fi
168 fi
169
170 AC_SUBST([UNICODE_CFLAGS])
171 AC_SUBST([UNICODE_LIBS])
172
173 # determine the GDK/GTK+ target
174 AC_MSG_CHECKING([the target windowing system])
175 AC_ARG_WITH(target,
176             AC_HELP_STRING([--with-target=@<:@x11/win32/quartz/directfb@:>@],
177                            [Select webkit target [default=x11]]),
178             [],[with_target="x11"])
179
180 case "$with_target" in
181      x11|win32|quartz|directfb) ;;
182      *) AC_MSG_ERROR([Invalid target: must be x11, quartz, win32, or directfb.]) ;;
183 esac
184
185 AC_MSG_RESULT([$with_target])
186
187 AC_MSG_CHECKING([for Hildon UI extensions])
188 AC_ARG_WITH(hildon,
189             AC_HELP_STRING([--with-hildon],
190                            [Use Hildon UI extensions [default=no]]),
191             [],[with_hildon="no"])
192 AC_MSG_RESULT([$with_hildon])
193
194 if test "$with_hildon" = "yes"; then
195     HILDON_CPPFLAGS="-DMAEMO_CHANGES"
196     PKG_CHECK_MODULES([HILDON], [hildon-1])
197     AC_SUBST([HILDON_CPPFLAGS])
198     AC_SUBST([HILDON_CFLAGS])
199     AC_SUBST([HILDON_LIBS])
200 fi
201
202 # determine the http backend
203 AC_MSG_CHECKING([the HTTP backend to use])
204 AC_ARG_WITH(http_backend,
205             AC_HELP_STRING([--with-http-backend=@<:@curl/soup@:>@],
206                            [Select HTTP backend [default=curl]]),
207             [],[with_http_backend="curl"])
208
209 case "$with_http_backend" in
210      curl|soup) ;;
211      *) AC_MSG_ERROR([Invalid HTTP backend: must be curl, soup.]) ;;
212 esac
213
214 AC_MSG_RESULT([$with_http_backend])
215
216 # minimum base dependencies
217 CAIRO_REQUIRED_VERSION=1.4
218 FONTCONFIG_REQUIRED_VERSION=2.4
219 FREETYPE2_REQUIRED_VERSION=9.0
220 LIBXML_REQUIRED_VERSION=2.6
221
222 # minimum GTK+ base dependencies
223 GLIB_REQUIRED_VERSION=2.0
224 GOBJECT_REQUIRED_VERSION=2.0
225 GTHREAD_REQUIRED_VERSION=2.0
226 PANGO_REQUIRED_VERSION=1.0
227 GTK_REQUIRED_VERSION=2.8
228
229 # optional modules
230 LIBCURL_REQUIRED_VERSION=7.15
231 LIBSOUP_REQUIRED_VERSION=2.23
232 LIBXSLT_REQUIRED_VERSION=1.1.7
233 SQLITE_REQUIRED_VERSION=3.0
234 GSTREAMER_REQUIRED_VERSION=0.10
235 GNOME_VFS_REQUIRED_VERSION=2.0
236
237 PKG_CHECK_MODULES([GLOBALDEPS],
238                   [glib-2.0 >= $GLIB_REQUIRED_VERSION
239                   gobject-2.0 >= $GOBJECT_REQUIRED_VERSION
240                   gthread-2.0 >= $GTHREAD_REQUIRED_VERSION])
241 AC_SUBST([GLOBALDEPS_CFLAGS])
242 AC_SUBST([GLOBALDEPS_LIBS])
243
244 PKG_CHECK_MODULES([WEBKITDEPS],
245                   [gtk+-2.0 >= $GTK_REQUIRED_VERSION
246                   pango >= $PANGO_REQUIRED_VERSION
247                   cairo >= $CAIRO_REQUIRED_VERSION
248                   libxml-2.0 >= $LIBXML_REQUIRED_VERSION])
249 AC_SUBST([WEBKITDEPS_CFLAGS])
250 AC_SUBST([WEBKITDEPS_LIBS])
251
252 # check whether to build with debugging enabled
253 AC_MSG_CHECKING([whether to do a debug build])
254 AC_ARG_ENABLE(debug,
255               AC_HELP_STRING([--enable-debug],
256                              [turn on debugging [default=no]]),
257               [],[enable_debug="no"])
258 AC_MSG_RESULT([$enable_debug])
259
260 # check whether to enable dashboard support
261 AC_MSG_CHECKING([whether to enable Dashboard support])
262 AC_ARG_ENABLE(dashboard_support,
263               AC_HELP_STRING([--enable-dashboard-support],
264                              [enable Dashboard support [default=yes]]),
265               [],[enable_dashboard_support="yes"])
266 AC_MSG_RESULT([$enable_dashboard_support])
267
268 # check whether to enable HTML5 Offline Web Applications support
269 AC_MSG_CHECKING([whether to enable HTML5 offline web applications support])
270 AC_ARG_ENABLE(offline_web_applications,
271               AC_HELP_STRING([--enable-offline-web-applications],
272                              [enable HTML5 offline web applications support [default=yes]]),
273               [],[enable_offline_web_applications="yes"])
274 AC_MSG_RESULT([$enable_offline_web_applications])
275
276 # check whether to enable HTML5 client-side session and persitent storage support
277 AC_MSG_CHECKING([whether to enable HTML5 client-side session and persistent storage support])
278 AC_ARG_ENABLE(dom_storage,
279               AC_HELP_STRING([--enable-dom-storage],
280                              [enable HTML5 client-side session and persistent storage support [default=yes]]),
281               [],[enable_dom_storage="yes"])
282 AC_MSG_RESULT([$enable_dom_storage])
283
284 # check whether to build with database support
285 AC_MSG_CHECKING([whether to enable HTML5 client-side database storage support])
286 AC_ARG_ENABLE(database,
287               AC_HELP_STRING([--enable-database],
288                              [enable HTML5 client-side database storage support [default=yes]]),
289               [],[enable_database="yes"])
290 AC_MSG_RESULT([$enable_database])
291
292 # check whether to build with icon database support
293 AC_MSG_CHECKING([whether to enable icon database support])
294 AC_ARG_ENABLE(icon_database,
295               AC_HELP_STRING([--enable-icon-database],
296                              [enable icon database [default=yes]]),
297               [],[enable_icon_database="yes"])
298 AC_MSG_RESULT([$enable_icon_database])
299
300 # check whether to enable HTML5 audio/video support
301 AC_MSG_CHECKING([whether to enable HTML5 video support])
302 AC_ARG_ENABLE(video,
303               AC_HELP_STRING([--enable-video],
304                              [enable HTML5 video support [default=no]]),
305               [],[enable_video="no"])
306 AC_MSG_RESULT([$enable_video])
307
308 # check whether to enable XPath support
309 AC_MSG_CHECKING([whether to enable XPath support])
310 AC_ARG_ENABLE(xpath,
311               AC_HELP_STRING([--enable-xpath],
312                              [enable support for XPath [default=yes]]),
313               [],[enable_xpath="yes"])
314 AC_MSG_RESULT([$enable_xpath])
315
316 # check whether to enable XSLT support
317 AC_MSG_CHECKING([whether to enable XSLT support])
318 AC_ARG_ENABLE(xslt,
319               AC_HELP_STRING([--enable-xslt],
320                              [enable support for XSLT [default=yes]]),
321               [],[enable_xslt="yes"])
322 AC_MSG_RESULT([$enable_xslt])
323
324 # check whether to enable SVG support
325 AC_MSG_CHECKING([whether to enable SVG support])
326 AC_ARG_ENABLE(svg,
327               AC_HELP_STRING([--enable-svg],
328                              [enable support for SVG [default=yes]]),
329               [],[enable_svg="yes"])
330 AC_MSG_RESULT([$enable_svg])
331
332 # turn off svg features if --disable-svg is requested
333 if test "$enable_svg" = "no"; then
334    enable_svg_animation=no
335    enable_svg_filters=no
336    enable_svg_fonts=no
337    enable_svg_foreign_object=no
338    enable_svg_as_image=no
339    enable_svg_use_element=no
340 fi
341
342 # check whether to enable support for SVG animation
343 AC_MSG_CHECKING([whether to enable support for SVG animation])
344 AC_ARG_ENABLE(svg_animation,
345               AC_HELP_STRING([--enable-svg-animation],
346                              [enable support for SVG animation (experimental) [default=yes]]),
347               [],[enable_svg_animation="yes"])
348 AC_MSG_RESULT([$enable_svg_animation])
349
350 # check whether to enable support for SVG filters
351 AC_MSG_CHECKING([whether to enable support for SVG filters])
352 AC_ARG_ENABLE(svg_filters,
353               AC_HELP_STRING([--enable-svg-filters],
354                              [enable support for SVG filters (experimental) [default=no]]),
355               [],[enable_svg_filters="no"])
356 AC_MSG_RESULT([$enable_svg_filters])
357
358 # check whether to enable support for SVG fonts
359 AC_MSG_CHECKING([whether to enable support for SVG fonts])
360 AC_ARG_ENABLE(svg_fonts,
361               AC_HELP_STRING([--enable-svg-fonts],
362                              [enable support for SVG fonts (experimental) [default=yes]]),
363               [],[enable_svg_fonts="yes"])
364 AC_MSG_RESULT([$enable_svg_fonts])
365
366 # check whether to enable foreign objects support for SVG
367 AC_MSG_CHECKING([whether to enable support for SVG foreign objects])
368 AC_ARG_ENABLE(svg_foreign_object,
369               AC_HELP_STRING([--enable-svg-foreign-object],
370                              [enable support for SVG foreign objects (experimental) [default=yes]]),
371               [],[enable_svg_foreign_object="yes"])
372 AC_MSG_RESULT([$enable_svg_foreign_object])
373
374 # check whether to enable SVG As Image support
375 AC_MSG_CHECKING([whether to enable SVG as Image support])
376 AC_ARG_ENABLE(svg_as_image,
377               AC_HELP_STRING([--enable-svg-as-image],
378                              [enable SVG as Image support (experimental) [default=yes]]),
379               [],[enable_svg_as_image="yes"])
380 AC_MSG_RESULT([$enable_svg_as_image])
381
382 # check whether to enable SVG USE element support
383 AC_MSG_CHECKING([whether to enable support for SVG use element])
384 AC_ARG_ENABLE(svg_use_element,
385               AC_HELP_STRING([--enable-svg-use-element],
386                              [enable SVG use element support (experimental) [default=yes]]),
387               [],[enable_svg_use_element="yes"])
388 AC_MSG_RESULT([$enable_svg_use_element])
389
390 # check for SVG features, enabling SVG if necessary
391 if test "$enable_svg_animation" = "yes" || \
392    test "$enable_svg_filters" = "yes" || \
393    test "$enable_svg_fonts" = "yes" || \
394    test "$enable_svg_foreign_object" = "yes" || \
395    test "$enable_svg_as_image" = "yes" || \
396    test "$enable_svg_use_element" = "yes"; then
397    svg_flags=yes
398    if test "$enable_svg" = "no"; then
399        AC_MSG_WARN([SVG feature(s) requested but SVG is disabled.. Enabling SVG support])
400        enable_svg=yes
401    fi
402 fi
403
404 # check whether to enable code coverage
405 AC_MSG_CHECKING([whether to enable code coverage support])
406 AC_ARG_ENABLE(coverage,
407               AC_HELP_STRING([--enable-coverage],
408                              [enable code coverage support [default=no]]),
409               [],[enable_coverage="no"])
410 AC_MSG_RESULT([$enable_coverage])
411
412 # check whether to enable FastMalloc
413 AC_MSG_CHECKING([whether to enable optimized memory allocator])
414 AC_ARG_ENABLE(fast_malloc,
415               AC_HELP_STRING([--enable-fast-malloc],
416                              [enable optimized memory allocator default=yes, default=no for debug builds]),
417               [],[if test "$enable_debug" = "yes"; then enable_fast_malloc="no"; else enable_fast_malloc="yes"; fi])
418 AC_MSG_RESULT([$enable_fast_malloc])
419
420 # determine the font backend
421 AC_MSG_CHECKING([the font backend to use])
422 AC_ARG_WITH(font_backend,
423             AC_HELP_STRING([--with-font-backend=@<:@freetype/pango@:>@],
424                            [Select font backend [default=freetype]]),
425             [],[with_font_backend="freetype"])
426
427 case "$with_font_backend" in
428      freetype|pango) ;;
429      *) AC_MSG_ERROR([Invalid font backend: must be freetype or pango.]) ;;
430 esac
431 AC_MSG_RESULT([$with_font_backend])
432
433 # Add '-g' flag to gcc if it's debug build
434 if test "$enable_debug" = "yes"; then
435    CXXFLAGS="$CXXFLAGS -g"
436    CFLAGS="$CFLAGS -g"
437 fi
438
439 # check if curl is available
440 if test "$with_http_backend" = "curl"; then
441    PKG_CHECK_MODULES([LIBCURL],
442                      [libcurl >= $LIBCURL_REQUIRED_VERSION])
443    if test "$os_win32" = "yes"; then
444       LIBCURL_LIBS="$LIBCURL_LIBS -lWs2_32"
445    fi
446    AC_SUBST([LIBCURL_CFLAGS])
447    AC_SUBST([LIBCURL_LIBS])
448 fi
449
450 if test "$with_http_backend" = "soup"; then
451    PKG_CHECK_MODULES([LIBSOUP],
452                      [libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION])
453    AC_SUBST([LIBSOUP_CFLAGS])
454    AC_SUBST([LIBSOUP_LIBS])
455 fi
456
457 # check if FreeType/FontConfig are available
458 if test "$with_font_backend" = "freetype"; then
459    PKG_CHECK_MODULES([FREETYPE],
460                      [cairo-ft
461                      fontconfig >= $FONTCONFIG_REQUIRED_VERSION
462                      freetype2 >= $FREETYPE2_REQUIRED_VERSION])
463    AC_SUBST([FREETYPE_CFLAGS])
464    AC_SUBST([FREETYPE_LIBS])
465 fi
466
467 # check if sqlite 3 is available
468 if test "$enable_icon_database" = "yes" || \
469    test "$enable_database" = "yes" || \
470    test "$enable_offline_web_applications" = "yes" || \
471    test "$enable_dom_storage" = "yes"; then
472    PKG_CHECK_MODULES([SQLITE3], [sqlite3 >= $SQLITE_REQUIRED_VERSION])
473    AC_SUBST([SQLITE3_CFLAGS])
474    AC_SUBST([SQLITE3_LIBS])
475 fi
476
477 # check if libxslt is available
478 if test "$enable_xslt" = "yes"; then
479    PKG_CHECK_MODULES([LIBXSLT],[libxslt >= $LIBXSLT_REQUIRED_VERSION])
480    AC_SUBST([LIBXSLT_CFLAGS])
481    AC_SUBST([LIBXSLT_LIBS])
482 fi
483
484 # check if gstreamer is available
485 if test "$enable_video" = "yes"; then
486    PKG_CHECK_MODULES([GSTREAMER],
487                      [gstreamer-0.10 >= $GSTREAMER_REQUIRED_VERSION
488                      gstreamer-base-0.10,
489                      gstreamer-plugins-base-0.10,
490                      gnome-vfs-2.0 >= $GNOME_VFS_REQUIRED_VERSION])
491    AC_SUBST([GSTREAMER_CFLAGS])
492    AC_SUBST([GSTREAMER_LIBS])
493 fi
494
495 # check for code coverage support
496 if test "$enable_coverage" = "yes"; then
497    COVERAGE_CFLAGS="-MD"
498    COVERAGE_LDFLAGS="-ftest-coverage -fprofile-arcs"
499    AC_SUBST([COVERAGE_CFLAGS])
500    AC_SUBST([COVERAGE_LDFLAGS])
501 fi
502
503 # check for HTML features
504 if test "$enable_video" = "yes"; then
505     html_flags=yes
506 fi
507
508 # OS conditionals
509 AM_CONDITIONAL([OS_WIN32],[test "$os_win32" = "yes"])
510 AM_CONDITIONAL([OS_UNIX],[test "$os_win32" = "no"])
511 AM_CONDITIONAL([OS_LINUX],[test "$os_linux" = "yes"])
512 AM_CONDITIONAL([OS_FREEBSD],[test "$os_freebsd" = "yes"])
513
514 # target conditionals
515 AM_CONDITIONAL([TARGET_X11], [test "$with_target" = "x11"])
516 AM_CONDITIONAL([TARGET_WIN32], [test "$with_target" = "win32"])
517 AM_CONDITIONAL([TARGET_QUARTZ], [test "$with_target" = "quartz"])
518 AM_CONDITIONAL([TARGET_DIRECTFB], [test "$with_target" = "directfb"])
519
520 # HTTP backend conditionals
521 AM_CONDITIONAL([USE_CURL], [test "$with_http_backend" = "curl"])
522 AM_CONDITIONAL([USE_SOUP], [test "$with_http_backend" = "soup"])
523
524 # Font backend conditionals
525 AM_CONDITIONAL([USE_FREETYPE], [test "$with_font_backend" = "freetype"])
526 AM_CONDITIONAL([USE_PANGO], [test "$with_font_backend" = "pango"])
527
528 # WebKit feature conditionals
529 AM_CONDITIONAL([ENABLE_DEBUG],[test "$enable_debug" = "yes"])
530 AM_CONDITIONAL([ENABLE_DASHBOARD_SUPPORT],[test "$enable_dashboard_support" = "yes"])
531 AM_CONDITIONAL([ENABLE_OFFLINE_WEB_APPLICATIONS],[test "$enable_offline_web_applications" = "yes"])
532 AM_CONDITIONAL([ENABLE_DOM_STORAGE],[test "$enable_dom_storage" = "yes"])
533 AM_CONDITIONAL([ENABLE_DATABASE],[test "$enable_database" = "yes"])
534 AM_CONDITIONAL([ENABLE_ICONDATABASE],[test "$enable_icon_database" = "yes"])
535 AM_CONDITIONAL([ENABLE_XPATH],[test "$enable_xpath" = "yes"])
536 AM_CONDITIONAL([ENABLE_XSLT],[test "$enable_xslt" = "yes"])
537 AM_CONDITIONAL([ENABLE_VIDEO],[test "$enable_video" = "yes"])
538 AM_CONDITIONAL([ENABLE_SVG],[test "$enable_svg" = "yes"])
539 AM_CONDITIONAL([ENABLE_SVG_ANIMATION],[test "$enable_svg_animation" = "yes"])
540 AM_CONDITIONAL([ENABLE_SVG_FILTERS],[test "$enable_svg_filters" = "yes"])
541 AM_CONDITIONAL([ENABLE_SVG_FONTS],[test "$enable_svg_fonts" = "yes"])
542 AM_CONDITIONAL([ENABLE_SVG_FOREIGN_OBJECT],[test "$enable_svg_foreign_object" = "yes"])
543 AM_CONDITIONAL([ENABLE_SVG_AS_IMAGE],[test "$enable_svg_as_image" = "yes"])
544 AM_CONDITIONAL([ENABLE_SVG_USE],[test "$enable_svg_use_element" = "yes"])
545 AM_CONDITIONAL([ENABLE_COVERAGE],[test "$enable_coverage" = "yes"])
546 AM_CONDITIONAL([ENABLE_FAST_MALLOC],[test "$enable_fast_malloc" = "yes"])
547 AM_CONDITIONAL([SVG_FLAGS],[test "$svg_flags" = "yes"])
548 AM_CONDITIONAL([HTML_FLAGS],[test "$html_flags" = "yes"])
549
550 AC_CONFIG_FILES([
551 GNUmakefile
552 WebKit/gtk/webkit-1.0.pc:WebKit/gtk/webkit.pc.in
553 ]
554 )
555
556 AC_OUTPUT
557
558 echo "
559 WebKit was configured with the following options:
560
561 Build configuration:
562  Enable debugging (slow)                                  : $enable_debug
563  Code coverage support                                    : $enable_coverage
564  Unicode backend                                          : $unicode_backend
565  HTTP backend                                             : $with_http_backend
566  Font backend                                             : $with_font_backend
567  Optimized memory allocator                               : $enable_fast_malloc
568 Features:
569  Dashboard support                                        : $enable_dashboard_support
570  HTML5 offline web applications support                   : $enable_offline_web_applications
571  HTML5 client-side session and persistent storage support : $enable_dom_storage
572  HTML5 client-side database storage support               : $enable_database
573  HTML5 video element support                              : $enable_video
574  Icon database support                                    : $enable_icon_database
575  SVG support                                              : $enable_svg
576  SVG animation support                                    : $enable_svg_animation
577  SVG filters support                                      : $enable_svg_filters
578  SVG fonts support                                        : $enable_svg_fonts
579  SVG foreign object support                               : $enable_svg_foreign_object
580  SVG as image support                                     : $enable_svg_as_image
581  SVG use element support                                  : $enable_svg_use_element
582  XPATH support                                            : $enable_xpath
583  XSLT support                                             : $enable_xslt
584 GTK+ configuration:
585  GDK target                                               : $with_target
586  Hildon UI extensions                                     : $with_hildon
587 "