xorg-xcbproto/autogen.sh
Mihail Konev 2386504947 autogen: add default patch prefix
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-07-24 14:39:55 -07:00

17 lines
349 B
Bash
Executable file

#! /bin/sh
srcdir=`dirname "$0"`
test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
cd "$srcdir"
autoreconf -v --install || exit 1
cd "$ORIGDIR" || exit $?
git config --local --get format.subjectPrefix >/dev/null 2>&1 ||
git config --local format.subjectPrefix "PATCH xcbproto"
if test -z "$NOCONFIGURE"; then
exec "$srcdir"/configure "$@"
fi