summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: a01b11cbf712ead8bafd1b9c78c875fe35462b91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
# Run this to generate all the initial makefiles, etc.

srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.

pushd $srcdir
autoreconf -vif || exit 1

popd

if test -z "$NOCONFIGURE"; then
    $srcdir/configure "$@" && echo "Now type \`make' to compile" || exit 1
fi