From b594b42db574a1935704f4f51fc6bdaea0cfa20a Mon Sep 17 00:00:00 2001 From: szaka Date: Tue, 18 Apr 2006 21:40:32 +0000 Subject: [PATCH] Set PKG_CONFIG_PATH during build time so we should find .pc files in the most typical pkgconfig directories --- ChangeLog | 2 ++ configure.ac | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index e4cf74d4..142556dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -40,6 +40,8 @@ xx/xx/2006 - 1.13.1-WIP - ntfscmp: support bad cluster list, compare full attribute headers for non-resident attributes, added manual, build and install by default. (Szaka) + - configure.ac: set PKG_CONFIG_PATH during build time so we should + find .pc files in the most typical pkgconfig directories. (Szaka) 27/02/2006 - 1.13.0 - Lots and lots and lots of fixes and enhancements. diff --git a/configure.ac b/configure.ac index 03647149..84122461 100644 --- a/configure.ac +++ b/configure.ac @@ -180,16 +180,16 @@ AC_PROG_MAKE_SET AC_PROG_LIBTOOL PKG_PROG_PKG_CONFIG +# Libraries often install their metadata .pc files in directories not searched +# by pkg-config. Let's workaround this. +export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/usr/lib/pkgconfig:/opt/gnome/lib/pkgconfig:/usr/share/pkgconfig:/usr/local/lib/pkgconfig:$prefix/lib/pkgconfig:/opt/gnome/share/pkgconfig:/usr/local/share/pkgconfig + # Enable large file support. AC_SYS_LARGEFILE # Autodetect whether to build Gnome VFS or not. compile_gnome_vfs=false if test "$enable_gnome_vfs" != "no"; then - # Make compilation work on SuSE 9.0. - if test -d "/opt/gnome"; then - export PKG_CONFIG_PATH="/opt/gnome/lib/pkgconfig" - fi PKG_CHECK_MODULES(LIBNTFS_GNOMEVFS, [glib-2.0 gthread-2.0 gnome-vfs-module-2.0], [ compile_gnome_vfs=true ], [