diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2022-11-06 19:15:47 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2022-11-06 19:15:47 +0000 |
commit | dc070a4a5c287f9645a2bec1f7e4afd215cad42d (patch) | |
tree | d084d2630f47345a9d2aba6b0a333bc13d0483ef /lib/xcb-util-keysyms/autogen.sh | |
parent | 39ff0cefaa624c0eda5d4c1c2ae940ca5c8710cb (diff) |
Update xcb-util-keysyms to version 0.4.1
Diffstat (limited to 'lib/xcb-util-keysyms/autogen.sh')
-rw-r--r-- | lib/xcb-util-keysyms/autogen.sh | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/lib/xcb-util-keysyms/autogen.sh b/lib/xcb-util-keysyms/autogen.sh index afe529980..f5a56d8e1 100644 --- a/lib/xcb-util-keysyms/autogen.sh +++ b/lib/xcb-util-keysyms/autogen.sh @@ -1,10 +1,10 @@ #! /bin/sh -srcdir=`dirname $0` +srcdir=`dirname "$0"` test -z "$srcdir" && srcdir=. ORIGDIR=`pwd` -cd $srcdir +cd "$srcdir" # If this is a git checkout, verify that the submodules are initialized, # otherwise autotools will just fail with an unhelpful error message. @@ -22,6 +22,11 @@ then fi autoreconf -v --install || exit 1 -cd $ORIGDIR || exit $? +cd "$ORIGDIR" || exit $? -$srcdir/configure --enable-maintainer-mode "$@" +git config --local --get format.subjectPrefix >/dev/null 2>&1 || + git config --local format.subjectPrefix "PATCH libxcb-keysyms" + +if test -z "$NOCONFIGURE"; then + exec "$srcdir"/configure "$@" +fi |