summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2008-05-04 22:42:13 +0200
committerLudovic Courtès <ludo@gnu.org>2008-05-04 22:42:13 +0200
commitcdbbe19250efa534a937dde381ae3d5a84960b68 (patch)
tree0f5954d81c6600b72ba1d1decee698d6181a9344
parent92826dd0e28a8c7abe5a29f46fd8ed8dd0a3b3b2 (diff)
downloadguile-cdbbe19250efa534a937dde381ae3d5a84960b68.tar.gz
Fix omissions and typos in previous commit.
-rw-r--r--ChangeLog3
-rw-r--r--doc/ref/autoconf.texi8
2 files changed, 7 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index fc7dc9860..dc8a3fa06 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2008-05-04 Ludovic Courtès <ludo@gnu.org>
+ Add `pkg-config' support. Suggested by Aaron VanDevender, Greg
+ Troxel, and others.
+
* configure.in: Substitute `sitedir', produce `guile-1.8.pc'.
* Makefile.am (EXTRA_DIST): Add `guile-1.8.pc.in'.
(pkgconfigdir, pkgconfig_DATA): New.
diff --git a/doc/ref/autoconf.texi b/doc/ref/autoconf.texi
index 8622fde8f..83686dada 100644
--- a/doc/ref/autoconf.texi
+++ b/doc/ref/autoconf.texi
@@ -49,7 +49,7 @@ checks.
@cindex autoconf
GNU Guile provides a @dfn{pkg-config} description file, installed as
-@file{@var{prefix}/lib/pkgconfig/guile.pc}, which contains all the
+@file{@var{prefix}/lib/pkgconfig/guile-1.8.pc}, which contains all the
information necessary to compile and link C applications that use Guile.
The @code{pkg-config} program is able to read this file and provide this
information to application programmers; it can be obtained at
@@ -59,8 +59,8 @@ The following command lines give respectively the C compilation and link
flags needed to build Guile-using programs:
@example
-pkg-config guile --cflags
-pkg-config guile --libs
+pkg-config guile-1.8 --cflags
+pkg-config guile-1.8 --libs
@end example
To ease use of pkg-config with Autoconf, pkg-config comes with a
@@ -71,7 +71,7 @@ accordingly, or prints an error and exits if Guile was not found:
@findex PKG_CHECK_MODULES
@example
-PKG_CHECK_MODULES([GUILE], [guile])
+PKG_CHECK_MODULES([GUILE], [guile-1.8])
@end example
Guile comes with additional Autoconf macros providing more information,