summaryrefslogtreecommitdiff
path: root/config.sub
diff options
context:
space:
mode:
Diffstat (limited to 'config.sub')
-rwxr-xr-xconfig.sub12
1 files changed, 10 insertions, 2 deletions
diff --git a/config.sub b/config.sub
index e52a9ba7d..171c5da08 100755
--- a/config.sub
+++ b/config.sub
@@ -95,12 +95,20 @@ sparcv8 | supersparc | microsparc | ultrasparc | ultrasparc[123])
test_cpu=sparc ;;
sh2)
test_cpu=sh ;;
+
*)
- test_cpu="$given_cpu" ;;
+ # Don't need or want to change what the given name, just run configfsf.sub
+ $SHELL $configfsf_sub "$given_full"
+ if test $? = 0; then
+ exit 0
+ else
+ echo "(GNU MP wrapped config.sub testing $given_full)"
+ exit 1
+ fi
esac
-test_full="$test_cpu$given_rest"
+test_full="$test_cpu$given_rest"
canonical_full=`$SHELL $configfsf_sub "$test_full"`
if test $? = 0; then
: