* 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 LIBFFCALL_VERSION
> #undef LIBFFCALL_VERSION
> #endif
> 
> but I'm not sure whether autoheader would destroy avcall.h.in, so
> Peter's solution is preferred.

autoheader only writes the input file to the first AC_CONFIG_HEADERS
that is specified in configure.ac; all following ones are supposed to be
written by the developer.

Cheers,
Ralf


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

Reply via email to