Re: AC_CONFIG_COMMANDS expansion

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

 



-----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             ebb9@xxxxxxx
-----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-----


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux