On Fri, Jan 30, 2009 at 05:55:54PM +0000, imacarthur wrote:
> 
> On 30 Jan 2009, at 10:31, Jeremy Henty wrote:
> 
> >> Maybe  we should  lobby for  the reintroduction  of  the --prefix
> >> option.
> >
> > I  would!  Though even  that wouldn't  handle a  system configured
> > with --prefix=<something> --includedir=<something_else>.
> 
> If you were to file an STR against 1.3...

    http://www.fltk.org/str.php?L2137

> >> That said,  you can  (as I  ended up doing  back then)  parse the
> >> wanted  path out  of the  --cxxflags  option by  looking for  the
> >> -I... Option.
> >>
> > Unfortunately no.  My system uses --prefix=/usr and -I/usr/include
> > does not appear the --cxxflags output.
> 
> OK - that is inconvenient...

It's not  so bad.   As I pointed  out elsewhere, only  /usr/include is
omitted, so if  I parse the options as  you suggest, add /usr/include,
then search the list for FL/Fl.H , that should work.

Regards,

Jeremy Henty

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

Reply via email to