autoconf
[Top][All Lists]
Advanced

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

Re: autoheader problem


From: Ralf Wildenhues
Subject: Re: autoheader problem
Date: Sat, 17 Feb 2007 16:07:53 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]