This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Autoconf 2.52 and Automake 1.5
- To: Lars von Wedel <vonWedel at lfpt dot rwth-aachen dot de>
- Subject: Re: Autoconf 2.52 and Automake 1.5
- From: Tim Van Holder <tim dot van dot holder at pandora dot be>
- Date: 31 Aug 2001 10:34:35 +0200
- Cc: automake at gnu dot org
- List-Id: Discussion list for automake <automake.gnu.org>
- References: <01083110074100.01470@viking.lfpt.rwth-aachen.de>
On 31 Aug 2001 10:07:41 +0200, Lars von Wedel wrote:
> Hello,
>
> I'm trying to migrate one of my projects from Autoconf 2.13/Automake 1.4 to
> Autoconf 2.52/Automake 1.5. Actually I'm having a problems I couldn't
> resolve yet:
>
> Autoconf complains about the use of AC_CANONICAL_TARGET.
> I call a macro that AC_REQUIRES the above, but calling it in my
> configure.ac doesn't seem to work:
>
> > autoconf
> > configure.ac:15: warning: AC_ARG_PROGRAM was called before
> AC_CANONICAL_TARGET
> > configure.ac:31: warning: AC_CANONICAL_TARGET invoked multiple times
> > configure.ac:31: warning: is m4_require'd but is not m4_defun'd
>
> Anyone knows help? My configure.ac is attached for information.
Very strange:
[tim@bender] /home/tim>autoconf --version; automake --version
autoconf (GNU Autoconf) 2.52
Written by David J. MacKenzie.
Copyright 1992, 1993, 1994, 1996, 1999, 2000, 2001
Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
automake (GNU automake) 1.5
Written by Tom Tromey <tromey@cygnus.com>.
Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
[tim@bender] /home/tim>aclocal
[tim@bender] /home/tim>autoconf
configure.ac:15: warning: AC_ARG_PROGRAM was called before
AC_CANONICAL_TARGET
Since AC_ARG_PROGRAM is called from AM_INIT_AUTOMAKE, putting the
AC_CANONICAL_TARGET before the AM_* macros makes even this warning go
away.