|
From: | Bob Friesenhahn |
Subject: | Re: config.guess does not see config.site environment settings |
Date: | Fri, 18 Sep 2009 10:38:04 -0500 (CDT) |
On Fri, 18 Sep 2009, Ralf Wildenhues wrote:
Hi Bob, thanks for the report. * Bob Friesenhahn wrote on Fri, Sep 18, 2009 at 04:01:48AM CEST:If compilation options like CC and CFLAGS are set (or updated) via a config.site file, it appears that config.guess gets invoked without these set in its environment so config.guess behaves differently than if CC and CFLAGS were provided on the configure command line. This is surely wrong behavior.Probably the right solution to this is to document that config.site should export the variables it sets (because in general, configure cannot know the set of variables you would like to have set). Does the override work when you do that?
Yes, I see that explicitly exporting the updated variables does cause config.site to see them. This is interesting since config.site is sourced and configure sees the updates by default, but subordinate config.guess does not see the updates by default. This is not something people would normally notice.
Bob -- Bob Friesenhahn address@hidden, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
[Prev in Thread] | Current Thread | [Next in Thread] |