aboutsummaryrefslogtreecommitdiff
path: root/autogen.sh
blob: 0e36e12fa7fdd1370fb555079a8610a3bb1ef8b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

test -z "$srcdir" && srcdir=$(dirname "$0")
test -z "$srcdir" && srcdir=.

cwd=$(pwd)
cd "$srcdir"

mkdir -p m4
autoreconf --verbose --force --install || exit $?

cd "$cwd"
"$srcdir/configure" $@