autogen.sh: Support running from outside the source directory

Initial steps towards supporting out-of-tree builds.
This commit is contained in:
Josh Triplett 2013-11-27 17:25:58 -08:00
parent 97d285ab51
commit 19b9adda52
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#!/bin/sh
set -e
srcdir="$(dirname $0)"
cd "$srcdir"
autoreconf -vif