This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Properly setting the pkcconfig directory (was: Moving the pkgconfig directory from lib/ to libdata/?)
- From: Tom Tromey <tromey at redhat dot com>
- To: Gerald Pfeifer <gerald at pfeifer dot com>
- Cc: Roman Kennke <roman at kennke dot org>, Daniel Jacobowitz <drow at false dot org>, java at gcc dot gnu dot org, GCC List <gcc at gcc dot gnu dot org>
- Date: 27 Oct 2005 18:35:20 -0600
- Subject: Re: Properly setting the pkcconfig directory (was: Moving the pkgconfig directory from lib/ to libdata/?)
- References: <Pine.BSF.4.62.0505112214570.39324@acrux.dbai.tuwien.ac.at><20050511202040.GA4855@nevyn.them.org><1115843791.7443.0.camel@localhost.localdomain><Pine.BSF.4.62.0505112238330.39324@acrux.dbai.tuwien.ac.at><1116135039.8237.595.camel@mccallum.corsepiu.local><Pine.BSF.4.62.0505152324000.33827@acrux.dbai.tuwien.ac.at>
- Reply-to: tromey at redhat dot com
>>>>> "Gerald" == Gerald Pfeifer <gerald@pfeifer.com> writes:
Gerald> This is fine to use, but our configure/build system really should
Gerald> be clever enough to automatically set pkgdatadir to the correct
Gerald> value in the first place: $(prefix)/libdata/pkgconfig on FreeBSD,
Gerald> and $(libdir)/pkgconfig elsewhere.
Are there other places where we try to auto-detect install directory
names? I don't know of any.
It would be simple to add something like --with-pkgdatadir to
configure. It sounds like you are talking about a build for a distro;
requiring a configure option for that doesn't sound like a big deal
(as presumably you already need --prefix=/usr among other things).
Tom