Improve wording in README regarding `pkg-config'.
authorLudovic Courtès <ludo@gnu.org>
Mon, 16 Jan 2012 21:17:50 +0000 (22:17 +0100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 16 Jan 2012 21:17:50 +0000 (22:17 +0100)
* README: Mention $PKG_CONFIG_PATH, and make it clear that $BDW_GC_LIBS,
  etc. aren't normally needed.

README

diff --git a/README b/README
index 66f02b3..31fdb80 100644 (file)
--- a/README
+++ b/README
@@ -93,10 +93,15 @@ Guile requires the following external packages:
   - pkg-config
 
     Guile's ./configure script uses pkg-config to discover the correct
-    compile and link options for libgc and libffi.  If you don't have
-    pkg-config installed, or you have a version of libgc that doesn't
-    provide a .pc file, you can work around this by setting some
-    variables as part of the configure command-line:
+    compile and link options for libgc and libffi.  For this to work,
+    the `PKG_CONFIG_PATH' environment variable must be set to point to
+    the places where libgc's and libffi's `.pc' files can be found:
+
+      PKG_CONFIG_PATH=/path/to/libgc/lib/pkgconfig:/path/to/libffi/lib/pkgconfig
+
+    Alternatively, when pkg-config is not installed, you can work around
+    this by setting some variables as part of the configure
+    command-line:
 
     - PKG_CONFIG=true