1 Star 1 Fork 0

徐惠杰/nDPI

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
autogen.sh 1.06 KB
一键复制 编辑 原始数据 按行查看 历史
#!/bin/sh
rm -f configure config.h config.h.in
AUTOCONF=$(command -v autoconf)
AUTOMAKE=$(command -v automake)
LIBTOOL=$(command -v libtool)
LIBTOOLIZE=$(command -v libtoolize)
AUTORECONF=$(command -v autoreconf)
PKG_CONFIG=$(command -v pkg-config)
MAKE=$(command -v make)
if test -z "${AUTOCONF}"; then
echo "autoconf is missing: please install it and try again"
exit
fi
if test -z "${AUTOMAKE}"; then
echo "automake is missing: please install it and try again"
exit
fi
if test -z "${LIBTOOL}" && test -z "${LIBTOOLIZE}"; then
echo "libtool and libtoolize is missing: please install it and try again"
exit
fi
if test -z "${AUTORECONF}"; then
echo "autoreconf is missing: please install it and try again"
exit
fi
if test -z "${PKG_CONFIG}"; then
echo "pkg-config is missing: please install it (apt-get install pkg-config) and try again"
exit
fi
if test -z "${MAKE}"; then
echo "make is missing; please install it (apt-get install make) and try again"
exit
fi
autoreconf -ivf
echo "./configure $@"
chmod +x configure
./configure $@
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/xhj1200602110/nDPI.git
git@gitee.com:xhj1200602110/nDPI.git
xhj1200602110
nDPI
nDPI
dev

搜索帮助

0d507c66 1850385 C8b1a773 1850385