1 AC_MSG_CHECKING([whether to build WebKit1])
3 AC_HELP_STRING([--enable-webkit1], [build WebKit1 [default=yes]]),
5 [enable_webkit1="yes"])
6 AC_MSG_RESULT([$enable_webkit1])
8 # If you change the default here, please also make sure the assumptions made
9 # in Tools/Scripts/webkitdirs.pm:buildAutotoolsProject still make sense.
10 AC_MSG_CHECKING([whether to build WebKit2])
11 AC_ARG_ENABLE(webkit2,
12 AC_HELP_STRING([--enable-webkit2], [build WebKit2 [default=yes]]),
14 [enable_webkit2="yes"])
15 AC_MSG_RESULT([$enable_webkit2])
17 AC_MSG_CHECKING([whether to do a debug build])
19 AC_HELP_STRING([--enable-debug], [turn on debugging [default=no]]),
20 [],[enable_debug="no"])
21 AC_MSG_RESULT([$enable_debug])
23 AC_MSG_CHECKING([whether to enable optimized builds])
24 AC_ARG_ENABLE(optimizations,
25 AC_HELP_STRING([--enable-optimizations], [turn on optimize builds (GCC only) [default=yes]]),
26 [enable_optimizations=$enableval],
28 if test "$enable_debug" = "yes"; then
29 enable_optimizations="no";
31 enable_optimizations="yes";
34 AC_MSG_RESULT([$enable_optimizations])
36 AC_MSG_CHECKING([the GTK+ version to use])
38 [AS_HELP_STRING([--with-gtk=2.0|3.0], [the GTK+ version to use (default: 3.0)])],
42 *) AC_MSG_ERROR([invalid GTK+ version specified]) ;;
46 AC_MSG_RESULT([$with_gtk])
48 AC_MSG_CHECKING([the target windowing system])
50 AC_HELP_STRING([--with-target=@<:@x11/win32/quartz/directfb@:>@], [Select webkit target [default=x11]]),
52 case "$with_target" in
53 x11|win32|quartz|directfb) ;;
54 *) AC_MSG_ERROR([Invalid target: must be x11, quartz, win32, or directfb.]) ;;
58 AC_MSG_RESULT([$with_target])
60 AC_MSG_CHECKING([whether to enable spellcheck support])
61 AC_ARG_ENABLE([spellcheck],
62 [AS_HELP_STRING([--enable-spellcheck],[enable support for spellcheck])],
64 [enable_spellcheck="yes"])
65 AC_MSG_RESULT([$enable_spellcheck])
68 AC_HELP_STRING([--enable-glx], [enable support for GLX [default=auto]]),
73 AC_HELP_STRING([--enable-egl], [enable support for EGL [default=auto]]),
76 AC_ARG_ENABLE(gles2, AC_HELP_STRING([--enable-gles2], [enable support for OpenGL ES 2 [default=auto]]), [], [enable_gles2="auto"])
78 AC_MSG_CHECKING([whether to enable Gamepad support])
79 AC_ARG_ENABLE(gamepad,
80 AC_HELP_STRING([--enable-gamepad], [enable Gamepad support [default=no]]),
82 [enable_gamepad="no"])
83 AC_MSG_RESULT([$enable_gamepad])
85 AC_MSG_CHECKING([whether to enable HTML5 video support])
87 AC_HELP_STRING([--enable-video], [enable HTML5 video support [default=yes]]),
90 AC_MSG_RESULT([$enable_video])
92 AC_MSG_CHECKING([whether to enable media stream support])
93 AC_ARG_ENABLE(media_stream,
94 AC_HELP_STRING([--enable-media-stream], [enable media stream support (incomplete) [default=no]]),
96 [enable_media_stream="no"])
97 AC_MSG_RESULT([$enable_media_stream])
99 AC_MSG_CHECKING([whether to enable XSLT support])
101 AC_HELP_STRING([--enable-xslt], [enable support for XSLT [default=yes]]),
104 AC_MSG_RESULT([$enable_xslt])
106 AC_MSG_CHECKING([whether to enable geolocation support])
107 AC_ARG_ENABLE(geolocation,
108 AC_HELP_STRING([--enable-geolocation], [enable support for geolocation [default=yes]]),
110 [enable_geolocation="yes"])
111 AC_MSG_RESULT([$enable_geolocation])
113 AC_MSG_CHECKING([whether to enable SVG support])
115 AC_HELP_STRING([--enable-svg], [enable support for SVG [default=yes]]),
118 AC_MSG_RESULT([$enable_svg])
120 AC_MSG_CHECKING([whether to enable support for SVG fonts])
121 AC_ARG_ENABLE(svg_fonts,
122 AC_HELP_STRING([--enable-svg-fonts], [enable support for SVG fonts (experimental) [default=yes]]),
124 [enable_svg_fonts="yes"])
125 AC_MSG_RESULT([$enable_svg_fonts])
127 AC_MSG_CHECKING([whether to enable Web Audio support])
128 AC_ARG_ENABLE(web_audio,
129 AC_HELP_STRING([--enable-web-audio], [enable support for Web Audio [default=no]]),
131 [enable_web_audio="no"])
132 AC_MSG_RESULT([$enable_web_audio])
134 AC_MSG_CHECKING([whether to enable code coverage support])
135 AC_ARG_ENABLE(coverage,
136 AC_HELP_STRING([--enable-coverage], [enable code coverage support [default=no]]),
138 [enable_coverage="no"])
139 AC_MSG_RESULT([$enable_coverage])
141 AC_MSG_CHECKING([whether to enable optimized memory allocator])
142 AC_ARG_ENABLE(fast_malloc,
143 AC_HELP_STRING([--enable-fast-malloc], [enable optimized memory allocator default=yes, default=no for debug builds]),
145 [if test "$enable_debug" = "yes"; then
146 enable_fast_malloc="no";
148 enable_fast_malloc="yes";
150 AC_MSG_RESULT([$enable_fast_malloc])
152 AC_MSG_CHECKING([whether to enable debug symbols])
153 AC_ARG_ENABLE(debug_symbols,
154 AC_HELP_STRING([--enable-debug-symbols=yes|no|min|full], [enable debug symbols default=no, default=yes for debug builds]),
156 case "$enable_debug_symbols" in
157 yes) enable_debug_symbols="full" ;;
159 *) AC_MSG_ERROR([Invalid debug symbols option: must be yes, no, min or full.]) ;;
163 if test "$enable_debug" = "yes"; then
164 enable_debug_symbols="yes";
166 enable_debug_symbols="no";
169 AC_MSG_RESULT([$enable_debug_symbols])
171 AC_MSG_CHECKING([which GPU acceleration backend to use])
172 AC_ARG_WITH(acceleration_backend,
173 AC_HELP_STRING([--with-acceleration-backend=@<:@opengl/clutter/none@:>@],
174 [Select accelerated backend (Clutter currently unsupported, OpenGL autodetected) [default=autodetect]]),
176 [with_acceleration_backend="auto"])
177 AC_MSG_RESULT([$with_acceleration_backend])
179 AC_MSG_CHECKING([whether to enable WebGL support])
180 AC_ARG_ENABLE(webgl, AC_HELP_STRING([--enable-webgl], [enable support for WebGL [default=check]]),
182 [enable_webgl="auto"])
183 AC_MSG_RESULT([$enable_webgl])
185 AC_MSG_CHECKING([whether to enable accelerated compositing support])
186 AC_ARG_ENABLE(accelerated_compositing,
187 AC_HELP_STRING([--enable-accelerated-compositing], [enable support for accelerated compositing [default=check]]),
189 [enable_accelerated_compositing="auto"])
190 AC_MSG_RESULT([$enable_accelerated_compositing])
192 AC_MSG_CHECKING([whether to enable JIT compilation])
193 AC_ARG_ENABLE(jit, AS_HELP_STRING([--enable-jit], [Enable JIT compilation (default: autodetect)]))
194 AC_MSG_RESULT([$enable_jit])
196 AC_MSG_CHECKING([whether to enable opcode stats])
197 AC_ARG_ENABLE([opcode-stats],
198 AS_HELP_STRING([--enable-opcode-stats], [Enable Opcode statistics (default: disabled)]),
200 [enable_opcode_stats=no])
201 AC_MSG_RESULT([$enable_opcode_stats])
203 AC_MSG_CHECKING([whether to enable GObject introspection support])
204 AC_ARG_ENABLE([introspection],
205 AS_HELP_STRING([--enable-introspection],[Enable GObject introspection (default: disabled)]),
207 [enable_introspection=no])
208 AC_MSG_RESULT([$enable_introspection])