This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Configure magic
- From: Steven Bosscher <s dot bosscher at student dot tudelft dot nl>
- To: dnovillo at redhat dot com
- Cc: gcc at gcc dot gnu dot org
- Date: 17 Jan 2003 23:57:03 +0100
- Subject: Configure magic
Diego,
Since your merge, I cannot configure anymore without cheating:
---- 8< ----
checking for nm... nm
checking for i586-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i586-pc-linux-gnu-windres... no
checking for windres... windres
updating cache ./config.cache
creating ./config.status
creating Makefile
steven@steven:~/devel/gcc/build > make
cd ../gcc-ssa && autoconf
configure.in:2112: error: possibly undefined macro: AS_FOR_TARGET
make: *** [../gcc-ssa/configure] Error 1
# autoconf --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.
---- 8< ----
I can trick it into thinking configure/Makefile.in is newer, but then
it complains about config.sub:
---- 8< ----
checking for as... as
checking for dlltool... dlltool
checking for ld... ld
checking for nm... nm
checking for ranlib... ranlib
checking for windres... windres
configure: creating ./config.status
CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating Makefile
Configuring in build-/libiberty
creating cache ../config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... makeinfo
checking for perl... perl
checking host system type... config.sub: missing argument
Try `config.sub --help' for more information.
checking build system type... config.sub: missing argument
Try `config.sub --help' for more information.
checking for -ar... ar
checking for -ranlib... no
checking for ranlib... ranlib
---- 8< ----
Do I really need to get an *old* autoconf somewhere to make
a *new* gcc work?
Greetz
Steven