Peter Brett writes:
> We ended up writing a pile of crufty m4/shell, which:
>
> - checks for guile-1.8.pc
> - if that fails, checks for guile-2.0.pc
> - if that fails, checks for guile-config
>
> http://git.gpleda.org/?p=gaf.git;a=blob;f=m4/geda-guile.m4;hb=HEAD
>
> Ewww.
That looks good to me
Andreas Rottmann writes:
> Neil Jerram writes:
>
>> Peter TB Brett writes:
>>
>>> I'm perfectly aware of how to use pkg-config, and I think I already pointed
>>> out
>>> that this isn't very useful because Guile provides a 'guile-1.8' pkg-config
>>> module file, but not one for 'guile'.
>>
>>
Peter TB Brett writes:
> 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 f
Neil Jerram writes:
> Peter TB Brett writes:
>
>> I'm perfectly aware of how to use pkg-config, and I think I already pointed
>> out
>> that this isn't very useful because Guile provides a 'guile-1.8' pkg-config
>> module file, but not one for 'guile'.
>
> So what does pkg-config recommend for
Peter TB Brett writes:
> I'm perfectly aware of how to use pkg-config, and I think I already pointed
> out
> that this isn't very useful because Guile provides a 'guile-1.8' pkg-config
> module file, but not one for 'guile'.
So what does pkg-config recommend for a situation like this? Or does
Linas Vepstas gmail.com> writes:
> 2009/8/8 Peter TB Brett peter-b.co.uk>:
> > Hi everyone,
> >
> > Currently, there appear to be two ways to check for the presence of
> > Guile:
> >
> > PKG_CHECK_MODULES(GUILE, [guile-1.8])
>
> I believe that the following should work:
>
> PKG_CHECK_MODULES(G
2009/8/8 Peter TB Brett :
> Hi everyone,
>
> Currently, there appear to be two ways to check for the presence of
> Guile:
>
> PKG_CHECK_MODULES(GUILE, [guile-1.8])
I believe that the following should work:
PKG_CHECK_MODULES(GUILE, guile >= 1.8.3)
or something like that. Grepping various configu
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 ma