Add a standard autogen.sh script

This commit is contained in:
Matthieu Herrb 2018-07-17 18:33:28 +02:00
parent a0bf5ae594
commit 97315cd612

13
autogen.sh Normal file
View file

@ -0,0 +1,13 @@
#! /bin/sh
srcdir=`dirname "$0"`
test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
cd "$srcdir"
autoreconf -v --install || exit 1
cd "$ORIGDIR" || exit $?
if test -z "$NOCONFIGURE"; then
exec "$srcdir"/configure "$@"
fi