From: matz@... (Yukihiro Matsumoto) Date: 2000-02-27T00:48:11+09:00 Subject: [ruby-dev:9291] Re: configure fail on libc5 linux まつもと ゆきひろです In message "[ruby-dev:9289] configure fail on libc5 linux" on 00/02/26, Minero Aoki writes: | |あおきです。 | |CVS の最新版ですが、libc5 の linux だと configure が |ホストタイプの検出に失敗します。原因は、config.guess の値が |i686-pc-linux-libc1 になるからのようです。config.guess を | |echo 'i686-pc-linux' | |に置きかえると直りました。 config.subがi686-pc-linux-libc1に対応してないせいですね。 --- config.sub~ Thu Feb 3 20:40:56 2000 +++ config.sub Sun Feb 27 00:17:06 2000 @@ -68,7 +68,7 @@ # 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 @@ 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.