Re: Guile support in GNU make

[email protected] (Ludovic Courtès)
Newsgroups gmane.lisp.guile.user,gmane.comp.gnu.make.devel
Message-ID <[email protected]>
Hi Paul,

Paul Smith <[email protected]> skribis:

> How can I write this so it will work both with older Guile 1.8 and also
> with newer Guile 2.0?  Or, should I just forget about trying to work
> with Guile <2.0?  Most systems I have access to still have Guile 1.8
> though.

In addition to ttn’s suggestions, you can always do:

  (cond-expand (guile-2 the-new-way)
               (guile   the-old-way))

Thanks,
Ludo’.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.