summaryrefslogtreecommitdiff
path: root/config.sub
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-03-02 03:51:50 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-03-02 03:51:50 +0000
commit58e68a3660c47739d7a70cc6f5cdebec030502d2 (patch)
treee66bc7e98dd9a64d633af4220bcae7e63994e1b8 /config.sub
parent58dd5de9664c57d72b45fd90a75f08fab506f208 (diff)
2000-03-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_4@630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'config.sub')
-rw-r--r--config.sub4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.sub b/config.sub
index f853351cc4..3c591de61b 100644
--- a/config.sub
+++ b/config.sub
@@ -68,7 +68,7 @@ esac
# Here we must recognize all the valid KERNEL-OS combinations.
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
case $maybe_os in
- linux-gnu*)
+ linux*)
os=-$maybe_os
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
;;
@@ -891,7 +891,7 @@ case $os in
os=-sysv4.2uw
;;
-gnu/linux*)
- os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
+ os=`echo $os | sed -e 's|gnu/linux|linux|'`
;;
# First accept the basic system types.
# The portable systems comes first.