From: Rainer Jung Date: Mon, 4 Jul 2011 16:20:33 +0000 (+0000) Subject: Reset LDFLAGS after zlib testing for mod_deflate. X-Git-Tag: 2.3.14^2~76 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ac2d96e5ea634af02e2fe00aa4a8d678fb425020;p=apache 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 --- 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 ])