mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
1a27ff33f9
Fix intltool build setup to make it build on ubuntu 16.04 as well. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=776523
19 lines
504 B
Bash
Executable file
19 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" "$@"
|
|
|