unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Checking for guile from configure -- forward compat.
@ 2009-08-08  6:45 Peter TB Brett
  2009-08-08 16:59 ` Linas Vepstas
  2009-08-14  7:26 ` Peter Brett
  0 siblings, 2 replies; 8+ messages in thread
From: Peter TB Brett @ 2009-08-08  6:45 UTC (permalink / raw)
  To: guile-user

[-- Attachment #1: Type: text/plain, Size: 870 bytes --]

Hi everyone,

Currently, there appear to be two ways to check for the presence of
Guile:

  PKG_CHECK_MODULES(GUILE, [guile-1.8])

Or:

  GUILE_FLAGS

Unfortunately, the first of these *only* works for Guile 1.8 -- so if
some has, at some point in the future, Guile 2.x, we'll have to add
some m4 magic for sequentially trying 1.8 and every valid x for 2.x.

On the other hand, GUILE_FLAGS uses the guile-config tool, which IIRC is
going to go away Soon (tm).

What would you recommend as the Right Way to check for Guile 1.8.0 or
later in my configure script and set the appropriate flags, in a
forward-compatible way?  Or am I just going to have to write a pile of
crufty m4/shell?

Thanks in advance,

                                       Peter

-- 
Peter Brett <peter@peter-b.co.uk>
Remote Sensing Research Group
Surrey Space Centre

[-- Attachment #2: Type: application/pgp-signature, Size: 196 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-08-14 21:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-08  6:45 Checking for guile from configure -- forward compat Peter TB Brett
2009-08-08 16:59 ` Linas Vepstas
2009-08-08 19:39   ` Peter TB Brett
2009-08-13 22:12     ` Neil Jerram
2009-08-14  1:36       ` Andreas Rottmann
2009-08-14 21:31         ` Neil Jerram
2009-08-14  7:26 ` Peter Brett
2009-08-14 21:32   ` Neil Jerram

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).