summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: 8b8a3ab803e35814b5b244c9285ec55458d628b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
(
  cd "$srcdir" &&
  autoreconf --force -v --install
) || exit

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

test -n "$NOCONFIGURE" || exec "$srcdir/configure" "$@"