xenocara/util/makedepend/autogen.sh

18 lines
356 B
Bash
Raw Normal View History

2006-11-25 09:15:45 -07:00
#! /bin/sh
2019-12-24 05:14:28 -07:00
srcdir=`dirname "$0"`
2006-11-25 09:15:45 -07:00
test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
2019-12-24 05:14:28 -07:00
cd "$srcdir"
2006-11-25 09:15:45 -07:00
autoreconf -v --install || exit 1
2019-12-24 05:14:28 -07:00
cd "$ORIGDIR" || exit $?
git config --local --get format.subjectPrefix >/dev/null 2>&1 ||
git config --local format.subjectPrefix "PATCH util/makedepend"
2006-11-25 09:15:45 -07:00
2013-09-28 09:37:13 -06:00
if test -z "$NOCONFIGURE"; then
2019-12-24 05:14:28 -07:00
exec "$srcdir"/configure "$@"
2013-09-28 09:37:13 -06:00
fi