Re: AC_CONFIG_HEADERS & AC_CONFIG_FILES combo

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

 



* 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@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