代码拉取完成,页面将自动刷新
#! /bin/sh
## bootstrap file for the VLC media player
##
## Copyright (C) 2005-2008 the VideoLAN team
##
## Authors: Sam Hocevar <sam@zoy.org>
## Rémi Denis-Courmont
set -e
cd "$(dirname "$0")"
if test "$#" != "0"; then
echo "Usage: $0" >&2
echo " Calls autoreconf to generate m4 macros and prepare Makefiles." >&2
exit 1
fi
ACLOCAL_ARGS="-I m4 ${ACLOCAL_ARGS}"
# Check for tools directory
if test -z ${VLC_TOOLS}; then
VLC_TOOLS=extras/tools/build
fi
if test -d ${VLC_TOOLS}/bin; then
VLC_TOOLS_PATH="$( cd "${VLC_TOOLS}/bin" ; pwd -P )"
PATH="$VLC_TOOLS_PATH:$PATH"
fi
###
### Get a sane environment, just in case
###
CYGWIN=binmode
export CYGWIN
# Check for pkg-config
if ! "${PKG_CONFIG:-pkg-config}" --version >/dev/null 2>&1; then
echo 'Error: "pkg-config" is not installed.' >&2
exit 1
fi
# Check for autopoint (GNU gettext)
export AUTOPOINT
test "$AUTOPOINT" || AUTOPOINT=autopoint
if ! "$AUTOPOINT" --dry-run --force >/dev/null 2>&1; then
AUTOPOINT=true
cat << EOF
NOTE: autopoint (GNU gettext-tools) appears to be missing or out-of-date.
Please install or update GNU gettext tools.
Otherwise, you will not be able to build a source tarball.
==========================================================================
EOF
fi
# Check for flex and bison
if ! flex --version >/dev/null 2>&1; then
echo "ERROR: flex is not installed." >&2
if ! test -f modules/codec/webvtt/CSSLexer.c; then
exit 1
fi
fi
if ! bison --version >/dev/null 2>&1; then
echo "ERROR: GNU bison is not installed." >&2
if ! test -f modules/codec/webvtt/CSSGrammar.c; then
exit 1
fi
fi
###
### classic bootstrap stuff
###
autoreconf --install --force --verbose ${ACLOCAL_ARGS}
rm -f po/Makevars.template
##
## files which need to be regenerated
##
rm -f stamp-h*
# Shut up
set +x
echo "Successfully bootstrapped"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。