summaryrefslogtreecommitdiff
path: root/config.sub
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-04-10 08:37:12 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-04-10 08:37:12 +0000
commite74149056bae388e35d4a4cab8cfa38114eb16b1 (patch)
tree2c2f889b16d8583f32bddc6311e596b369fa3346 /config.sub
parentdc08e8a60f3ea931598f7d240c76ad3f09ae3cef (diff)
* variable.c (rb_mod_name): always return empty string for
anonymous class/module. (ruby-bugs-ja PR#424) * config.sub: stop forcing addition of -gnu to -linux. * variable.c (classname): refactoring. * variable.c (rb_class_path): __tmp__classpath__ handling moved from classname(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3664 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 04baf3d..d2c7af0 100644
--- a/config.sub
+++ b/config.sub
@@ -1093,7 +1093,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.
@@ -1143,7 +1143,7 @@ case $os in
os=`echo $os | sed -e 's|mac|macos|'`
;;
-linux*)
- os=`echo $os | sed -e 's|linux|linux-gnu|'`
+ os=-linux
;;
-sunos5*)
os=`echo $os | sed -e 's|sunos5|solaris2|'`