On 24 Nov 2012, at 11:34, Jeremy Henty wrote: > > Ian MacArthur wrote: > >> On 23 Nov 2012, at 19:29, Jeremy Henty wrote: >> >>> Looking through configure.in I am surprised that --enable-xft does >>> not modify CFLAGS as it does CXXFLAGS and CPPFLAGS . It seems >>> natural to treat CFLAGS the same way. Why is it different? >> >> I suspect that reason *may* be simply that CFLAGS is only used >> within fltk for a few "special" utility files that don't do text >> rendering or something, so there was no need to alter it ..? > > But CFLAG also determines the output of "fltk-config --cflags" which > is publicly advertised in "fltk-config --help" as "flags to compile C > using FLTK", so it hshould really do the right thing.
Yes, I understand why it may be an issue; I was just theorising about why it might be the way it is... I guess, realistically, it is hugely more likely that fltk-config will be called upon when processing C++ code than C code though, at least for anything that is rendering text, so maybe the fact that its C output is broken only affects a very small set of users, hence it has never been noted before? In any case, I'd suggest that posting an STR recording your findings is a good idea, in the hope that we get around to fixing this! Cheers, -- Ian _______________________________________________ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev