xenocara/dist/libxcb/autogen.sh

18 lines
347 B
Bash
Raw Normal View History

#! /bin/sh
2024-07-12 14:44:09 +02:00
srcdir=`dirname "$0"`
test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
2024-07-12 14:44:09 +02:00
cd "$srcdir"
autoreconf -v --install || exit 1
2024-07-12 14:44:09 +02:00
cd "$ORIGDIR" || exit $?
git config --local --get format.subjectPrefix >/dev/null 2>&1 ||
git config --local format.subjectPrefix "PATCH libxcb"
if test -z "$NOCONFIGURE"; then
2024-07-12 14:44:09 +02:00
exec "$srcdir"/configure "$@"
fi