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.
@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
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
@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,