Add a standard autogen.sh script
This commit is contained in:
parent
a0bf5ae594
commit
97315cd612
1 changed files with 13 additions and 0 deletions
13
autogen.sh
Normal file
13
autogen.sh
Normal 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
|
Loading…
Add table
Reference in a new issue