gstreamer/autogen.sh
Gwenole Beauchesne b36eade7f3 vp8: use range decoder from libvpx.
Add libvpx submodule that tracks the upstream version 1.3.0. This is
needed to build a libgstcodecparsers_vpx.so library with all symbols
placed into the GSTREAMER namespace.
2014-04-18 20:37:25 +02:00

56 lines
1.1 KiB
Bash
Executable file

#!/bin/sh
PROJECT="gstreamer-vaapi"
test -n "$srcdir" || srcdir="`dirname \"$0\"`"
test -n "$srcdir" || srcdir=.
if ! test -f "$srcdir/configure.ac"; then
echo "Failed to find the top-level $PROJECT directory"
exit 1
fi
olddir="`pwd`"
cd "$srcdir"
mkdir -p m4
GIT=`which git`
if test -z "$GIT"; then
echo "*** No git found ***"
exit 1
else
submodule_init="no"
for ext_module in codecparsers videoutils; do
if test ! -f ext/${ext_module}/autogen.sh; then
submodule_init="yes"
fi
done
[ -f ext/libvpx/upstream/configure ] || submodule_init="yes"
if test "$submodule_init" = "yes"; then
$GIT submodule init
fi
$GIT submodule update
fi
GTKDOCIZE=`which gtkdocize`
if test -z "$GTKDOCIZE"; then
echo "*** No gtk-doc support ***"
echo "EXTRA_DIST =" > gtk-doc.make
else
gtkdocize || exit $?
fi
AUTORECONF=`which autoreconf`
if test -z "$AUTORECONF"; then
echo "*** No autoreconf found ***"
exit 1
else
autoreconf -v --install || exit $?
fi
cd "$olddir"
if test -z "$NO_CONFIGURE"; then
$srcdir/configure "$@" && echo "Now type 'make' to compile $PROJECT."
fi