doc: Document the `sitedir' and `extensiondir' pkg-config variables.
authorLudovic Courtès <ludo@gnu.org>
Sat, 22 Oct 2011 14:11:01 +0000 (16:11 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 22 Oct 2011 14:11:01 +0000 (16:11 +0200)
* doc/ref/libguile-parallel.texi (Parallel Installations): Document the
  `sitedir' and `extensiondir' pkg-config variables.  This fixes
  <https://savannah.gnu.org/bugs/index.php?32515>, reported by
  Dale. P. Smith.

doc/ref/libguile-parallel.texi

index 09c60f5..37a7139 100644 (file)
@@ -36,9 +36,30 @@ to get the compilation and linking flags necessary to link to version
 @code{pkg-config} during the configuration phase of your program and use
 the obtained information in the Makefile.
 
+Guile's @code{pkg-config} file,
+@file{guile-@value{EFFECTIVE-VERSION}.pc}, defines additional useful
+variables:
+
+@table @code
+@item sitedir
+@cindex @code{sitedir}
+The default directory where Guile looks for Scheme source and compiled
+files (@pxref{Installing Site Packages, %site-dir}).  Run
+@command{pkg-config guile-@value{EFFECTIVE-VERSION} --variable=sitedir}
+to see its value.  @xref{Autoconf Macros, GUILE_SITE_DIR}, for more on
+how to use it from Autoconf.
+
+@item extensiondir
+@cindex @code{extensiondir}
+The default directory where Guile looks for extensions---i.e., shared
+libraries providing additional features (@pxref{Modules and
+Extensions}).  Run @command{pkg-config guile-@value{EFFECTIVE-VERSION}
+--variable=extensiondir} to see its value.
+@end table
+
+@noindent
 See the @code{pkg-config} man page, for more information, or its web
 site, @url{http://pkg-config.freedesktop.org/}.
-
 @xref{Autoconf Support}, for more on checking for Guile from within a
 @code{configure.ac} file.