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

View File

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