Document need for pkg-config to build Guile
authorNeil Jerram <neil@ossau.uklinux.net>
Sat, 19 Dec 2009 22:37:24 +0000 (22:37 +0000)
committerNeil Jerram <neil@ossau.uklinux.net>
Sat, 19 Dec 2009 22:37:24 +0000 (22:37 +0000)
* README: Say that ./configure needs pkg-config; why; and how to work
  around it.

README

diff --git a/README b/README
index c4f24f8..5669ce8 100644 (file)
--- a/README
+++ b/README
@@ -88,6 +88,20 @@ Guile requires the following external packages:
     conservative garbage collector used by Guile.  It is available
     from http://www.hpl.hp.com/personal/Hans_Boehm/gc/ .
 
+  - pkg-config
+
+    Guile's ./configure script uses pkg-config to discover the correct
+    compile and link options for libgc.  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 environment
+    variables before running ./configure:
+
+    - PKG_CONFIG=true
+
+    - BDW_GC_CFLAGS=<compile flags for picking up libgc headers>
+
+    - BDW_GC_LIBS=<linker flags for picking up the libgc library>
+
 
 Special Instructions For Some Systems =====================================