Files
UltraGrid/autogen.sh
Martin Pulec 5ae7acdba0 Remove LDGM from UltraGrid sources
Added LDGM as a submodule.
2014-11-06 10:39:09 +01:00

30 lines
348 B
Bash
Executable File

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