[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: troubles with autoreconf
From: |
Guillaume Rousse |
Subject: |
Re: troubles with autoreconf |
Date: |
Thu, 14 Sep 2006 13:11:36 +0200 |
User-agent: |
Thunderbird 1.5.0.5 (X11/20060908) |
Stepan Kasal wrote:
> Hello,
>
> On Wed, Sep 13, 2006 at 05:07:32PM +0200, Guillaume Rousse wrote:
>> autoconf works perfectly, but not autoreconf:
>
> please not that these two tools are very different:
> - autoconf builds configure from configure.ac
> - autoreconf is similar to a ``bootstrap'' script, which named
> ``autogen.sh'' in some projects: it calls many different programs:
> aclocal, autoheader, autoconf, automake, libtoolize, autopoint
>
> Perhaps the simplest answer is that you did not meant to call
> autoreconf?
No, I'm perfecltly aware what autoreconf is.
> You have problems with autoheader, which creates `config.h.in':
>> autoheader: warning: missing template: GIFLIB_BUG_FIXED
>> autoheader: Use AC_DEFINE([GIFLIB_BUG_FIXED], [], [Description])
>> autoheader: warning: missing template: HAVE_FREETYPE
>> autoheader: warning: missing template: HAVE_GIF
>> autoheader: warning: missing template: HAVE_JPEG
>> autoheader: warning: missing template: HAVE_PNG
>> autoheader: warning: missing template: HAVE_TIFF
>> autoheader: warning: missing template: HAVE_XPM
>
> First, did you meant to call autoheader? How do you create
> config.h.in? If you maintain it manually, then you should not run
> autoheader (nor autoreconf).
> (It is preferable to create config.h.in by autoheader, but that's not
> the topic of this discussion.)
I just discovered than config.h.in was included in the CVS repository,
and removed it, thanks.
> If you really want to use autoheader, then you have to replace
> AC_DEFINE([GIFLIB_BUG_FIXED])
> AC_DEFINE([HAVE_FREETYPE])
> and such by
> AC_DEFINE([GIFLIB_BUG_FIXED], [], [Define if ... whatever.])
> AC_DEFINE([HAVE_FREETYPE], [],
> [Define if freetype library is to be used.])
> etc.
> (I cannot guess what GIFLIB_BUG_FIXED means.)
>
> I guess the autoheader message says it quite nicely...
Right, I just forgot I didn't ran autoheader directly.
--
Guillaume Rousse
Projet Estime, INRIA
Domaine de Voluceau
Rocquencourt - B.P. 105
78153 Le Chesnay Cedex - France