This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: configure problems: possibly undefined macro: AS_FOR_TARGET
Am Mon, 2003-01-06 um 22.17 schrieb Christian Jönsson:
> On Mon, Jan 06, 2003 at 10:02:28AM -0500, Daniel Jacobowitz wrote:
> > On Mon, Jan 06, 2003 at 09:19:18AM +0100, Christian Jönsson wrote:
> > > chj@TOPPEN:/usr/local/src/gcc-binutils/trunk/src$ autoconf --version
> > > autoconf (GNU Autoconf) 2.57
> > > Written by David J. MacKenzie and Akim Demaille.
> > >
> > > Copyright 2002 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.
> > > chj@TOPPEN:/usr/local/src/gcc-binutils/trunk/src$
> > >
> > > Are we on the road to 2.5x?
> >
> > No. This is a problem in your system's wrapper.
>
> well, regardless, it is suggested recently on the cygwin list that
> binutils or more correct I guess, the top-level configure.in to have
> this patch in it
AC_PREREQ specifies the minimum version being required by a
configure.in/configure.ac.
=> AC_PREREQ(2.13) does _not_ specify wanting autoconf-2.13 instead of
autoconf-2.5x.
[AFAIK, there exist some hacked versions of autoconf which try to apply
AC_PREREQ(2.13) to destinguish if a configure script wants
autoconf-2.13, but this behavior is beyond the definition of AC_PREREQ,
ie. is plain wrong.]
=> This patch is useless.
> --- configure.in.orig 2003-01-06 11:46:34.000000000 -0500
> +++ configure.in 2003-01-06 11:45:06.000000000 -0500
> @@ -19,6 +19,7 @@
> ### WARNING: this file contains embedded tabs. Do not run untabify on this file.
> AC_INIT(move-if-change)
> +AC_PREREQ(2.13)
> AC_CANONICAL_SYSTEM
> AC_ARG_PROGRAM
Ralf