Hi Dan,

Thanks for looking into the issue.

I'm using a fully updated Amazon Linux installation and the Autoconf package 
that comes with it is 2.63.

Checking http://rpmfind.net/linux/rpm2html/search.php?query=autoconf It looks 
like most stable distributions haven't updated past 2.63 as yet either.

Is there any way to keep the minimum version >= 2.63 ?  It would save a lot of 
platform maintainers from updating automake and autoconf from source before 
building Amanda.

Best regards,
Kervin


Adevsoft Inc
Business Software Development
http://adevsoft.com/


> -----Original Message-----
> From: [email protected] [mailto:owner-amanda-
> [email protected]] On Behalf Of Dan Locks
> Sent: Wednesday, June 27, 2012 4:24 AM
> To: [email protected]
> Subject: Re: aclocal fails since AMANDA_INIT_VERSION call in
> configure.in
> 
> I ran across this same error while updating amanda's packages.
> 
> On 06/11/2012 09:16 AM, John Hein wrote:
> > I see no reference to m4_divert_diversion in AMANDA_INIT_VERSION ...
> <snip>
> > Ah... from the autoconf info pages...
> >
> > ========================
> >   .
> >   .
> >     Unfortunately older versions of Automake (e.g., Automake 1.4) did
> > not quote the names of these macros.  Therefore, when `m4' finds
> > something like `AC_DEFUN(AM_TYPE_PTRDIFF_T, ...)' in `aclocal.m4',
> > `AM_TYPE_PTRDIFF_T' is expanded, replaced with its Autoconf
> definition.
> >
> >     Fortunately Autoconf catches pre-`AC_INIT' expansions, and
> > complains, in its own words:
> >
> >       $ cat configure.ac
> >       AC_INIT([Example], [1.0], [[email protected]])
> >       AM_TYPE_PTRDIFF_T
> >       $ aclocal-1.4
> >       $ autoconf
> >       aclocal.m4:17: error: m4_defn: undefined macro:
> _m4_divert_diversion
> >       aclocal.m4:17: the top level
> >       autom4te: m4 failed with exit status: 1
> >       $
> >
> >     Modern versions of Automake no longer define most of these macros,
> > and properly quote the names of the remaining macros.  If you must
> use
> > an old Automake, do not depend upon macros from Automake as it is
> > simply not its job to provide macros (but the one it requires itself):
> >   .
> >   .
> > ========================
> This gives a hint that I needed to...
> 
> > Investigate your automake installation.
> Specifically, it seems that with AMANDA_INIT_VERSION, we now require
> autoconf >=2.64.  I actually tested 2.60, 2.61, 2.63, 2.64, and 2.68.
> The first 3 versions failed, the last two worked.
> 
> I'll update configure.in to reflect the finding.  Hopefully we prevent
> some unnecessary pain for some other source builders.
> 
> Dan Locks



Reply via email to