On 05/07/2009 23:29, Dave Korn wrote:
> Just CPP, as far as I noticed. It could well be a bug.
I suspect so. Autoconf does consider CPP to be a recognized override.
> Hmm. I think a problem is that there's no way you can make your default
> setting be "${CC} -E" and have it get automatically recalculated / deferred
> evaluation in the even that something subsequently recalculates CC, is there?
>
> I'm not sure I can see anything useful to do about it. Maybe just omit the
> CPP (and CXXCPP) definitions, on the ground that they will always be inferred
> from "$(CC) -E" anyway?
Looking at AC_PROG_CPP, it AC_REQUIRE(AC_PROC_CC) and defaults to "$CC
-E" unless CPP is defined. So we can just set CC and it should DTRT;
I'll commit a patch shortly.
> And perhaps you should omit CPPFLAGS and LIBS as
> well; what benefit can there be in supplying an empty default?
Some packages need to force an addition to these; declaring and
exporting them makes it much easier to modify them when necessary.
Yaakov
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
Cygwin-ports-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cygwin-ports-general