blob: 626d21334992a160241c02a78b0cb4dc7d5fceff [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
Dan Nicholson460d25d2008-03-07 12:04:17 -08009autoreconf -v --install || exit 1
Matt Turner1b200d92012-08-01 14:11:31 -070010cd $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