Changeset 33926 in webkit
- Timestamp:
- May 20, 2008 4:52:08 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r33584 r33926 1 2008-05-20 Jan Michael Alonzo <jmalonzo@webkit.org> 2 3 Reviewed by Alp. 4 5 http://bugs.webkit.org/show_bug.cgi?id=18483 6 [Gtk] Autotools should match build-webkit default flags 7 8 * configure.ac: 9 1 10 2008-05-19 Alp Toker <alp@nuanti.com> 2 11 -
trunk/configure.ac
r33584 r33926 284 284 AC_ARG_ENABLE(dom_storage, 285 285 AC_HELP_STRING([--enable-dom-storage], 286 [enable HTML5 client-side session and persistent storage support [default= no]]),287 [],[enable_dom_storage=" no"])286 [enable HTML5 client-side session and persistent storage support [default=yes]]), 287 [],[enable_dom_storage="yes"]) 288 288 AC_MSG_RESULT([$enable_dom_storage]) 289 289 … … 300 300 AC_ARG_ENABLE(icon_database, 301 301 AC_HELP_STRING([--enable-icon-database], 302 [enable icon database [default= no]]),303 [],[enable_icon_database=" no"])302 [enable icon database [default=yes]]), 303 [],[enable_icon_database="yes"]) 304 304 AC_MSG_RESULT([$enable_icon_database]) 305 305 … … 337 337 AC_MSG_RESULT([$enable_svg_experimental]) 338 338 339 if test "$enable_svg_experimental" = "yes"; then 339 # check whether to enable SVG support 340 AC_MSG_CHECKING([whether to enable SVG support]) 341 AC_ARG_ENABLE(svg, 342 AC_HELP_STRING([--enable-svg], 343 [enable support for SVG [default=yes]]), 344 [],[enable_svg="yes"]) 345 AC_MSG_RESULT([$enable_svg]) 346 347 # check for SVG features, enabling SVG if necessary 348 if test "$enable_svg_experimental" = "no" || test "$enable_svg" = "no"; then 349 enable_svg_animation=no 350 enable_svg_filters=no 351 enable_svg_fonts=no 352 enable_svg_foreign_object=no 353 enable_svg_as_image=no 354 enable_svg_use_element=no 355 elif test "$enable_svg_experimental" = "yes"; then 340 356 enable_svg=yes 341 357 enable_svg_animation=yes … … 347 363 fi 348 364 349 # check whether to enable SVG support350 AC_MSG_CHECKING([whether to enable SVG support])351 AC_ARG_ENABLE(svg,352 AC_HELP_STRING([--enable-svg],353 [enable support for SVG [default=no]]),354 [],[enable_svg="no"])355 AC_MSG_RESULT([$enable_svg])356 357 365 # check whether to enable support for SVG animation 358 366 AC_MSG_CHECKING([whether to enable support for SVG animation]) 359 367 AC_ARG_ENABLE(svg_animation, 360 368 AC_HELP_STRING([--enable-svg-animation], 361 [enable support for SVG animation (experimental) [default= no]]),362 [],[enable_svg_animation=" no"])369 [enable support for SVG animation (experimental) [default=yes]]), 370 [],[enable_svg_animation="yes"]) 363 371 AC_MSG_RESULT([$enable_svg_animation]) 364 372 … … 375 383 AC_ARG_ENABLE(svg_fonts, 376 384 AC_HELP_STRING([--enable-svg-fonts], 377 [enable support for SVG fonts (experimental) [default= no]]),378 [],[enable_svg_fonts=" no"])385 [enable support for SVG fonts (experimental) [default=yes]]), 386 [],[enable_svg_fonts="yes"]) 379 387 AC_MSG_RESULT([$enable_svg_fonts]) 380 388 … … 383 391 AC_ARG_ENABLE(svg_foreign_object, 384 392 AC_HELP_STRING([--enable-svg-foreign-object], 385 [enable support for SVG foreign objects (experimental) [default= no]]),386 [],[enable_svg_foreign_object=" no"])393 [enable support for SVG foreign objects (experimental) [default=yes]]), 394 [],[enable_svg_foreign_object="yes"]) 387 395 AC_MSG_RESULT([$enable_svg_foreign_object]) 388 396 … … 391 399 AC_ARG_ENABLE(svg_as_image, 392 400 AC_HELP_STRING([--enable-svg-as-image], 393 [enable SVG as Image support (experimental) [default= no]]),394 [],[enable_svg_as_image=" no"])401 [enable SVG as Image support (experimental) [default=yes]]), 402 [],[enable_svg_as_image="yes"]) 395 403 AC_MSG_RESULT([$enable_svg_as_image]) 396 404 … … 399 407 AC_ARG_ENABLE(svg_use_element, 400 408 AC_HELP_STRING([--enable-svg-use-element], 401 [enable SVG use element support (experimental) [default= no]]),402 [],[enable_svg_use_element=" no"])409 [enable SVG use element support (experimental) [default=yes]]), 410 [],[enable_svg_use_element="yes"]) 403 411 AC_MSG_RESULT([$enable_svg_use_element]) 404 412 405 # check whether to enable code coverage406 AC_MSG_CHECKING([whether to enable code coverage support])407 AC_ARG_ENABLE(coverage,408 AC_HELP_STRING([--enable-coverage],409 [enable code coverage support [default=no]]),410 [],[enable_coverage="no"])411 AC_MSG_RESULT([$enable_coverage])412 413 # check whether to enable FastMalloc414 AC_MSG_CHECKING([whether to enable optimized memory allocator])415 AC_ARG_ENABLE(fast_malloc,416 AC_HELP_STRING([--enable-fast-malloc],417 [enable optimized memory allocator default=yes, default=no for debug builds]),418 [],[if test "$enable_debug" = "yes"; then enable_fast_malloc="no"; else enable_fast_malloc="yes"; fi])419 AC_MSG_RESULT([$enable_fast_malloc])420 421 # determine the font backend422 AC_MSG_CHECKING([the font backend to use])423 AC_ARG_WITH(font_backend,424 AC_HELP_STRING([--with-font-backend=@<:@freetype/pango@:>@],425 [Select font backend [default=freetype]]),426 [],[with_font_backend="freetype"])427 428 case "$with_font_backend" in429 freetype|pango) ;;430 *) AC_MSG_ERROR([Invalid font backend: must be freetype or pango.]) ;;431 esac432 AC_MSG_RESULT([$with_font_backend])433 434 # Add '-g' flag to gcc if it's debug build435 if test "$enable_debug" = "yes"; then436 CXXFLAGS="$CXXFLAGS -g"437 CFLAGS="$CFLAGS -g"438 fi439 440 # check if curl is available441 if test "$with_http_backend" = "curl"; then442 PKG_CHECK_MODULES([LIBCURL],443 [libcurl >= $LIBCURL_REQUIRED_VERSION])444 AC_SUBST([LIBCURL_CFLAGS])445 AC_SUBST([LIBCURL_LIBS])446 fi447 448 if test "$with_http_backend" = "soup"; then449 PKG_CHECK_MODULES([LIBSOUP],450 [libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION])451 AC_SUBST([LIBSOUP_CFLAGS])452 AC_SUBST([LIBSOUP_LIBS])453 fi454 455 # check if FreeType/FontConfig are available456 if test "$with_font_backend" = "freetype"; then457 PKG_CHECK_MODULES([FREETYPE],458 [cairo-ft459 fontconfig >= $FONTCONFIG_REQUIRED_VERSION460 freetype2 >= $FREETYPE2_REQUIRED_VERSION])461 AC_SUBST([FREETYPE_CFLAGS])462 AC_SUBST([FREETYPE_LIBS])463 fi464 465 # check if sqlite 3 is available466 if test "$enable_icon_database" = "yes" || test "$enable_database" = "yes"; then467 PKG_CHECK_MODULES([SQLITE3], [sqlite3 >= $SQLITE_REQUIRED_VERSION])468 AC_SUBST([SQLITE3_CFLAGS])469 AC_SUBST([SQLITE3_LIBS])470 fi471 472 # check if libxslt is available473 if test "$enable_xslt" = "yes"; then474 PKG_CHECK_MODULES([LIBXSLT],[libxslt >= $LIBXSLT_REQUIRED_VERSION])475 AC_SUBST([LIBXSLT_CFLAGS])476 AC_SUBST([LIBXSLT_LIBS])477 fi478 479 # check if gstreamer is available480 if test "$enable_video" = "yes"; then481 PKG_CHECK_MODULES([GSTREAMER],482 [gstreamer-0.10 >= $GSTREAMER_REQUIRED_VERSION483 gstreamer-base-0.10,484 gstreamer-plugins-base-0.10,485 gnome-vfs-2.0 >= $GNOME_VFS_REQUIRED_VERSION])486 AC_SUBST([GSTREAMER_CFLAGS])487 AC_SUBST([GSTREAMER_LIBS])488 fi489 490 # check for code coverage support491 if test "$enable_coverage" = "yes"; then492 COVERAGE_CFLAGS="-MD"493 COVERAGE_LDFLAGS="-ftest-coverage -fprofile-arcs"494 AC_SUBST([COVERAGE_CFLAGS])495 AC_SUBST([COVERAGE_LDFLAGS])496 fi497 498 # check for HTML features499 if test "$enable_video" = "yes"; then500 html_flags=yes501 fi502 503 # check for SVG features, enabling SVG if necessary504 413 if test "$enable_svg_animation" = "yes" || \ 505 414 test "$enable_svg_filters" = "yes" || \ … … 513 422 enable_svg=yes 514 423 fi 424 fi 425 426 # check whether to enable code coverage 427 AC_MSG_CHECKING([whether to enable code coverage support]) 428 AC_ARG_ENABLE(coverage, 429 AC_HELP_STRING([--enable-coverage], 430 [enable code coverage support [default=no]]), 431 [],[enable_coverage="no"]) 432 AC_MSG_RESULT([$enable_coverage]) 433 434 # check whether to enable FastMalloc 435 AC_MSG_CHECKING([whether to enable optimized memory allocator]) 436 AC_ARG_ENABLE(fast_malloc, 437 AC_HELP_STRING([--enable-fast-malloc], 438 [enable optimized memory allocator default=yes, default=no for debug builds]), 439 [],[if test "$enable_debug" = "yes"; then enable_fast_malloc="no"; else enable_fast_malloc="yes"; fi]) 440 AC_MSG_RESULT([$enable_fast_malloc]) 441 442 # determine the font backend 443 AC_MSG_CHECKING([the font backend to use]) 444 AC_ARG_WITH(font_backend, 445 AC_HELP_STRING([--with-font-backend=@<:@freetype/pango@:>@], 446 [Select font backend [default=freetype]]), 447 [],[with_font_backend="freetype"]) 448 449 case "$with_font_backend" in 450 freetype|pango) ;; 451 *) AC_MSG_ERROR([Invalid font backend: must be freetype or pango.]) ;; 452 esac 453 AC_MSG_RESULT([$with_font_backend]) 454 455 # Add '-g' flag to gcc if it's debug build 456 if test "$enable_debug" = "yes"; then 457 CXXFLAGS="$CXXFLAGS -g" 458 CFLAGS="$CFLAGS -g" 459 fi 460 461 # check if curl is available 462 if test "$with_http_backend" = "curl"; then 463 PKG_CHECK_MODULES([LIBCURL], 464 [libcurl >= $LIBCURL_REQUIRED_VERSION]) 465 AC_SUBST([LIBCURL_CFLAGS]) 466 AC_SUBST([LIBCURL_LIBS]) 467 fi 468 469 if test "$with_http_backend" = "soup"; then 470 PKG_CHECK_MODULES([LIBSOUP], 471 [libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION]) 472 AC_SUBST([LIBSOUP_CFLAGS]) 473 AC_SUBST([LIBSOUP_LIBS]) 474 fi 475 476 # check if FreeType/FontConfig are available 477 if test "$with_font_backend" = "freetype"; then 478 PKG_CHECK_MODULES([FREETYPE], 479 [cairo-ft 480 fontconfig >= $FONTCONFIG_REQUIRED_VERSION 481 freetype2 >= $FREETYPE2_REQUIRED_VERSION]) 482 AC_SUBST([FREETYPE_CFLAGS]) 483 AC_SUBST([FREETYPE_LIBS]) 484 fi 485 486 # check if sqlite 3 is available 487 if test "$enable_icon_database" = "yes" || test "$enable_database" = "yes"; then 488 PKG_CHECK_MODULES([SQLITE3], [sqlite3 >= $SQLITE_REQUIRED_VERSION]) 489 AC_SUBST([SQLITE3_CFLAGS]) 490 AC_SUBST([SQLITE3_LIBS]) 491 fi 492 493 # check if libxslt is available 494 if test "$enable_xslt" = "yes"; then 495 PKG_CHECK_MODULES([LIBXSLT],[libxslt >= $LIBXSLT_REQUIRED_VERSION]) 496 AC_SUBST([LIBXSLT_CFLAGS]) 497 AC_SUBST([LIBXSLT_LIBS]) 498 fi 499 500 # check if gstreamer is available 501 if test "$enable_video" = "yes"; then 502 PKG_CHECK_MODULES([GSTREAMER], 503 [gstreamer-0.10 >= $GSTREAMER_REQUIRED_VERSION 504 gstreamer-base-0.10, 505 gstreamer-plugins-base-0.10, 506 gnome-vfs-2.0 >= $GNOME_VFS_REQUIRED_VERSION]) 507 AC_SUBST([GSTREAMER_CFLAGS]) 508 AC_SUBST([GSTREAMER_LIBS]) 509 fi 510 511 # check for code coverage support 512 if test "$enable_coverage" = "yes"; then 513 COVERAGE_CFLAGS="-MD" 514 COVERAGE_LDFLAGS="-ftest-coverage -fprofile-arcs" 515 AC_SUBST([COVERAGE_CFLAGS]) 516 AC_SUBST([COVERAGE_LDFLAGS]) 517 fi 518 519 # check for HTML features 520 if test "$enable_video" = "yes"; then 521 html_flags=yes 515 522 fi 516 523
Note: See TracChangeset
for help on using the changeset viewer.