xorg-xorgproto/autogen.sh
Adam Jackson 88ae4ebf26 Fix module name in autogen.sh so patches get named right
Signed-off-by: Adam Jackson <ajax@redhat.com>
2018-01-16 12:17:14 -05:00

17 lines
350 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 xorgproto"
if test -z "$NOCONFIGURE"; then
exec "$srcdir"/configure "$@"
fi