#!/bin/sh

srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.

ORIGDIR=`pwd`
cd $srcdir

autoreconf -v --install || exit 1
cd $ORIGDIR || exit $?

$srcdir/configure "$@"

#!/bin/sh

srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.

ORIGDIR=`pwd`
cd $srcdir

autoreconf -v --install || exit 1
cd $ORIGDIR || exit $?

if [ x$NOCONFIGURE = x ]; then
 $srcdir/configure "$@"
fi

Allow to not do configure with NOCONFIGURE
Allow to not do configure with NOCONFIGURE

Signed-off-by: Carsten Munk <4e44faebcaca4d7f6873872134e9be9c64d67d71@jollamobile.com>
