gstreamer/mediainfo/autogen.sh

17 lines
438 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
test -n "$srcdir" || srcdir=$(dirname "$0")
test -n "$srcdir" || srcdit=.
(
cd "$srcdir" &&
AUTOPOINT='intltoolize --automake --copy' autoreconf -fiv
) || exit
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"