Eric Anholt | 8c64183 | 2009-03-26 17:15:11 -0700 | [diff] [blame] | 1 | #! /bin/sh |
| 2 | |
Gaetan Nadon | a03ef7a | 2012-01-03 21:12:24 -0500 | [diff] [blame] | 3 | srcdir=`dirname $0` |
| 4 | test -z "$srcdir" && srcdir=. |
| 5 | |
| 6 | ORIGDIR=`pwd` |
| 7 | cd $srcdir |
| 8 | |
| 9 | autoreconf -v --install || exit 1 |
| 10 | cd $ORIGDIR || exit $? |
| 11 | |
Eric Anholt | eeeb304 | 2017-06-07 16:51:21 -0700 | [diff] [blame] | 12 | git config --local --get format.subjectPrefix >/dev/null 2>&1 || |
| 13 | git config --local format.subjectPrefix "PATCH i-g-t" |
| 14 | |
Tomeu Vizoso | 12fd590 | 2016-05-19 10:49:29 +0200 | [diff] [blame] | 15 | if test -z "$NOCONFIGURE"; then |
| 16 | $srcdir/configure "$@" |
| 17 | fi |