Hallo Hans,

Hans Aberg wrote:
Does M4 have a macro, expanding to its version number (I suspect not)? This might be useful when using M4 to generate parser/lexer files in Bison/Flex, and stamp them with the M4 version used, so it becomes clearly visible in debug reports.

CVS M4 (soon to be m4-2.0) has __m4_version__.

Release versions of GNU m4 could use syscmd(`m4 --version') if PATH is
set reasonably...

Cheers,
        Gary.
--
Gary V. Vaughan      ())_.  [EMAIL PROTECTED],gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook


_______________________________________________
Bug-m4 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-m4

Reply via email to