]>
Commit | Line | Data |
---|---|---|
f9227dda MAL |
1 | #!/bin/sh |
2 | ||
3 | set -e # exit on errors | |
4 | ||
5 | srcdir=`dirname $0` | |
6 | test -z "$srcdir" && srcdir=. | |
7 | ||
8 | olddir=`pwd` | |
9 | cd "$srcdir" | |
10 | ||
eaa658cb SB |
11 | test ! -d m4 && mkdir m4 |
12 | ||
f9227dda MAL |
13 | autoreconf --verbose --force --install |
14 | ||
15 | cd "$olddir" | |
16 | if [ -z "$NOCONFIGURE" ]; then | |
17 | "$srcdir"/configure ${1+"$@"} | |
18 | fi |