3 PROJECT="gstreamer-vaapi"
5 test -n "$srcdir" || srcdir="`dirname \"$0\"`"
6 test -n "$srcdir" || srcdir=.
8 if ! test -f "$srcdir/configure.ac"; then
9 echo "Failed to find the top-level $PROJECT directory"
19 if test -z "$GIT"; then
20 echo "*** No git found ***"
24 for ext_module in codecparsers videoutils; do
25 if test ! -f ext/${ext_module}/autogen.sh; then
29 [ -f ext/libvpx/upstream/configure ] || submodule_init="yes"
30 if test "$submodule_init" = "yes"; then
36 GTKDOCIZE=`which gtkdocize`
37 if test -z "$GTKDOCIZE"; then
38 echo "*** No gtk-doc support ***"
39 echo "EXTRA_DIST =" > gtk-doc.make
44 AUTORECONF=`which autoreconf`
45 if test -z "$AUTORECONF"; then
46 echo "*** No autoreconf found ***"
49 autoreconf -v --install || exit $?
54 if test -z "$NO_CONFIGURE"; then
55 $srcdir/configure "$@" && echo "Now type 'make' to compile $PROJECT."