[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: accepted by the compiler, but rejected by the preprocessor



On Mon, Jun 09, 2003 at 05:04:38AM -0400, Ambrose Li wrote:
> Hi,
> 
> in 2.99.56pre4, configure tests for some libraries such as db2.
> The "cc" test will use CFLAGS (but not CPPFLAGS...), but the
> "cc -E" test will use neither CFLAGS nor CPPFLAGS.
> 
> The result is that if the user really specified CPPFLAGS for
> some libraries, configure still won't find it, because the
> preprocessor won't find know where it is, and configure is
> trusting the preprocessor.

I did test this, and  config.log   shows that  CPPFLAGS  does get
used.  At least when given in the TAIL of the command line parameters
for ./configure     (Probably also when given up in front of the
command.)

> Regards,
> -- 
> Ambrose LI Cheuk-Wing  <a.c.li@ieee.org>
-- 
/Matti Aarnio	<mea@nic.funet.fi>
-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi