From ac2d96e5ea634af02e2fe00aa4a8d678fb425020 Mon Sep 17 00:00:00 2001 From: Rainer Jung Date: Mon, 4 Jul 2011 16:20:33 +0000 Subject: [PATCH] Reset LDFLAGS after zlib testing for mod_deflate. Library flags are kept in MOD_DEFLATE_LDADD, not globally in LDFLAGS. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1142726 13f79535-47bb-0310-9956-ffa450edef68 --- modules/filters/config.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/filters/config.m4 b/modules/filters/config.m4 index 990bb5d750..de8dfe7a54 100644 --- a/modules/filters/config.m4 +++ b/modules/filters/config.m4 @@ -75,10 +75,10 @@ APACHE_MODULE(deflate, Deflate transfer encoding support, , , most, [ APR_SETVAR(MOD_DEFLATE_LDADD, [$ap_zlib_ldflags -lz])], [AC_MSG_RESULT(not found) enable_deflate=no - INCLUDES=$ap_save_includes - LDFLAGS=$ap_save_ldflags]) - APR_REMOVEFROM(LIBS, [-lz]) + INCLUDES=$ap_save_includes]) + LDFLAGS=$ap_save_ldflags CPPFLAGS=$ap_save_cppflags + APR_REMOVEFROM(LIBS, [-lz]) fi ]) -- 2.40.0