From 139dddae689f471c4380db60251137e2e0ad51ca Mon Sep 17 00:00:00 2001 From: Debian X Strike Force Date: Sat, 14 May 2022 01:28:00 +0800 Subject: [PATCH] autogen.sh-install =================================================================== Gbp-Pq: Name autogen.sh-install --- autogen.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 autogen.sh diff --git a/autogen.sh b/autogen.sh new file mode 100644 index 0000000..995ec58 --- /dev/null +++ b/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 libXcursor" + +if test -z "$NOCONFIGURE"; then + exec "$srcdir"/configure "$@" +fi