From: Jan Djärv Date: Fri, 8 Dec 2006 07:19:16 +0000 (+0000) Subject: (DETAILED BUILDING AND INSTALLATION): Document usage X-Git-Tag: emacs-pretest-22.0.92~244 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1f29c85ca99c9f4c9afcd6def6864a075e542fe7;p=emacs.git (DETAILED BUILDING AND INSTALLATION): Document usage of PKG_CONFIG_PATH. --- diff --git a/INSTALL b/INSTALL index 72a3d2d10bd..be3dde42f12 100644 --- a/INSTALL +++ b/INSTALL @@ -383,6 +383,16 @@ to look in `/bar/mylib' for libraries, pass the -O3 optimization switch to the compiler, and link against libfoo.a and libbar.a libraries in addition to the standard ones. +For some libraries, like Gtk+, fontconfig and ALSA, `configure' use +pkg-config to find where those libraries are installed. +If you wan't pkg-config to look in special directories, you have to set +the environment variable PKG_CONFIG_PATH to point to the directories +where the .pc-files for those libraries are. +For example: + + PKG_CONFIG_PATH='/usr/local/alsa/lib/pkgconfig:/opt/gtk+-2.8/lib/pkgconfig' \ + ./configure + The work of `configure' can be done by editing various files in the distribution, but using `configure' is easier. See the section called "CONFIGURATION BY HAND" below if you want to do the configuration