Re-enabled host platform BeOS version detection. Tested only under BeOS R5.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14586 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2005-10-31 00:00:27 +00:00
parent ce357f41f9
commit 0df3cc9c86

20
configure vendored
View File

@ -147,15 +147,6 @@ set_default_value HAIKU_LDFLAGS ""
set_default_value HAIKU_ARFLAGS ru
set_default_value HAIKU_UNARFLAGS x
# host BeOS recognition not needed anymore
# revision=`uname -r`
# case "$revision" in
# 5.1) target=dano ;;
# 5.0.4) target=bone ;;
# 5.0*) target=r5 ;;
# *) target=haiku ;;
#esac
# parse parameters
#
while [ $# \> 0 ] ; do
@ -181,8 +172,17 @@ if [ -n "$floppy" ]; then
esac
fi
# detect the build platform
case "${platform}" in
BeOS) buildPlatform=r5 ;;
BeOS) revision=`uname -r`
case "$revision" in
5.1) buildPlatform=dano ;;
5.0.4) buildPlatform=bone ;;
5.0*) buildPlatform=r5 ;;
*) echo Unknown BeOS version: $revision
exit 1 ;;
esac
;;
Linux) buildPlatform=linux ;;
*) echo Unsupported platform: ${platform}
exit 1 ;;