From cc3ede1ba8b59115e1a5abf02873e92e9841a00b Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 10 Apr 2003 08:37:12 +0000 Subject: * 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: http://svn.ruby-lang.org/repos/ruby/trunk@3664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- config.sub | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config.sub') diff --git a/config.sub b/config.sub index 04baf3d80..d2c7af03c 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|'` -- cgit