blob: c8960971d248bce5a8d1f5fe149133bb498509ba [file] [log] [blame]
Dan Nicholson460d25d2008-03-07 12:04:17 -08001#! /bin/sh
2
3srcdir=`dirname "$0"`
4test -z "$srcdir" && srcdir=.
5
Dan Nicholson460d25d2008-03-07 12:04:17 -08006ORIGDIR=`pwd`
Matt Turner1b200d92012-08-01 14:11:31 -07007cd "$srcdir"
Benjamin Close17fe4782009-02-10 11:54:27 +10308
Emil Velikov30916a52015-03-09 11:46:07 +00009autoreconf --force --verbose --install || exit 1
10cd "$ORIGDIR" || exit $?
Dan Nicholson460d25d2008-03-07 12:04:17 -080011
Colin Walters4d515c22011-09-17 11:21:30 -040012if test -z "$NOCONFIGURE"; then
13 "$srcdir"/configure "$@"
14fi