1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

Fix omissions and typos in previous commit.

This commit is contained in:
Ludovic Courtès 2008-05-04 22:42:13 +02:00
parent 92826dd0e2
commit cdbbe19250
2 changed files with 7 additions and 4 deletions

View file

@ -1,5 +1,8 @@
2008-05-04 Ludovic Courtès <ludo@gnu.org> 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'. * configure.in: Substitute `sitedir', produce `guile-1.8.pc'.
* Makefile.am (EXTRA_DIST): Add `guile-1.8.pc.in'. * Makefile.am (EXTRA_DIST): Add `guile-1.8.pc.in'.
(pkgconfigdir, pkgconfig_DATA): New. (pkgconfigdir, pkgconfig_DATA): New.

View file

@ -49,7 +49,7 @@ checks.
@cindex autoconf @cindex autoconf
GNU Guile provides a @dfn{pkg-config} description file, installed as 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. 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 The @code{pkg-config} program is able to read this file and provide this
information to application programmers; it can be obtained at 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: flags needed to build Guile-using programs:
@example @example
pkg-config guile --cflags pkg-config guile-1.8 --cflags
pkg-config guile --libs pkg-config guile-1.8 --libs
@end example @end example
To ease use of pkg-config with Autoconf, pkg-config comes with a 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 @findex PKG_CHECK_MODULES
@example @example
PKG_CHECK_MODULES([GUILE], [guile]) PKG_CHECK_MODULES([GUILE], [guile-1.8])
@end example @end example
Guile comes with additional Autoconf macros providing more information, Guile comes with additional Autoconf macros providing more information,