xenocara/app/xpr/autogen.sh

18 lines
348 B
Bash
Raw Normal View History

2007-03-03 03:52:49 -07:00
#! /bin/sh
2018-05-21 12:08:21 -06:00
srcdir=`dirname "$0"`
2007-03-03 03:52:49 -07:00
test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
2018-05-21 12:08:21 -06:00
cd "$srcdir"
2007-03-03 03:52:49 -07:00
autoreconf -v --install || exit 1
2018-05-21 12:08:21 -06:00
cd "$ORIGDIR" || exit $?
2007-03-03 03:52:49 -07:00
2018-05-21 12:08:21 -06:00
git config --local --get format.subjectPrefix >/dev/null 2>&1 ||
git config --local format.subjectPrefix "PATCH app/xpr"
2007-03-03 03:52:49 -07:00
2018-05-21 12:08:21 -06:00
if test -z "$NOCONFIGURE"; then
exec "$srcdir"/configure "$@"
fi