[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: M4 version macro
From: |
Gary V. Vaughan |
Subject: |
Re: M4 version macro |
Date: |
Fri, 17 Jun 2005 10:10:43 +0100 |
User-agent: |
Mozilla Thunderbird 1.0 (X11/20050305) |
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 ())_. address@hidden,gnu.org}
Research Scientist ( '/ http://tkd.kicks-ass.net
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
- M4 version macro, Hans Aberg, 2005/06/12
- Re: M4 version macro,
Gary V. Vaughan <=