This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Factor configure-time gcc version checks (patch 1/4 for PR7305)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]