bootstrap
来自「MPEG-4编解码的实现(包括MPEG4视音频编解码)」· 代码 · 共 45 行
TXT
45 行
#!/bin/sh
#
# Bootstrap development of mpeg4ip with GNU autoconf, automake, and libtool
# Assumes tools are available on the system
#
# Check that we can find libtool
# Frequently it hasn't been installed
if glibtool --version > /dev/null 2> /dev/null
then
libtool=glibtool
if libtoolize --version > /dev/null
then
echo "Found link for libtoolize"
else
echo "Need a link for libtoolize to glibtoolize"
echo "Please see readme for how to make on OS X"
exit 1
fi
elif libtool --version >/dev/null
then libtool=libtool
else echo "libtool does not appear to be installed."
echo "Please install it and then rerun this script."
exit 1
fi
set -x
# if src tree is created via cvs export to tar.gz
# then empty directories in the repository are pruned
# this code recreates the empty directories
# if src tree is checked out directly via cvs, this is a no-op
mkdir -p ./config || exit 1
pwd=`pwd`
for dir \
in $pwd/lib/SDL $pwd
do cd $dir
./configure "$@" || exit 1
done
set +x
# Now ready to run make
echo "ready to make"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?