Re: autoheader problem

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

 



Hello Daniel,

* Daniel wrote on Sat, Feb 17, 2007 at 02:10:55PM CET:
> 
> The process signals me some errors, one of these is related to autoheader.
[... snipping everything but the interesting warning ...]

> autoheader: warning: missing template: WORDS_BIGENDIAN
> autoheader: Use AC_DEFINE([WORDS_BIGENDIAN], [], [Description])

Well, the configure.ac script uses
  AC_DEFINE([WORDS_BIGENDIAN], [something])

but there needs to be one AC_DEFINE with a description in order for it
to automatically appear in the config.h.in file generated by autoheader.
Either you call AC_DEFINE with three parameters once, or you call
  AH_TEMPLATE([WORDS_BIGENDIAN], [description...])

so it will be made.  Otherwise if you already have something like
  #undef WORDS_BIGENDIAN

in a file such as acconfig.h, config.h.bot, or config.h.top, then
things will also work.  But just as the warnings say, those are the
old style.

The manual has more information here:
<http://www.gnu.org/software/autoconf/manual/html_node/Configuration-Headers.html>

Hope that helps.

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