|
From: | Christopher Sean Morrison |
Subject: | Re: How do I make a "-config" script? |
Date: | Sat, 27 May 2006 20:53:18 -0400 |
Ralf Corsepius <address@hidden> wrote:scripts that give you information like includes, libraries, etc... is there some autoconf/automake/other magic i can use to automatically generate oneof these for my distribution?Nope. Such *-config scripts are ordinary, manually written applications.Ok, thanks. Just a fleeting thought, such scripts are becoming amore and more common convention and their entire purpose is to interface with autoconf-substituted variables... maybe the time is coming where thisshould be standardized? - Tyler
Tyler,It's pretty trivial to make one of the *-config scripts by hand, or even "automate" their generation by making them an autoconf template (presuming someone doesn't use DESTDIR or relocate after the fact). That said, I believe there have been a couple efforts to standardize on an interface for those scripts. The most notable one that immediately comes to mind is the pkg-config project.
http://pkgconfig.freedesktop.org/wiki/ http://sourceforge.net/projects/pkgconfig/ Cheers! Sean
[Prev in Thread] | Current Thread | [Next in Thread] |