guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How should I check for Guile in configure.in?


From: Martin Grabmueller
Subject: Re: How should I check for Guile in configure.in?
Date: Thu, 17 May 2001 16:36:10 +0200 (MEST)

> From: Juho =?iso-8859-1?Q?=D6stman?= <address@hidden>
> Date: Thu, 17 May 2001 15:44:33 +0300
> 
> At 22:09 16.5.2001 +0200, Martin Grabmueller wrote:
> 
> [configure.in script]
> >GUILE_FLAGS
> >if test "`guile -c '(display (string>=? (version) "1.4.1"))'`" != "#t"; then
> >   AC_MSG_ERROR([Your Guile is too old.  You need CVS Guile January 2001 
> > or later.])
> >fi
> At least Debian has kept the Guile library and the interpreter binary in 
> separate packages, so that it isn't required to have the interpreter 
> installed if just the library is used. Is there any other way (configure 
> time) to check the version number?

The only solution I can think of is to check for the version number in
the file name of libguile.

ls ~/lib/
...
libguile.so.10.0.0
...

But I don't know how the library numbers and Guile versions
corresponded for older versions of Guile.

Regards,
  'martin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]