autogen.sh-install

===================================================================

Gbp-Pq: Name autogen.sh-install
This commit is contained in:
Debian X Strike Force 2022-05-14 01:31:14 +08:00 committed by openKylinBot
parent bcb2f892d3
commit 8f86624ac0
1 changed files with 17 additions and 0 deletions

17
autogen.sh Normal file
View File

@ -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 libXRes"
if test -z "$NOCONFIGURE"; then
exec "$srcdir"/configure "$@"
fi