代码拉取完成,页面将自动刷新
#!/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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。