Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2014-11-05 17:06:18 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0faa38dc0cfc970befb8f589887119a09a392f69
0faa38dc
1 parent
2dc6b7d1
research st: remove the osguess.sh
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
0 行增加
和
45 行删除
trunk/research/st/osguess.sh
trunk/research/st/osguess.sh
已删除
100755 → 0
查看文件 @
2dc6b7d
#
# This script can be used to automatically guess target OS.
# It requires the config.guess utility which is a part of GNU Autoconf.
# GNU Autoconf can be downloaded from ftp://ftp.gnu.org/gnu/autoconf/
#
# Use "default" as a make target for automatic builds.
#
# Specify path to the config.guess utility (unless set via environment)
#CONFIG_GUESS_PATH=
if
[
x
"
$CONFIG_GUESS_PATH
"
=
x
]
;
then
echo
"Error: CONFIG_GUESS_PATH variable is not set"
exit
1
fi
if
[
! -f
"
$CONFIG_GUESS_PATH
/config.guess"
]
;
then
echo
"Can't find
$CONFIG_GUESS_PATH
/config.guess utility. Wrong path?"
exit
1
fi
sys_info
=
`
/bin/sh
$CONFIG_GUESS_PATH
/config.guess
`
echo
"Building for
$sys_info
"
case
"
$sys_info
"
in
*
-ibm-aix4
*
)
OS
=
AIX
;;
*
-freebsd
*
)
OS
=
FREEBSD
;;
hppa
*
-hp-hpux11
*
)
OS
=
HPUX
;;
*
-sgi-irix6
*
)
OS
=
IRIX
;;
*
-linux
*
)
OS
=
LINUX
;;
*
-netbsd
*
)
OS
=
NETBSD
;;
*
-openbsd
*
)
OS
=
OPENBSD
;;
*
-dec-osf
*
)
OS
=
OSF1
;;
*
-solaris2
*
)
OS
=
SOLARIS
;;
*
-darwin
*
)
OS
=
DARWIN
;;
*
)
OS
=
echo
"Sorry, unsupported OS"
exit
1
;;
esac
echo
"Making with OS=
$OS
"
请
注册
或
登录
后发表评论