summaryrefslogtreecommitdiff
path: root/config.sub
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2003-07-05 03:19:27 +0200
committerKevin Ryde <user42@zip.com.au>2003-07-05 03:19:27 +0200
commita3acde9eb1d4787cbb1a6c0ed35f2e4432eb4e24 (patch)
tree6617ae91db7ca13df5ca7a785694b1bcc10f54dc /config.sub
parent80caa98d8f6c7928fa9ccc33d3277a9fb0a928e8 (diff)
downloadgmp-a3acde9eb1d4787cbb1a6c0ed35f2e4432eb4e24.tar.gz
* config.sub: Add comments to our alias transformations.
Diffstat (limited to 'config.sub')
-rwxr-xr-xconfig.sub16
1 files changed, 10 insertions, 6 deletions
diff --git a/config.sub b/config.sub
index 6150d7bee..5fab5eb7e 100755
--- a/config.sub
+++ b/config.sub
@@ -3,7 +3,7 @@
# GMP config.sub wrapper.
-# Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
+# Copyright 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
#
# This file is part of the GNU MP Library.
#
@@ -74,11 +74,15 @@ given_rest=`echo "$given_full" | sed 's/^[^-]*//'`
# Aliases for GMP extras
case "$given_cpu" in
-p5 | p54) given_cpu=pentium ;;
-p55) given_cpu=pentiummmx ;;
-p6) given_cpu=pentiumpro ;;
-pentiumii) given_cpu=pentium2 ;;
-pentiumiii) given_cpu=pentium3 ;;
+ # configfsf.sub turns p5 into i586, instead use our exact cpu type
+ p5 | p54) given_cpu=pentium ;;
+ p55) given_cpu=pentiummmx ;;
+
+ # configfsf.sub turns p6, pentiumii and pentiumiii into i686, instead use
+ # our exact cpu types
+ p6) given_cpu=pentiumpro ;;
+ pentiumii) given_cpu=pentium2 ;;
+ pentiumiii) given_cpu=pentium3 ;;
esac
given_full="$given_cpu$given_rest"