2006-02-18 16:49:41 -08:00
|
|
|
#! /bin/sh
|
2007-04-11 17:23:44 +02:00
|
|
|
|
2015-03-09 12:00:52 +00:00
|
|
|
srcdir=`dirname "$0"`
|
2007-04-11 17:23:44 +02:00
|
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
|
|
|
|
|
|
ORIGDIR=`pwd`
|
2015-03-09 12:00:52 +00:00
|
|
|
cd "$srcdir"
|
2007-04-11 17:23:44 +02:00
|
|
|
|
2006-02-18 16:49:41 -08:00
|
|
|
autoreconf -v --install || exit 1
|
2015-03-09 12:00:52 +00:00
|
|
|
cd "$ORIGDIR" || exit $?
|
2007-04-11 17:23:44 +02:00
|
|
|
|
2017-01-26 13:52:49 +10:00
|
|
|
git config --local --get format.subjectPrefix >/dev/null 2>&1 ||
|
|
|
|
|
git config --local format.subjectPrefix "PATCH xcbproto"
|
|
|
|
|
|
2012-01-04 17:37:06 -05:00
|
|
|
if test -z "$NOCONFIGURE"; then
|
2015-03-09 12:00:52 +00:00
|
|
|
exec "$srcdir"/configure "$@"
|
2012-01-04 17:37:06 -05:00
|
|
|
fi
|