winlin

research st: remove the osguess.sh

1 -#  
2 -# This script can be used to automatically guess target OS.  
3 -# It requires the config.guess utility which is a part of GNU Autoconf.  
4 -# GNU Autoconf can be downloaded from ftp://ftp.gnu.org/gnu/autoconf/  
5 -#  
6 -# Use "default" as a make target for automatic builds.  
7 -#  
8 -  
9 -  
10 -# Specify path to the config.guess utility (unless set via environment)  
11 -#CONFIG_GUESS_PATH=  
12 -  
13 -  
14 -if [ x"$CONFIG_GUESS_PATH" = x ]; then  
15 - echo "Error: CONFIG_GUESS_PATH variable is not set"  
16 - exit 1  
17 -fi  
18 -  
19 -if [ ! -f "$CONFIG_GUESS_PATH/config.guess" ]; then  
20 - echo "Can't find $CONFIG_GUESS_PATH/config.guess utility. Wrong path?"  
21 - exit 1  
22 -fi  
23 -  
24 -sys_info=`/bin/sh $CONFIG_GUESS_PATH/config.guess`  
25 -  
26 -echo "Building for $sys_info"  
27 -  
28 -case "$sys_info" in  
29 - *-ibm-aix4* ) OS=AIX ;;  
30 - *-freebsd* ) OS=FREEBSD ;;  
31 - hppa*-hp-hpux11*) OS=HPUX ;;  
32 - *-sgi-irix6* ) OS=IRIX ;;  
33 - *-linux* ) OS=LINUX ;;  
34 - *-netbsd* ) OS=NETBSD ;;  
35 - *-openbsd* ) OS=OPENBSD ;;  
36 - *-dec-osf* ) OS=OSF1 ;;  
37 - *-solaris2* ) OS=SOLARIS ;;  
38 - *-darwin* ) OS=DARWIN ;;  
39 - * ) OS=  
40 - echo "Sorry, unsupported OS"  
41 - exit 1 ;;  
42 -esac  
43 -  
44 -echo "Making with OS=$OS"  
45 -