diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2002-06-12 01:36:13 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2002-06-12 01:36:13 +0000 |
commit | 1c0ca89ddb5087f6a1b73f91e89e1b8791ee4f4f (patch) | |
tree | 10185c460e3b9c3633d38d39942bff0205449176 /gcc/configure.in | |
parent | 5dc8d5361697ad7378b9ff360aaaec980091d6b4 (diff) | |
download | gcc-1c0ca89ddb5087f6a1b73f91e89e1b8791ee4f4f.zip gcc-1c0ca89ddb5087f6a1b73f91e89e1b8791ee4f4f.tar.gz gcc-1c0ca89ddb5087f6a1b73f91e89e1b8791ee4f4f.tar.bz2 |
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
Diffstat (limited to 'gcc/configure.in')
-rw-r--r-- | gcc/configure.in | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/configure.in b/gcc/configure.in index 418fba7..00b33c7 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -870,11 +870,10 @@ 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} AC_SUBST(extra_modes_file) - AC_DEFINE_UNQUOTED(EXTRA_MODES_FILE, - "${cpu_type}/${cpu_type}-modes.def", + AC_DEFINE_UNQUOTED(EXTRA_MODES_FILE, "$extra_modes", [Define to the name of a file containing a list of extra machine modes for this architecture.]) AC_DEFINE(EXTRA_CC_MODES, 1, |