Am 05.01.2004 um 18:51 schrieb Daniel Macks:


I want to have a way for arbitrary programs to learn about fink's
pathname configs. Some kind of config script that would return things
like '/sw'. What would be a desireable way for me to implement this?
The traditional 'fink-config --prefix' (where bin/fink-config is
bundled with fink and/or in its own package) or a new --config flag to
fink itself? Or use pkg-config?

Note:


1) For a hypothetical fink-config to work the fink bin path has to be in PATH (e.g. /sw/bin)

2) If this is the case, you get the fink prefix via
    which fink | xargs dirname | xargs dirname



Cheers,

Max



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to