Files
UltraGrid/autogen.sh
Martin Pulec 0107917c25 Use -Werror in debug mode for most warnings
+ silence some warnings
2014-08-18 12:37:19 +02:00

26 lines
315 B
Bash
Executable File

#! /bin/sh
set -e
[ -d m4 ] || mkdir m4
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
cd $srcdir
aclocal
autoheader
autoconf
CONFIGURE_OPTS="--enable-gpl"
if [ -n "$DEBUG" ]; then
CONFIGURE_OPTS="$CONFIGURE_OPTS --enable-debug"
fi
$srcdir/configure $CONFIGURE_OPTS $@
cd $ORIGDIR