autogen.sh 222 Bytes
Newer Older
1 2
#! /bin/sh

3
srcdir=`dirname "$0"`
4 5 6
test -z "$srcdir" && srcdir=.

ORIGDIR=`pwd`
7
cd "$srcdir"
8 9

autoreconf -v --install || exit 1
10
cd "$ORIGDIR" || exit $?
11

12
if test -z "$NOCONFIGURE"; then
13
    exec "$srcdir"/configure "$@"
14
fi