aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2002-06-12 01:36:13 +0000
committerZack Weinberg <zack@gcc.gnu.org>2002-06-12 01:36:13 +0000
commit1c0ca89ddb5087f6a1b73f91e89e1b8791ee4f4f (patch)
tree10185c460e3b9c3633d38d39942bff0205449176 /gcc/configure
parent5dc8d5361697ad7378b9ff360aaaec980091d6b4 (diff)
downloadgcc-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')
-rwxr-xr-xgcc/configure6
1 files changed, 3 insertions, 3 deletions
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 <<EOF
-#define EXTRA_MODES_FILE "${cpu_type}/${cpu_type}-modes.def"
+#define EXTRA_MODES_FILE "$extra_modes"
EOF
cat >> confdefs.h <<\EOF