This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Properly setting the pkcconfig directory (was: Moving the pkgconfig directory from lib/ to libdata/?)


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]