* Paolo Bonzini wrote on Tue, Oct 20, 2009 at 07:41:12PM CEST:
> AC_CONFIG_HEADERS has to have a very specific format. You'd do
>
> AC_DEFINE_UNQUOTED([LIBFFCALL_VERSION], ["$PACKAGE_VERSION"],
>[Version of libffcall, for avcall.h])
>
> and in avcall.h.in
>
> #ifndef LIBFFCA
Hey,
I wanted to write an m4 macro to be put in a lot of our configure.ac
files. The problem is that the code contain '$1' to compute the parts of
the version of the package (major, minor, etc...). The code is the
following:
VMAJ=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $1);}'`
VMIN
* Vincent Torri wrote on Sun, Nov 01, 2009 at 12:00:13PM CET:
> I wanted to write an m4 macro to be put in a lot of our configure.ac
> files. The problem is that the code contain '$1' to compute the
> parts of the version of the package (major, minor, etc...). The code
> is the following:
>
> VMAJ