* Portable way to use appropriate guile executable on different systems
@ 2018-08-14 16:48 Vladimir Zhbanov
2018-08-20 13:36 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Vladimir Zhbanov @ 2018-08-14 16:48 UTC (permalink / raw)
To: guile-user
Hi friends,
Is there a portable way to find appropriate guile executable on
different systems using autotools? I.e., I want, e.g. to use
/usr/bin/guile-2.0 on Debian for my program (which cannot compile
with guile-2.2 yet, but 2.2 is also installed on my system), and
just /usr/bin/guile on FreeBSD.
Thanks in advance
--
Vladimir
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Portable way to use appropriate guile executable on different systems
2018-08-14 16:48 Portable way to use appropriate guile executable on different systems Vladimir Zhbanov
@ 2018-08-20 13:36 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2018-08-20 13:36 UTC (permalink / raw)
To: guile-user
Hello Vladimir,
Vladimir Zhbanov <vzhbanov@gmail.com> skribis:
> Is there a portable way to find appropriate guile executable on
> different systems using autotools? I.e., I want, e.g. to use
> /usr/bin/guile-2.0 on Debian for my program (which cannot compile
> with guile-2.2 yet, but 2.2 is also installed on my system), and
> just /usr/bin/guile on FreeBSD.
You should be able to find out with ‘pkg-config’, provided the .pc files
are available:
--8<---------------cut here---------------start------------->8---
$ pkg-config guile-2.2 --variable guile
/gnu/store/p9wm67w3rfw3hlb9iljgvsfn84mz4w9d-guile-2.2.4/bin/guile
$ pkg-config guile-2.2 --variable guild
/gnu/store/p9wm67w3rfw3hlb9iljgvsfn84mz4w9d-guile-2.2.4/bin/guild
--8<---------------cut here---------------end--------------->8---
HTH!
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-08-20 13:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-14 16:48 Portable way to use appropriate guile executable on different systems Vladimir Zhbanov
2018-08-20 13:36 ` Ludovic Courtès
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).