guile-user
[Top][All Lists]
Advanced

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

Re: Compatibility V1.8 and 2.0 - deprecated (debug-enable 'debug)


From: Thien-Thi Nguyen
Subject: Re: Compatibility V1.8 and 2.0 - deprecated (debug-enable 'debug)
Date: Tue, 09 Aug 2011 17:12:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

() Peter TB Brett <address@hidden>
() Tue, 09 Aug 2011 13:59:50 +0100

   I'd like to know how to detect if it's needed too, since we
   have a similar problem.

One way is to run a check in configure.ac.  In the ttn-do slog
(portability futzing effort) from Guile 1.4.x-only to a wider world,
there is the file baux/snuggle.m4, which can be used, e.g.,:

  AC_CACHE_CHECK([whether Guile accepts (debug-enable 'debug)],
    [guile_cv_ded],
    [SNUGGLE_CHECK([guile_cv_ded],[(debug-enable 'debug)])])
  
  AS_IF([test xyes = x"$guile_cv_ded"],
    ARRANGE-TO-KEEP-USING-IT,
    ARRANGE-TO-OMIT-IT)

The ttn-do configure.ac has other examples.  See:

  http://www.gnuvola.org/software/ttn-do/

BTW, snuggle.m4 is from the SNUGGLE project: "SNUGGLE:
Neutralize Uncharacteristically Grotesque GUILE Library Entropy!"



reply via email to

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