autoconf
[Top][All Lists]
Advanced

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

Re: unbalanced m4_divert_push:


From: Eric Blake
Subject: Re: unbalanced m4_divert_push:
Date: Wed, 02 Sep 2009 19:04:54 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Sam Steingold on 9/2/2009 4:04 PM:
>     AC_CACHE_CHECK([for FFI in CLISP], [cl_cv_clisp_ffi], [
>      CLISP_SET(cl_cv_clisp_ffi,['#+ffi "yes" #-ffi "no"'])])
> ...])
> 
> apparently, I need to quote '#+ffi "yes" #-ffi "no"' somehow...

Try:

    CLISP_SET([cl_cv_clisp_ffi],[['#+ffi "yes" #-ffi "no"']])])

A single quoted # in a macro argument is an m4 comment starter, and eats
until the next newline (including what you thought were the closing
brackets), explaining the unbalanced warning.  Notice how my correction
uses double-quoting, which says that your string containing # is a literal
(no further macro names occur within the string), and not a comment starter.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqfFjYACgkQ84KuGfSFAYAoVACeOLAx1w8u2pXrTQve0inLInxt
NKIAoKlyolru1rW1U7PUBfwWpCT4Jn1p
=0NRG
-----END PGP SIGNATURE-----




reply via email to

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