| | 401 | |
| | 402 | do_build="mod_cgi mod_fastcgi mod_proxy mod_evhost mod_simple_vhost mod_access mod_alias mod_setenv mod_usertrack mod_auth mod_status mod_accesslog mod_rrdtool mod_secdownload mod_expire mod_compress mod_dirlisting mod_indexfiles mod_userdir" |
| | 403 | |
| | 404 | plugins="mod_rewrite mod_redirect mod_ssi" |
| | 405 | features="regex-conditionals" |
| | 406 | if test ! "x$PCRE_LIB" = x; then |
| | 407 | do_build="$do_build $plugins" |
| | 408 | enable_feature="$features" |
| | 409 | else |
| | 410 | no_build="$no_build $plugins" |
| | 411 | disable_feature="$features" |
| | 412 | fi |
| | 413 | |
| | 414 | plugins="mod_mysql_vhost" |
| | 415 | if test ! "x$MYSQL_LIBS" = x; then |
| | 416 | do_build="$do_build $plugins" |
| | 417 | else |
| | 418 | no_build="$no_build $plugins" |
| | 419 | fi |
| | 420 | |
| | 421 | plugins="mod_trigger_b4_dl" |
| | 422 | if test ! "x$GDBM_LIB" = x; then |
| | 423 | do_build="$do_build $plugins" |
| | 424 | else |
| | 425 | no_build="$no_build $plugins" |
| | 426 | fi |
| | 427 | |
| | 428 | |
| | 429 | features="compress-gzip compress-deflate" |
| | 430 | if test ! "x$Z_LIB" = x; then |
| | 431 | enable_feature="$enable_feature $features" |
| | 432 | else |
| | 433 | disable_feature="$disable_feature $features" |
| | 434 | fi |
| | 435 | |
| | 436 | features="compress-bzip2" |
| | 437 | if test ! "x$BZ_LIB" = x; then |
| | 438 | enable_feature="$enable_feature $features" |
| | 439 | else |
| | 440 | disable_feature="$disable_feature $features" |
| | 441 | fi |
| | 442 | |
| | 443 | features="auth-ldap" |
| | 444 | if test ! "x$LDAP_LIB" = x; then |
| | 445 | enable_feature="$enable_feature $features" |
| | 446 | else |
| | 447 | disable_feature="$disable_feature $features" |
| | 448 | fi |
| | 449 | |
| | 450 | features="network-openssl" |
| | 451 | if test ! "x$SSL_LIB" = x; then |
| | 452 | enable_feature="$enable_feature $features" |
| | 453 | else |
| | 454 | disable_feature="$disable_feature $features" |
| | 455 | fi |
| | 456 | |
| | 457 | # no crypt call |
| | 458 | features="auth-crypt" |
| | 459 | if test "$ac_cv_search_crypt" = no; then |
| | 460 | disable_feature="$disable_feature $features" |
| | 461 | else |
| | 462 | enable_feature="$enable_feature $features" |
| | 463 | fi |
| | 464 | |
| | 465 | features="network-ipv6" |
| | 466 | if test "$ac_cv_ipv6_support" = yes; then |
| | 467 | enable_feature="$enable_feature $features" |
| | 468 | else |
| | 469 | disable_feature="$disable_feature $features" |
| | 470 | fi |
| | 471 | |
| | 472 | features="large-files" |
| | 473 | if test "$enable_lfs" = yes; then |
| | 474 | enable_feature="$enable_feature $features" |
| | 475 | else |
| | 476 | disable_feature="$disable_feature $features" |
| | 477 | fi |
| | 478 | |
| | 479 | ## post processing |
| | 480 | do_build=`echo $do_build | sed 's/ /\n/g' | sort` |
| | 481 | no_build=`echo $no_build | sed 's/ /\n/g' | sort` |
| | 482 | enable_feature=`echo $enable_feature | sed 's/ /\n/g' | sort` |
| | 483 | disable_feature=`echo $disable_feature | sed 's/ /\n/g' | sort` |
| | 484 | |
| | 485 | ## output |
| | 486 | |
| 404 | | if test ! "x$PCRE_LIB" = x; then |
| 405 | | $ECHO "mod_rewrite : enabled" |
| 406 | | $ECHO "mod_redirect : enabled" |
| 407 | | $ECHO "mod_ssi : enabled" |
| 408 | | else |
| 409 | | $ECHO "mod_rewrite : disabled (libpcre missing)" |
| 410 | | $ECHO "mod_redirect : disabled (libpcre missing)" |
| 411 | | $ECHO "mod_ssi : disabled (libpcre missing)" |
| 412 | | fi |
| 413 | | |
| 414 | | $ECHO "mod_cgi : enabled" |
| 415 | | $ECHO "mod_fastcgi : enabled" |
| 416 | | $ECHO "mod_proxy : enabled" |
| 417 | | $ECHO "mod_evhost : enabled" |
| 418 | | $ECHO "mod_simple_vhost: enabled" |
| 419 | | |
| 420 | | if test "x$MYSQL_LIBS" = x; then |
| 421 | | $ECHO "mod_mysql_vhost : disabled (libmysqlclient missing or mysql support disabled)" |
| 422 | | else |
| 423 | | $ECHO "mod_mysql_vhost : enabled" |
| 424 | | fi |
| 425 | | |
| 426 | | $ECHO "mod_access : enabled" |
| 427 | | $ECHO "mod_alias : enabled" |
| 428 | | $ECHO "mod_setenv : enabled" |
| 429 | | $ECHO "mod_usertrack : enabled" |
| 430 | | if test "x$Z_LIB" = x; then |
| 431 | | $ECHO "mod_compress : disabled (libz missing)" |
| 432 | | else |
| 433 | | $ECHO "mod_compress : enabled" |
| 434 | | fi |
| 435 | | |
| 436 | | # no crypt call |
| 437 | | if test "$ac_cv_search_crypt" = no; then |
| 438 | | $ECHO "mod_auth : enabled, crypt() support disabled" |
| 439 | | else |
| 440 | | $ECHO "mod_auth : enabled" |
| 441 | | fi |
| 442 | | $ECHO "mod_status : enabled" |
| 443 | | $ECHO "mod_accesslog : enabled" |
| 444 | | $ECHO "mod_rrdtool : enabled" |
| 445 | | $ECHO "mod_secdownload : enabled" |
| 446 | | $ECHO "mod_expire : enabled" |
| | 490 | |
| | 491 | $ECHO "enabled: " |
| | 492 | i=0 |
| | 493 | for p in $do_build; do |
| | 494 | $ECHO " $p" |
| | 495 | done |
| | 496 | |
| | 497 | $ECHO "disabled: " |
| | 498 | for p in $no_build; do |
| | 499 | $ECHO " $p" |
| | 500 | done |