From 1c0ca89ddb5087f6a1b73f91e89e1b8791ee4f4f Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Wed, 12 Jun 2002 01:36:13 +0000 Subject: config.gcc: Make the name of the extra-modes file adjustable by target stanzas. * config.gcc: Make the name of the extra-modes file adjustable by target stanzas. (s390x, strongarm, xscale stanzas): Use this facility. * configure.in: Update to match. * configure: Regenerate. From-SVN: r54540 --- gcc/configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gcc/configure') diff --git a/gcc/configure b/gcc/configure index f3fb447..07637d6 100755 --- a/gcc/configure +++ b/gcc/configure @@ -5078,11 +5078,11 @@ if test x$thread_file = x; then fi # Look for a file containing extra machine modes. -if test -f $srcdir/config/${cpu_type}/${cpu_type}-modes.def; then - extra_modes_file='$(srcdir)/config/'${cpu_type}/${cpu_type}-modes.def +if test -n "$extra_modes" && test -f $srcdir/config/$extra_modes; then + extra_modes_file='$(srcdir)'/config/${extra_modes} cat >> confdefs.h <> confdefs.h <<\EOF -- cgit v1.1