mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 11:40:12 +01:00
Per discussion at XDC2015, we want this so we can easily distinguish
which module a patch is for. There's no way to set this in the
server-side config, so setting a default at autogen time is about the
best we can do.
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Adam Jackson <ajax@redhat.com>
(cherry picked from commit a722d617a0)
17 lines
340 B
Bash
Executable file
17 lines
340 B
Bash
Executable file
#! /bin/sh
|
|
|
|
srcdir=`dirname "$0"`
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
ORIGDIR=`pwd`
|
|
cd "$srcdir"
|
|
|
|
autoreconf --force -v --install || exit 1
|
|
cd "$ORIGDIR" || exit $?
|
|
|
|
git config --local --get format.subjectPrefix ||
|
|
git config --local format.subjectPrefix "PATCH xserver"
|
|
|
|
if test -z "$NOCONFIGURE"; then
|
|
exec "$srcdir"/configure "$@"
|
|
fi
|