Hello Vladimir, Vladimir Zhbanov <[email protected]> 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’.
