On Friday 15 July 2005 20:01, Chris Cannam wrote:
> On Friday 15 Jul 2005 18:48, Guillaume Laurent wrote:
> > Actually scons (well, our SConstruct script) will only create an
> > empty config.h if one doesn't exist, but all the config options are
> > actually passed through -D command line arguments.
>
> Yes, I know, that's my point -- they're passed through -D, and then
> overridden for some source files if autotools had previously defined
> them differently in config.h.

AFAIK -D has precedence over #define. However, the options here can either be 
set or not, not set to some value or another, so what can happen is that an 
option isn't set though -D, but set in config.h. In any case, systematically 
clearing the config.h file (at config time) would solve this.

-- 
Guillaume.
http://www.telegraph-road.org


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to