gstreamer/mediainfo/autogen.sh

20 lines
504 B
Bash
Raw Normal View History

#!/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")
2010-12-16 09:42:34 +00:00
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" "$@"