From: Greg Troxel <gdt@ir.bbn.com>
Cc: guile-devel@gnu.org
Subject: pkg-config support for guile
Date: 27 Feb 2003 10:21:20 -0500 [thread overview]
Message-ID: <rmilm0121hr.fsf_-_@fnord.ir.bbn.com> (raw)
In-Reply-To: <rmiptpd242i.fsf@fnord.ir.bbn.com>
[-- Attachment #1: Type: text/plain, Size: 649 bytes --]
Here is a patch against guile-1.6.1 to add pkg-config support. This
is noninvasive - it doesn't require pkg-config to be installed to
build guile, or even to run the autogen.sh. pkg-config haters, should
there be any, will just see a small turd in
$(prefix)/lib/pkgconfig/guile.pc. The file won't be useful without
pkg-config installed, of course, but this gives users a choice of
configuration means.
I have not tested building programs using pkgconfig instead of
guile-config, but they give almost the same output (pkgconfig moves
all the -L to the front, and allows one to ask for -L separate from -l).
Greg Troxel <gdt@ir.bbn.com>
[-- Attachment #2: pkgconfig support for guile 1.6 --]
[-- Type: text/plain, Size: 1631 bytes --]
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}
[-- Attachment #3: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
next prev parent reply other threads:[~2003-02-27 15:21 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-24 12:37 Release now? Mikael Djurfeldt
2003-02-24 13:08 ` Dale P. Smith
2003-02-24 13:21 ` Mikael Djurfeldt
2003-02-24 13:32 ` Greg Troxel
2003-02-25 13:34 ` Marius Vollmer
2003-02-25 16:08 ` Greg Troxel
2003-02-25 18:38 ` Rob Browning
2003-02-26 1:51 ` Greg Troxel
2003-02-26 2:27 ` Rob Browning
2003-02-27 14:25 ` Greg Troxel
2003-02-27 15:21 ` Greg Troxel [this message]
2003-03-22 23:31 ` pkg-config support for guile Marius Vollmer
2003-04-23 21:22 ` Greg Troxel
2003-05-16 23:21 ` Marius Vollmer
2003-02-27 16:54 ` Release now? Rob Browning
2003-02-27 18:07 ` Greg Troxel
2003-02-27 18:45 ` Rob Browning
2003-02-27 19:25 ` Greg Troxel
2003-02-27 20:14 ` Rob Browning
2003-02-27 19:06 ` Rob Browning
2003-02-27 19:13 ` Rob Browning
2003-02-27 19:36 ` Greg Troxel
2003-02-27 20:02 ` Rob Browning
2003-02-27 20:54 ` Greg Troxel
2003-02-27 21:07 ` Dale P. Smith
2003-02-27 21:30 ` Dale P. Smith
2003-02-27 21:47 ` Rob Browning
2003-04-25 19:26 ` Neil Jerram
2003-02-25 16:28 ` Andreas Rottmann
2003-02-24 18:35 ` Rob Browning
2003-02-25 13:20 ` Marius Vollmer
2003-03-03 14:06 ` Mikael Djurfeldt
2003-04-25 19:28 ` Neil Jerram
2003-04-25 22:59 ` Marius Vollmer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=rmilm0121hr.fsf_-_@fnord.ir.bbn.com \
--to=gdt@ir.bbn.com \
--cc=guile-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).