1 Star 0 Fork 0

不问江湖任少侠/asterisk

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
bootstrap.sh 761 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/sh
check_for_app() {
$1 --version 2>&1 >/dev/null
if [ $? != 0 ]
then
echo "Please install $1 and run bootstrap.sh again!"
exit 1
fi
}
# OpenBSD: pkg_add autoconf%2.63 automake%1.9 metaauto
test -n "$AUTOCONF_VERSION" || export AUTOCONF_VERSION=2.63
test -n "$AUTOMAKE_VERSION" || export AUTOMAKE_VERSION=1.9
check_for_app autoconf
check_for_app autoheader
check_for_app automake
check_for_app aclocal
gen_configure() {
echo "Generating the configure script for $1 ..."
shift
aclocal -I "$@"
autoconf
autoheader
automake --add-missing --copy 2>/dev/null
}
gen_configure "Asterisk" autoconf `find third-party -path '*/*/*' -prune -o -type d -print | xargs -I {} echo -I {}`
cd menuselect
gen_configure "menuselect" ../autoconf
exit 0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/renyongjian/asterisk.git
[email protected]:renyongjian/asterisk.git
renyongjian
asterisk
asterisk
master

搜索帮助