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?

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.)

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...

Have a nice day,
        Stepan Kasal


_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to