On Fri, Jan 30, 2009 at 08:22:18AM +0000, Jeremy Henty wrote:
> On Thu, Jan 29, 2009 at 04:49:43PM -0800, Jim Wilson wrote:
> > 
> > How about sawing  up the result of "fltk-config  --cxxflags"?  On my
> > box  I get  "-I/usr/local/include".  Chop  the  "-I" and  slap on  a
> > "/FL/" and I think you're getting close.
> 
> It's a nice  idea, but on my system  I get "-I/usr/include/freetype2
> -I/opt/Xorg/include -D_THREAD_SAFE -D_REENTRANT".  (I configure with
> --prefix=/usr.)  So the real include directory, namely /use/include,
> isn't there.

Hmm, looking at the fltk-config  source I see that /usr/include is the
one special case that doesn't  get added to the --cxxflags output.  So
I guess that checking all  the include directories in --cxxflags *and*
/usr/include  should be portable.   It's probably  not possible  to do
better.

Regards,

Jeremy Henty

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to