Re: [aseek-devel] GCC3

From: Kir Kolyshkin (no email)
Date: Fri Jan 04 2002 - 06:58:12 EST


Actually a message about acconfig.h was just a warning, and the error was in
AC_DEFINE(PAGE_S...
from configure.in; instead it should be
AC_DEFINE(MEM_PAGE_S...

I have fixed this in CVS and hope that it will work with new autoconf (although
I can't test this). Check it, please.

Kir Kolyshkin wrote:
>
> Seems that there's a brand new version of autoconf that don't like the idea
> of using acconfig.h. This is not a big problem since these tools are needed
> for developers only (and for the people who want to use CVS). Well, one day
> I will fix it, for now I recommend you to downgrade autoconf (and probably
> automake too). For example, I am happy with these versions of tools:
>
> [kir at kir kir]$ rpm -q autoconf automake
> autoconf-2.13-9
> automake-1.4p5-2
>
> Adam Gregoire wrote:
> >
> > [ebola at ebola aspseek]$ autoheader
> > WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
> > WARNING: and `config.h.top', to define templates for `config.h.in'
> > WARNING: is deprecated and discouraged.
> >
> > WARNING: Using the third argument of `AC_DEFINE' and
> > WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
> > WARNING: `acconfig.h':
> >
> > WARNING: AC_DEFINE([NEED_MAIN], 1,
> > WARNING: [Define if a function `main' is needed.])
> >
> > WARNING: More sophisticated templates can also be produced, see the
> > WARNING: documentation.
> > autoheader: missing template: PAGE_SHIFT
> > autoheader: missing template: PAGE_SIZE
> > [ebola at ebola aspseek]$ ls -l include/aspseek.h
> >
> > Adam
> >
> > >
> > > And this was the root of the problem.
> > >
> > >
> > > include/aspseek-cfg.h.in is created from acconfig.h by autoheader
> > > (there is even a note about it at the top of aspseek-cfg.h.in)
> > > autoheader is executed by cvsprep.
> > >
> > > You should:
> > > 1. remove include/aspseek-cfg.h*
> > > 2. run autoheader
> > > 3. re-run configure with your favourite options
> > >
>
> --
> ICQ 7551596 Phone +7 903 6722750
> Hard work may not kill you, but why take chances?
> --

-- 
  ICQ 7551596  Phone +7 903 6722750
Hard work may not kill you,  but why take chances?
--







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD