aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Djärv2006-12-08 07:19:16 +0000
committerJan Djärv2006-12-08 07:19:16 +0000
commit1f29c85ca99c9f4c9afcd6def6864a075e542fe7 (patch)
tree89bbfe14a41eee601b149dff6bb9672e13d26fd0
parent7575009055af7bdef9aa286a0112ee6b39fe14b0 (diff)
downloademacs-1f29c85ca99c9f4c9afcd6def6864a075e542fe7.tar.gz
emacs-1f29c85ca99c9f4c9afcd6def6864a075e542fe7.zip
(DETAILED BUILDING AND INSTALLATION): Document usage
of PKG_CONFIG_PATH.
-rw-r--r--INSTALL10
1 files changed, 10 insertions, 0 deletions
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
383switch to the compiler, and link against libfoo.a and libbar.a 383switch to the compiler, and link against libfoo.a and libbar.a
384libraries in addition to the standard ones. 384libraries in addition to the standard ones.
385 385
386For some libraries, like Gtk+, fontconfig and ALSA, `configure' use
387pkg-config to find where those libraries are installed.
388If you wan't pkg-config to look in special directories, you have to set
389the environment variable PKG_CONFIG_PATH to point to the directories
390where the .pc-files for those libraries are.
391For example:
392
393 PKG_CONFIG_PATH='/usr/local/alsa/lib/pkgconfig:/opt/gtk+-2.8/lib/pkgconfig' \
394 ./configure
395
386The work of `configure' can be done by editing various files in the 396The work of `configure' can be done by editing various files in the
387distribution, but using `configure' is easier. See the section called 397distribution, but using `configure' is easier. See the section called
388"CONFIGURATION BY HAND" below if you want to do the configuration 398"CONFIGURATION BY HAND" below if you want to do the configuration