diff options
author | Justin Erenkrantz <jerenkrantz@apache.org> | 2002-05-07 00:23:52 +0200 |
---|---|---|
committer | Justin Erenkrantz <jerenkrantz@apache.org> | 2002-05-07 00:23:52 +0200 |
commit | 981f0e17f0dff6f155bdd4af423db2d5e7f93ae9 (patch) | |
tree | 4f0314a7f6963c621c4ad675785a57a7f671a92d /modules/experimental/config.m4 | |
parent | Update to reflect the release. (diff) | |
download | apache2-981f0e17f0dff6f155bdd4af423db2d5e7f93ae9.tar.xz apache2-981f0e17f0dff6f155bdd4af423db2d5e7f93ae9.zip |
Move mod_deflate from experimental to filters to represent our belief
in its stability.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94979 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/experimental/config.m4')
-rw-r--r-- | modules/experimental/config.m4 | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/modules/experimental/config.m4 b/modules/experimental/config.m4 index 20fa4668a8..9eeceacbce 100644 --- a/modules/experimental/config.m4 +++ b/modules/experimental/config.m4 @@ -28,57 +28,4 @@ APACHE_MODULE(ext_filter, external filter module, , , no) APACHE_MODULE(case_filter, example uppercase conversion filter, , , no) APACHE_MODULE(case_filter_in, example uppercase conversion input filter, , , no) -APACHE_MODULE(deflate, Deflate transfer encoding support, , , no, [ - AC_ARG_WITH(z, APACHE_HELP_STRING(--with-z=DIR,use a specific zlib library), - [ - if test "x$withval" != "xyes" && test "x$withval" != "x"; then - ap_zlib_base="$withval" - fi - ]) - if test "x$ap_zlib_base" = "x"; then - AC_MSG_CHECKING([for zlib location]) - AC_CACHE_VAL(ap_cv_zlib,[ - for dir in /usr/local /usr ; do - if test -d $dir && test -f $dir/include/zlib.h; then - ap_cv_zlib=$dir - break - fi - done - ]) - ap_zlib_base=$ap_cv_zlib - if test "x$ap_zlib_base" = "x"; then - enable_deflate=no - AC_MSG_RESULT([not found]) - else - AC_MSG_RESULT([$ap_zlib_base]) - fi - fi - if test "$enable_deflate" != "no"; then - ap_save_includes=$INCLUDE - ap_save_ldflags=$LDFLAGS - ap_save_libs=$LIBS - ap_save_cppflags=$CPPFLAGS - if test "$ap_zlib_base" != "/usr"; then - APR_ADDTO(INCLUDES, [-I${ap_zlib_base}/include]) - dnl put in CPPFLAGS temporarily so that AC_TRY_LINK below will work - CPPFLAGS="$CPPFLAGS -I${ap_zlib_base}/include" - APR_ADDTO(LDFLAGS, [-L${ap_zlib_base}/lib]) - if test "x$ap_platform_runtime_link_flag" != "x"; then - APR_ADDTO(LDFLAGS, [$ap_platform_runtime_link_flag${ap_zlib_base}/lib]) - fi - fi - APR_ADDTO(LIBS, [-lz]) - AC_MSG_CHECKING([for zlib library]) - AC_TRY_LINK([#include <zlib.h>], [return Z_OK;], - [AC_MSG_RESULT(found) - AC_CHECK_HEADERS(zutil.h)], - [AC_MSG_RESULT(not found) - enable_deflate=no - INCLUDES=$ap_save_includes - LDFLAGS=$ap_save_ldflags - LIBS=$ap_save_libs]) - CPPFLAGS=$ap_save_cppflags - fi -]) - APACHE_MODPATH_FINISH |