Re: Checking for guile from configure -- forward compat.

2009-08-14 Thread Neil Jerram
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

Re: Checking for guile from configure -- forward compat.

2009-08-14 Thread Neil Jerram
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'. >> >>

Re: Checking for guile from configure -- forward compat.

2009-08-14 Thread Peter Brett
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

Re: Checking for guile from configure -- forward compat.

2009-08-13 Thread Andreas Rottmann
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

Re: Checking for guile from configure -- forward compat.

2009-08-13 Thread Neil Jerram
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

Re: Checking for guile from configure -- forward compat.

2009-08-08 Thread Peter TB Brett
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

Re: Checking for guile from configure -- forward compat.

2009-08-08 Thread Linas Vepstas
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

Checking for guile from configure -- forward compat.

2009-08-07 Thread 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]) 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