unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Thien-Thi Nguyen <ttn@gnuvola.org>
To: guile-user@gnu.org
Subject: Re: Compatibility V1.8 and 2.0 - deprecated (debug-enable 'debug)
Date: Tue, 09 Aug 2011 17:12:44 +0200	[thread overview]
Message-ID: <87zkjik49f.fsf@ambire.localdomain> (raw)
In-Reply-To: <m362m6g2pl.fsf@harrington.peter-b.co.uk> (Peter TB Brett's message of "Tue, 09 Aug 2011 13:59:50 +0100")

() Peter TB Brett <peter@peter-b.co.uk>
() 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	other threads:[~2011-08-09 15:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-08 10:37 Compatibility V1.8 and 2.0 - deprecated (debug-enable 'debug) Ian Hulin
2011-08-09 12:59 ` Peter TB Brett
2011-08-09 15:12   ` Thien-Thi Nguyen [this message]
2011-08-10 18:50     ` Ian Hulin
2011-08-14  6:51       ` Thien-Thi Nguyen
2011-08-22 20:59   ` Ludovic Courtès
2012-01-09 15:20     ` Andy Wingo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zkjik49f.fsf@ambire.localdomain \
    --to=ttn@gnuvola.org \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).