aboutsummaryrefslogtreecommitdiffstats
blob: d00309699754cb62a3ae00ff832173271a72c31e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /bin/sh

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

ORIGDIR=`pwd`
cd "$srcdir"

autoreconf --force --verbose --install || exit 1
cd "$ORIGDIR" || exit $?

git config --local --get format.subjectPrefix >/dev/null ||
    git config --local format.subjectPrefix "PATCH libdrm" 2>/dev/null

git config --local --get sendemail.to >/dev/null ||
    git config --local sendemail.to "dri-devel@lists.freedesktop.org" 2>/dev/null

if test -z "$NOCONFIGURE"; then
    "$srcdir"/configure "$@"
fi