gstreamer/mediainfo/autogen.sh
christophecvr 1a27ff33f9 mediainfo: update build setup
Fix intltool build setup to make it build on ubuntu 16.04 as well.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=776523
2016-12-30 11:54:35 +01:00

20 lines
504 B
Bash
Executable file

#!/bin/sh
# Run this to generate all the initial makefiles, etc.
# a silly hack that generates autoregen.sh but it's handy
echo "#!/bin/sh" > autoregen.sh
echo "./autogen.sh $@ \$@" >> autoregen.sh
chmod +x autoregen.sh
mkdir -p m4
test -n "$srcdir" || srcdir=$(dirname "$0")
test -n "$srcdir" || srcdir=.
(
cd "$srcdir" &&
AUTOPOINT='intltoolize --automake -c -f' autoreconf -fiv &&
test -f "po/Makefile.in.in" || intltoolize -c -f
) || exit
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"