On Sat, Dec 08, 2001 at 08:31:18AM -0500, Jeff Trawick wrote:
> I was trying to use --with-z=/path but without this patch the check
> for the library didn't add -I/path and so didn't compile.
<snip, snip>
> @@ -53,7 +53,7 @@
> ap_save_ldflags=$LDFLAGS
> ap_save_libs=$LIBS
> if test "$ap_zlib_base" != "/usr"; then
> - APR_ADDTO(INCLUDES, [-I${ap_zlib_base}/include])
> + APR_ADDTO(CFLAGS, [-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])
Shouldn't that be CPPFLAGS? -- justin