35 Star 0 Fork 11

openKylin/cups-filters

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
autogen.sh 1.56 KB
一键复制 编辑 原始数据 按行查看 历史
周淦清 提交于 2022-07-21 18:17 . Import Upstream version 1.27.4
#!/bin/sh
TESTLIBTOOLIZE="glibtoolize libtoolize"
LIBTOOLIZEFOUND="0"
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
olddir=`pwd`
cd $srcdir
aclocal --version > /dev/null 2> /dev/null || {
echo "error: aclocal not found"
exit 1
}
automake --version > /dev/null 2> /dev/null || {
echo "error: automake not found"
exit 1
}
autopoint --version > /dev/null 2> /dev/null || {
echo "error: autopoint not found"
exit 1
}
gettext --version > /dev/null 2> /dev/null || {
echo "error: gettext not found"
exit 1
}
for i in $TESTLIBTOOLIZE; do
if which $i > /dev/null 2>&1; then
LIBTOOLIZE=$i
LIBTOOLIZEFOUND="1"
break
fi
done
if [ "$LIBTOOLIZEFOUND" = "0" ]; then
echo "$0: need libtoolize tool to build cups-filters" >&2
exit 1
fi
amcheck=`automake --version | grep 'automake (GNU automake) 1.5'`
if test "x$amcheck" = "xautomake (GNU automake) 1.5"; then
echo "warning: you appear to be using automake 1.5"
echo " this version has a bug - GNUmakefile.am dependencies are not generated"
fi
rm -rf autom4te*.cache
autopoint --force || {
echo "error: autopoint failed"
exit 1
}
# autopoint is for libiconv discovery; we don't want the po directory
rm -rf po
$LIBTOOLIZE --force --copy || {
echo "error: libtoolize failed"
exit 1
}
aclocal $ACLOCAL_FLAGS || {
echo "error: aclocal $ACLOCAL_FLAGS failed"
exit 1
}
autoheader || {
echo "error: autoheader failed"
exit 1
}
automake -a -c --gnu --add-missing || {
echo "warning: automake failed"
}
autoconf || {
echo "error: autoconf failed"
exit 1
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openkylin/cups-filters.git
[email protected]:openkylin/cups-filters.git
openkylin
cups-filters
cups-filters
openkylin/nile

搜索帮助