From: Diogo F. S. Ramos <diogofsr@gmail.com>
To: tcolgate@gmail.com
Cc: guile-user@gnu.org
Subject: Re: Installing scheme only programs
Date: Thu, 10 Mar 2011 14:42:10 -0300 (BRT) [thread overview]
Message-ID: <20110310.144210.1911182161656752268.diogofsr@gmail.com> (raw)
In-Reply-To: <1299751076.3717.591.camel@gbgh-dsk-01148.sig.ads>
> I use the following trick to get things into the guile site directory
> (and still pass a make distcheck).
>
> In configure.ac
> GUILE_PROGS
> GUILE_FLAGS
> GUILE_SITE_DIR
>
> GUILE_PREFIX=`$GUILE_CONFIG info prefix`
> AC_SUBST(GUILE_PREFIX)
>
> In src/Makefile.am:
> SUFFIXES = .scm .go
> .scm.go:
> $(top_srcdir)/build-environ $(GUILE_COMPILE) -o "$@" "$<"
>
> guilesite = @GUILE_SITE@
> guileprefix = @GUILE_PREFIX@
> guilesitesuffix = `echo $(guilesite) | sed -e 's!^$(guileprefix)!!'`
> guilesnmpdir = $(exec_prefix)/$(guilesitesuffix)/snmp
> guilesnmp_DATA = $(SCHEMESOURCES) $(GOBJECTS)
Nice to know, thank you.
This reminds me of an issue that I'm having with guile-gnome, but I
guess it's a theme that would be appropriate to come in here.
I'm using the great m4 macros from guile.m4 to test if some guile
modules are installed. The thing is, while I can test for (gnome-2), I
can't for, say, (gnome gtk), because, as I understand it, (gnome-2)
prepares the paths to enable loading gnome modules, but, as I'm not
/using/ (gnome-2) at configure time, I can't locate them.
--
Diogo F. S. Ramos
next prev parent reply other threads:[~2011-03-10 17:42 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-10 6:50 Installing scheme only programs Diogo F. S. Ramos
2011-03-10 9:57 ` Tristan Colgate-McFarlane
2011-03-10 17:42 ` Diogo F. S. Ramos [this message]
2011-03-10 10:34 ` Thien-Thi Nguyen
2011-03-10 17:46 ` Diogo F. S. Ramos
2011-03-11 2:18 ` nalaginrut
2011-03-11 4:50 ` dsmich
2011-03-11 4:57 ` Diogo F. S. Ramos
2011-03-11 5:24 ` nalaginrut
2011-03-11 9:16 ` Thien-Thi Nguyen
2011-03-11 12:53 ` Ludovic Courtès
2011-03-13 0:59 ` Thien-Thi Nguyen
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=20110310.144210.1911182161656752268.diogofsr@gmail.com \
--to=diogofsr@gmail.com \
--cc=guile-user@gnu.org \
--cc=tcolgate@gmail.com \
/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).