httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jerenkra...@ebuilt.com>
Subject Re: [PATCH] looking for zlib headers in all the wrong places
Date Sat, 08 Dec 2001 17:21:16 GMT
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


Mime
View raw message