| AC_MSG_CHECKING([whether to build WebKit1]) |
| AC_ARG_ENABLE(webkit1, |
| AC_HELP_STRING([--enable-webkit1], [build WebKit1 [default=yes]]), |
| [], |
| [enable_webkit1="yes"]) |
| AC_MSG_RESULT([$enable_webkit1]) |
| |
| # If you change the default here, please also make sure the assumptions made |
| # in Tools/Scripts/webkitdirs.pm:buildAutotoolsProject still make sense. |
| AC_MSG_CHECKING([whether to build WebKit2]) |
| AC_ARG_ENABLE(webkit2, |
| AC_HELP_STRING([--enable-webkit2], [build WebKit2 [default=yes]]), |
| [], |
| [enable_webkit2="yes"]) |
| AC_MSG_RESULT([$enable_webkit2]) |
| |
| AC_MSG_CHECKING([whether to do a debug build]) |
| AC_ARG_ENABLE(debug, |
| AC_HELP_STRING([--enable-debug], [turn on debugging [default=no]]), |
| [],[enable_debug="no"]) |
| AC_MSG_RESULT([$enable_debug]) |
| |
| AC_MSG_CHECKING([whether to enable optimized builds]) |
| AC_ARG_ENABLE(optimizations, |
| AC_HELP_STRING([--enable-optimizations], [turn on optimize builds (GCC only) [default=yes]]), |
| [enable_optimizations=$enableval], |
| [ |
| if test "$enable_debug" = "yes"; then |
| enable_optimizations="no"; |
| else |
| enable_optimizations="yes"; |
| fi |
| ]) |
| AC_MSG_RESULT([$enable_optimizations]) |
| |
| AC_MSG_CHECKING([the GTK+ version to use]) |
| AC_ARG_WITH([gtk], |
| [AS_HELP_STRING([--with-gtk=2.0|3.0], [the GTK+ version to use (default: 3.0)])], |
| [ |
| case "$with_gtk" in |
| 2.0|3.0) ;; |
| *) AC_MSG_ERROR([invalid GTK+ version specified]) ;; |
| esac |
| ], |
| [with_gtk=3.0]) |
| AC_MSG_RESULT([$with_gtk]) |
| |
| AC_MSG_CHECKING([the target windowing system]) |
| AC_ARG_WITH(target, |
| AC_HELP_STRING([--with-target=@<:@x11/win32/quartz/directfb@:>@], [Select webkit target [default=x11]]), |
| [ |
| case "$with_target" in |
| x11|win32|quartz|directfb) ;; |
| *) AC_MSG_ERROR([Invalid target: must be x11, quartz, win32, or directfb.]) ;; |
| esac |
| ], |
| [with_target="x11"]) |
| AC_MSG_RESULT([$with_target]) |
| |
| AC_MSG_CHECKING([which Unicode backend to use]) |
| AC_ARG_WITH(unicode_backend, |
| AC_HELP_STRING([--with-unicode-backend=@<:@icu/glib@:>@], |
| [Select Unicode backend (WARNING: the glib-based backend is slow, and incomplete) [default=icu]]), |
| [ |
| case "$with_unicodebackend" in |
| icu|glib) ;; |
| *) AC_MSG_ERROR([Invalid Unicode backend: must be icu or glib.]) ;; |
| esac |
| ], |
| [with_unicode_backend="icu"]) |
| AC_MSG_RESULT([$with_unicode_backend]) |
| |
| AC_MSG_CHECKING([whether to enable spellcheck support]) |
| AC_ARG_ENABLE([spellcheck], |
| [AS_HELP_STRING([--enable-spellcheck],[enable support for spellcheck])], |
| [], |
| [enable_spellcheck="yes"]) |
| AC_MSG_RESULT([$enable_spellcheck]) |
| |
| AC_ARG_ENABLE(glx, |
| AC_HELP_STRING([--enable-glx], [enable support for GLX [default=auto]]), |
| [], |
| [enable_glx="auto"]) |
| |
| AC_ARG_ENABLE(egl, |
| AC_HELP_STRING([--enable-egl], [enable support for EGL [default=auto]]), |
| [], |
| [enable_egl="auto"]) |
| AC_ARG_ENABLE(gles2, AC_HELP_STRING([--enable-gles2], [enable support for OpenGL ES 2 [default=auto]]), [], [enable_gles2="auto"]) |
| |
| AC_MSG_CHECKING([whether to enable Gamepad support]) |
| AC_ARG_ENABLE(gamepad, |
| AC_HELP_STRING([--enable-gamepad], [enable Gamepad support [default=no]]), |
| [], |
| [enable_gamepad="no"]) |
| AC_MSG_RESULT([$enable_gamepad]) |
| |
| AC_MSG_CHECKING([whether to enable HTML5 video support]) |
| AC_ARG_ENABLE(video, |
| AC_HELP_STRING([--enable-video], [enable HTML5 video support [default=yes]]), |
| [], |
| [enable_video="yes"]) |
| AC_MSG_RESULT([$enable_video]) |
| |
| AC_MSG_CHECKING([whether to enable media stream support]) |
| AC_ARG_ENABLE(media_stream, |
| AC_HELP_STRING([--enable-media-stream], [enable media stream support (incomplete) [default=no]]), |
| [], |
| [enable_media_stream="no"]) |
| AC_MSG_RESULT([$enable_media_stream]) |
| |
| AC_MSG_CHECKING([whether to enable XSLT support]) |
| AC_ARG_ENABLE(xslt, |
| AC_HELP_STRING([--enable-xslt], [enable support for XSLT [default=yes]]), |
| [], |
| [enable_xslt="yes"]) |
| AC_MSG_RESULT([$enable_xslt]) |
| |
| AC_MSG_CHECKING([whether to enable geolocation support]) |
| AC_ARG_ENABLE(geolocation, |
| AC_HELP_STRING([--enable-geolocation], [enable support for geolocation [default=yes]]), |
| [], |
| [enable_geolocation="yes"]) |
| AC_MSG_RESULT([$enable_geolocation]) |
| |
| AC_MSG_CHECKING([whether to enable SVG support]) |
| AC_ARG_ENABLE(svg, |
| AC_HELP_STRING([--enable-svg], [enable support for SVG [default=yes]]), |
| [], |
| [enable_svg="yes"]) |
| AC_MSG_RESULT([$enable_svg]) |
| |
| AC_MSG_CHECKING([whether to enable support for SVG fonts]) |
| AC_ARG_ENABLE(svg_fonts, |
| AC_HELP_STRING([--enable-svg-fonts], [enable support for SVG fonts (experimental) [default=yes]]), |
| [], |
| [enable_svg_fonts="yes"]) |
| AC_MSG_RESULT([$enable_svg_fonts]) |
| |
| AC_MSG_CHECKING([whether to enable Web Audio support]) |
| AC_ARG_ENABLE(web_audio, |
| AC_HELP_STRING([--enable-web-audio], [enable support for Web Audio [default=no]]), |
| [], |
| [enable_web_audio="no"]) |
| AC_MSG_RESULT([$enable_web_audio]) |
| |
| AC_MSG_CHECKING([whether to enable code coverage support]) |
| AC_ARG_ENABLE(coverage, |
| AC_HELP_STRING([--enable-coverage], [enable code coverage support [default=no]]), |
| [], |
| [enable_coverage="no"]) |
| AC_MSG_RESULT([$enable_coverage]) |
| |
| AC_MSG_CHECKING([whether to enable optimized memory allocator]) |
| AC_ARG_ENABLE(fast_malloc, |
| AC_HELP_STRING([--enable-fast-malloc], [enable optimized memory allocator default=yes, default=no for debug builds]), |
| [], |
| [if test "$enable_debug" = "yes"; then |
| enable_fast_malloc="no"; |
| else |
| enable_fast_malloc="yes"; |
| fi]) |
| AC_MSG_RESULT([$enable_fast_malloc]) |
| |
| AC_MSG_CHECKING([whether to enable debug symbols]) |
| AC_ARG_ENABLE(debug_symbols, |
| AC_HELP_STRING([--enable-debug-symbols=yes|no|min|full], [enable debug symbols default=no, default=yes for debug builds]), |
| [ |
| case "$enable_debug_symbols" in |
| yes) enable_debug_symbols="full" ;; |
| no|min|full) ;; |
| *) AC_MSG_ERROR([Invalid debug symbols option: must be yes, no, min or full.]) ;; |
| esac |
| ], |
| [ |
| if test "$enable_debug" = "yes"; then |
| enable_debug_symbols="yes"; |
| else |
| enable_debug_symbols="no"; |
| fi |
| ]) |
| AC_MSG_RESULT([$enable_debug_symbols]) |
| |
| AC_MSG_CHECKING([the GStreamer version to use]) |
| AC_ARG_WITH([gstreamer], |
| AS_HELP_STRING([--with-gstreamer=1.0|0.10|auto], [the GStreamer version to use (default: auto, tries 1.0 first, 0.10 is fallback)]), |
| [ |
| case "$with_gstreamer" in |
| 0.10|1.0|auto) ;; |
| *) AC_MSG_ERROR([invalid GStreamer version specified]) ;; |
| esac |
| ], |
| [with_gstreamer=auto]) |
| AC_MSG_RESULT([$with_gstreamer]) |
| |
| AC_MSG_CHECKING([which GPU acceleration backend to use]) |
| AC_ARG_WITH(acceleration_backend, |
| AC_HELP_STRING([--with-acceleration-backend=@<:@opengl/clutter/none@:>@], |
| [Select accelerated backend (Clutter currently unsupported, OpenGL autodetected) [default=autodetect]]), |
| [], |
| [with_acceleration_backend="auto"]) |
| AC_MSG_RESULT([$with_acceleration_backend]) |
| |
| AC_MSG_CHECKING([whether to enable WebGL support]) |
| AC_ARG_ENABLE(webgl, AC_HELP_STRING([--enable-webgl], [enable support for WebGL [default=check]]), |
| [], |
| [enable_webgl="auto"]) |
| AC_MSG_RESULT([$enable_webgl]) |
| |
| AC_MSG_CHECKING([whether to enable accelerated compositing support]) |
| AC_ARG_ENABLE(accelerated_compositing, |
| AC_HELP_STRING([--enable-accelerated-compositing], [enable support for accelerated compositing [default=check]]), |
| [], |
| [enable_accelerated_compositing="auto"]) |
| AC_MSG_RESULT([$enable_accelerated_compositing]) |
| |
| AC_MSG_CHECKING([whether to enable debug features]) |
| AC_ARG_ENABLE(debug_features, |
| AC_HELP_STRING([--enable-debug-features], [enable debug features default=no, default=yes for debug builds]), |
| [], |
| [ |
| if test "$enable_debug" = "yes"; then |
| enable_debug_features="yes"; |
| else |
| enable_debug_features="no"; |
| fi |
| ]) |
| AC_MSG_RESULT([$enable_debug_features]) |
| |
| AC_MSG_CHECKING([whether to enable JIT compilation]) |
| AC_ARG_ENABLE(jit, AS_HELP_STRING([--enable-jit], [Enable JIT compilation (default: autodetect)])) |
| AC_MSG_RESULT([$enable_jit]) |
| |
| AC_MSG_CHECKING([whether to enable opcode stats]) |
| AC_ARG_ENABLE([opcode-stats], |
| AS_HELP_STRING([--enable-opcode-stats], [Enable Opcode statistics (default: disabled)]), |
| [], |
| [enable_opcode_stats=no]) |
| AC_MSG_RESULT([$enable_opcode_stats]) |
| |
| AC_MSG_CHECKING([whether to enable GObject introspection support]) |
| AC_ARG_ENABLE([introspection], |
| AS_HELP_STRING([--enable-introspection],[Enable GObject introspection (default: disabled)]), |
| [], |
| [enable_introspection=no]) |
| AC_MSG_RESULT([$enable_introspection]) |
| |
| |