diff options
author | Jan Djärv <jan.h.d@swipnet.se> | 2006-12-08 07:19:16 +0000 |
---|---|---|
committer | Jan Djärv <jan.h.d@swipnet.se> | 2006-12-08 07:19:16 +0000 |
commit | f88e196154aa4d5a56b33ddccf168fca40928e5e (patch) | |
tree | aa593e582fb4e023877ede1fbbe065d80cb14f5f /INSTALL | |
parent | 02f5080842bad313a2f77d87bdc944de77bf7739 (diff) | |
download | emacs-f88e196154aa4d5a56b33ddccf168fca40928e5e.tar.gz |
(DETAILED BUILDING AND INSTALLATION): Document usage
of PKG_CONFIG_PATH.
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |