This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Factor configure-time gcc version checks (patch 1/4 for PR7305)
- From: Richard Sandiford <rsandifo at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: binutils at sources dot redhat dot com, gdb-patches at sources dot redhat dot com
- Date: Thu, 02 Dec 2004 14:14:45 +0000
- Subject: Re: Factor configure-time gcc version checks (patch 1/4 for PR7305)
- References: <87is7tejx4.fsf@redhat.com>
Richard Sandiford <rsandifo@redhat.com> writes:
> * configure.in: Include config/gcc-version.m4. Use TL_AC_GCC_VERSION
> to set gcc_version_trigger. Remove some now-redundant AC_SUBSTs.
Argh! This bit broke src/ because of the config.status dependency on
$(gcc_version_trigger) in the top-level Makefile. I've installed the
patch below as obvious. Sorry all for breakage.
Richard
* configure.in: Clear gcc_version_trigger if the file doesn't exist.
* configure: Regenerate.
Index: configure.in
===================================================================
RCS file: /cvs/src/src/configure.in,v
retrieving revision 1.252
retrieving revision 1.253
diff -u -d -p -r1.252 -r1.253
--- configure.in 2 Dec 2004 11:09:33 -0000 1.252
+++ configure.in 2 Dec 2004 14:08:00 -0000 1.253
@@ -112,6 +112,8 @@ if test -f $gcc_version_trigger ; then
ac_configure_args="$ac_configure_args --with-gcc-version-trigger=$gcc_version_trigger"
;;
esac
+else
+ gcc_version_trigger=
fi
### To add a new directory to the tree, first choose whether it is a target