comparison configure @ 5807:d4bc84e7c0ad

fix system_name case
author arpi
date Wed, 24 Apr 2002 01:54:37 +0000
parents 81fee5d61ddb
children c746dada521c
comparison
equal deleted inserted replaced
5806:ef85f6de947c 5807:d4bc84e7c0ad
313 esac 313 esac
314 ;; 314 ;;
315 esac 315 esac
316 else 316 else
317 system_name=`echo $_target | cut -d '-' -f 2` 317 system_name=`echo $_target | cut -d '-' -f 2`
318 case "`echo $system_name | tr A-Z a-z`" in
319 linux) system_name=Linux ;;
320 freebsd) system_name=FreeBSD ;;
321 netbsd) system_name=NetBSD ;;
322 bsd/os) system_name=BSD/OS ;;
323 openbsd) system_name=OpenBSD ;;
324 sunos) system_name=SunOS ;;
325 qnx) system_name=QNX ;;
326 esac
318 host_arch=`echo $_target | cut -d '-' -f 1` 327 host_arch=`echo $_target | cut -d '-' -f 1`
319 fi 328 fi
320 329
321 echo "Detected operating system: $system_name" 330 echo "Detected operating system: $system_name"
322 echo "Detected host architecture: $host_arch" 331 echo "Detected host architecture: $host_arch"