Index: Makefile.am =================================================================== RCS file: /QUIST-CVS/guile/Makefile.am,v retrieving revision 1.1.1.3 diff -u -r1.1.1.3 Makefile.am --- Makefile.am 2002/12/07 22:41:28 1.1.1.3 +++ Makefile.am 2003/02/27 14:36:25 @@ -29,7 +29,7 @@ include_HEADERS = libguile.h EXTRA_DIST = HACKING GUILE-VERSION ANON-CVS SNAPSHOTS \ - $(ACLOCAL) BUGS README-PACKAGING + $(ACLOCAL) BUGS README-PACKAGING guile.pc.in TESTS = check-guile @@ -37,5 +37,8 @@ # The rule will cd to $(top_srcdir). ACLOCAL = ./guile-aclocal.sh + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = guile.pc # Makefile.am ends here Index: configure.in =================================================================== RCS file: /QUIST-CVS/guile/configure.in,v retrieving revision 1.1.1.3 diff -u -r1.1.1.3 configure.in --- configure.in 2002/12/08 01:48:52 1.1.1.3 +++ configure.in 2003/02/27 14:37:37 @@ -745,6 +745,8 @@ AC_CONFIG_FILES([libguile/guile-snarf-docs], [chmod +x libguile/guile-snarf-docs]) +AC_CONFIG_FILES([guile.pc]) + AC_OUTPUT dnl Local Variables: Index: guile.pc.in =================================================================== RCS file: guile.pc.in diff -N guile.pc.in --- /dev/null Thu Feb 27 03:35:16 2003 +++ guile.pc.in Thu Feb 27 09:37:37 2003 @@ -0,0 +1,12 @@ +# pkgconfig file for guile +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: guile +Version: 1.6 +Description: guile extension language +Requires: +Libs: -L${libdir} -lguile -lguile-ltdl @LDFLAGS@ @LIBS@ +Cflags: -I${includedir}