xenocara/app/xinit/autogen.sh

18 lines
350 B
Bash
Raw Normal View History

2007-09-15 11:05:29 -06:00
#! /bin/sh
2018-05-21 11:05:09 -06:00
srcdir=`dirname "$0"`
2007-09-15 11:05:29 -06:00
test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
2018-05-21 11:05:09 -06:00
cd "$srcdir"
2007-09-15 11:05:29 -06:00
autoreconf -v --install || exit 1
2018-05-21 11:05:09 -06:00
cd "$ORIGDIR" || exit $?
git config --local --get format.subjectPrefix >/dev/null 2>&1 ||
git config --local format.subjectPrefix "PATCH app/xinit"
2007-09-15 11:05:29 -06:00
2015-01-25 04:37:57 -07:00
if test -z "$NOCONFIGURE"; then
2018-05-21 11:05:09 -06:00
exec "$srcdir"/configure "$@"
2015-01-25 04:37:57 -07:00
fi