xorg-xorgproto/autogen.sh
Keith Packard 1276412bbd Create shared build infrastructure
Signed-off-by: Keith Packard <keithp@keithp.com>
2017-12-13 15:40:56 -08: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 x11proto"
if test -z "$NOCONFIGURE"; then
exec "$srcdir"/configure "$@"
fi