2007-09-16 11:02:03 -06:00
|
|
|
#! /bin/sh
|
|
|
|
|
2019-08-15 11:51:00 -06:00
|
|
|
srcdir=`dirname "$0"`
|
2007-09-16 11:02:03 -06:00
|
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
|
|
|
|
ORIGDIR=`pwd`
|
2019-08-15 11:51:00 -06:00
|
|
|
cd "$srcdir"
|
2007-09-16 11:02:03 -06:00
|
|
|
|
|
|
|
autoreconf -v --install || exit 1
|
2019-08-15 11:51:00 -06:00
|
|
|
cd "$ORIGDIR" || exit $?
|
|
|
|
|
|
|
|
git config --local --get format.subjectPrefix >/dev/null 2>&1 ||
|
|
|
|
git config --local format.subjectPrefix "PATCH app/xmodmap"
|
2007-09-16 11:02:03 -06:00
|
|
|
|
2015-05-10 04:22:11 -06:00
|
|
|
if test -z "$NOCONFIGURE"; then
|
2019-08-15 11:51:00 -06:00
|
|
|
exec "$srcdir"/configure "$@"
|
2015-05-10 04:22:11 -06:00
|
|
|
fi
|