[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_CONFIG_COMMANDS expansion
From: |
Eric Blake |
Subject: |
Re: AC_CONFIG_COMMANDS expansion |
Date: |
Mon, 14 Apr 2008 13:10:22 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Jason Roscoe on 4/14/2008 1:00 PM:
| This, of course, is not what I want. Instead of major="", I would like
| the ending result to say major=$3 so. Can someone provide a hint as to
| how I can achieve this?
The two byte sequence '$3' is being consumed by m4. You need to quote it
so that it makes it through m4 unscathed; try the four bytes '[$]3'. Or
resort to a quadrigraph, with the five bytes '%S|%3'.
- --
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
iEYEARECAAYFAkgDrB4ACgkQ84KuGfSFAYDrzgCfXZ/qRMc5X5GOqkGXxrCufmnZ
4QcAoLx+fetjOAZ+7stVCGpDlp9QCHru
=ZtwF
-----END PGP SIGNATURE-----