From: Mike Gran <spk121@yahoo.com>
To: Gule User <guile-user@gnu.org>
Subject: Autoconf test for site scheme files
Date: Tue, 7 Aug 2007 08:42:12 -0700 (PDT) [thread overview]
Message-ID: <140901.61872.qm@web37904.mail.mud.yahoo.com> (raw)
Hi-
I'm setting up the configure.ac and Makefile.in for a project that will
install some guile modules. The modules have scheme wrappers and load
a shared object file. The shared object library will go into
/usr/local/lib
Is there a "standard" way to get the site scheme directory?
At first glance, I would set it as schemedir =
$(datarootdir)/guile/site,
but, if $(datarootdir) is /usr/local/share, then $(schemedir) will be
/usr/local/share/guile/site, which is not in the default %load-path.
One solution would be to make a configure test that runs guile, prints
the %load-path, and then saves the first element in %load-path that
ends in the word "site".
Or something with `guile-config info pkgdatadir`, I guess.
Thanks,
Mike Gran
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
next reply other threads:[~2007-08-07 15:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-07 15:42 Mike Gran [this message]
2007-08-07 16:35 ` Autoconf test for site scheme files Greg Troxel
2007-08-07 16:52 ` Mike Gran
2007-08-08 7:20 ` Ludovic Courtès
2007-08-08 15:03 ` Mike Gran
2007-08-12 4:27 ` Jon Wilson
2007-08-12 11:43 ` Greg Troxel
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=140901.61872.qm@web37904.mail.mud.yahoo.com \
--to=spk121@yahoo.com \
--cc=guile-user@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).