Set PKG_CONFIG_PATH during build time so we should find .pc files in the

most typical pkgconfig directories
edge.strict_endians
szaka 2006-04-18 21:40:32 +00:00
parent 03946d896e
commit b594b42db5
2 changed files with 6 additions and 4 deletions

View File

@ -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.

View File

@ -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 ],
[