#!/bin/sh


ORIGDIR=`pwd`
srcdir=`dirname $0`
[ -n "$srcdir" ] && cd $srcdir

[ ! -d m4 ] && mkdir m4
autoreconf -Wno-portability --force --install -I m4  ||  exit $?

cd $ORIGDIR
[ -z "$NO_CONFIGURE" ] && $srcdir/configure --enable-maintainer-mode "$@"

#!/bin/sh


ORIGDIR=`pwd`
srcdir=`dirname $0`
[ -n "$srcdir" ] && cd $srcdir

[ ! -d m4 ] && mkdir m4
autoreconf -Wno-portability --force --install -I m4  ||  exit $?

cd $ORIGDIR
if [ -z "$NO_CONFIGURE" ]
then
    $srcdir/configure --enable-maintainer-mode "$@"  ||  exit $?
fi

exit 0

Fix script exiting with error when NO_CONFIGURE was set.
Fix script exiting with error when NO_CONFIGURE was set.
