mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
d44c317da7
For consistency with the rest of the autogen.sh scripts. https://bugzilla.gnome.org/show_bug.cgi?id=772616
30 lines
550 B
Bash
Executable file
30 lines
550 B
Bash
Executable file
#!/bin/sh
|
|
|
|
PROJECT="codecanalyzer"
|
|
|
|
test -n "$srcdir" || srcdir=`dirname "$0"`
|
|
test -n "$srcdir" || srcdir=.
|
|
|
|
if ! test -f "$srcdir/configure.ac"; then
|
|
echo "Failed to find the top-level $PROJECT directory"
|
|
exit 1
|
|
fi
|
|
|
|
olddir="`pwd`"
|
|
cd "$srcdir"
|
|
|
|
mkdir -p m4
|
|
|
|
AUTORECONF=`which autoreconf`
|
|
if test -z "$AUTORECONF"; then
|
|
echo "*** No autoreconf found ***"
|
|
exit 1
|
|
else
|
|
autoreconf -v --install || exit $?
|
|
fi
|
|
|
|
cd "$olddir"
|
|
|
|
if test -z "$NOCONFIGURE"; then
|
|
$srcdir/configure "$@" && echo "Now type 'make' to compile $PROJECT."
|
|
fi
|