diff options
author | Ludovic Courtès <ludo@gnu.org> | 2011-10-22 16:11:01 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2011-10-22 16:11:01 +0200 |
commit | fe4ea6859e7d19a0fe2694a3fb49f4abb722afc1 (patch) | |
tree | f199c92b6dc877dd1fe72e1d76827f4682ee7189 /doc | |
parent | 8fc5ef7df87f9f6da33af0cb3c79f354c0ccd708 (diff) | |
download | guile-fe4ea6859e7d19a0fe2694a3fb49f4abb722afc1.tar.gz |
doc: Document the `sitedir' and `extensiondir' pkg-config variables.
* 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.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ref/libguile-parallel.texi | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/doc/ref/libguile-parallel.texi b/doc/ref/libguile-parallel.texi index 09c60f545..37a713929 100644 --- a/doc/ref/libguile-parallel.texi +++ b/doc/ref/libguile-parallel.texi @@ -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. |