> 
> For what i wish is to allow fltk to be usable without
> installation (not even local).

This should work at present, IIRC. Or, at least it is supposed to.

> Perhaps it's a good idea
> to add:
>         [--fluid]       return Fluid path
> or --basepath to fltk-config. (not really important, could
> be done in makefiles with --cflags and sed)

--ldflags et al return the correct paths for me - I have multiple
different version of fltk on my mac, all installed in "non-standard"
locations, and the different fltk-config versions work OK.


> If it seems necessary to have distinct 1.1 and 1.3 versions
> i would extend this to:
>       fltk1.1-config
>       fltk1.3-config

I think this is necessary, but I'm not sure about the names...

> * added selfdir-readlink detection from fltk2-config
> 
> #selfdir=`dirname $0`
> 
> # First, we need to figure out where we are, ...
> # BUT to do that we need to check if we were called via a symlink
> # AND some systems (e.g. mingw) have neither symlinks, ...
> HAVE_READLINK=`type -p readlink`
> if test -z "$HAVE_READLINK"; then
>   # We don't have readlink, so just use local dir as selfdir
>   selfdir=`dirname $0`
> else
>   # We do have readlink - let us check if we were called via a symlink
>   selfdir=`readlink $0`
>   if test -n "$selfdir"; then
>      #   Was a symlink, find the real selfdir
>      selfdir=`dirname $selfdir`
>   else
>      #   Not a symlink, find the selfdir
>      selfdir=`dirname $0`
>   fi
> fi

This is odd - I was really sure that this (or something very like it)
*was* in the fltk-1 config, but it seems only to be in the fltk-2
version. I wonder why it's not in the fltk-1 version? Anybody know?


> b.t.w
> there was (is) a bug with --libs returning wrong libs, hope 
> this is fixed.

What bug? I think it works for me - what is it that you see happening?





SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

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

Reply via email to