diff options
author | Keith Packard <keithp@keithp.com> | 2017-12-13 15:12:15 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-12-13 15:12:15 -0800 |
commit | a47194ddb31ab4f6b3f44b307b8a5aa3d9b76911 (patch) | |
tree | a0d8245acffaab14d0ec39d76ec1e7ff8adb3199 /x11proto/autogen.sh | |
parent | ab8666661fc68f075b8d6ffabe22c6b577c30ac1 (diff) |
Move common x11proto files out of the way
Diffstat (limited to 'x11proto/autogen.sh')
-rwxr-xr-x | x11proto/autogen.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/x11proto/autogen.sh b/x11proto/autogen.sh new file mode 100755 index 0000000..e622af6 --- /dev/null +++ b/x11proto/autogen.sh @@ -0,0 +1,17 @@ +#! /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 |