/usr/local support

Damjan Jovanovic damjan.jov at gmail.com
Tue Jul 17 22:48:30 PDT 2007


On 7/16/07, Daniel Macks <dmacks at netspace.org> wrote:
> A safer solution would be to alter the *default* search path
> ($pc_path) in configure.in.

Ok, is this better? (Changes to configure not included)

--- a/ChangeLog	2007-06-18 23:35:05.000000000 +0200
+++ b/ChangeLog	2007-07-17 21:19:40.360914182 +0200
@@ -1,3 +1,8 @@
+2007-07-17  Damjan Jovanovic  <damjan.jov at gmail.com>
+
+	* configure.in: changed pc_path to include lib/pkgconfig and
+	share/pkgconfig subdirectories of /usr and /usr/local by default.
+
 2007-06-18  Tollef Fog Heen  <tfheen at err.no>

 	* configure.in: Release 0.22
--- a/configure.in	2007-06-18 23:35:05.000000000 +0200
+++ b/configure.in	2007-07-17 20:52:37.040406419 +0200
@@ -16,7 +16,7 @@
  [ pc_path="$withval"
    AC_MSG_CHECKING([for default search path for .pc files])
    AC_MSG_RESULT([$pc_path])],
- [pc_path='${libdir}/pkgconfig:${datadir}/pkgconfig'])
+ [pc_path='${libdir}/pkgconfig:${datadir}/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig'])
  AC_SUBST([pc_path])

 ])


> dan
>
> --
> Daniel Macks
> dmacks at netspace.org
> http://www.netspace.org/~dmacks

Damjan Jovanovic


More information about the pkg-config mailing list