aboutsummaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2013-11-27 17:25:58 -0800
committerJosh Triplett <josh@joshtriplett.org>2013-11-27 17:25:58 -0800
commit19b9adda520daaec0a87f8d7c061e08cdf82fe6b (patch)
tree6d628719e831768e257cc00597ac6ff643f51d25 /autogen.sh
parent97d285ab513abb6d823e97e835a79a516fcced92 (diff)
autogen.sh: Support running from outside the source directory
Initial steps towards supporting out-of-tree builds.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 3aa1401886..1e68a774ad 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,3 +1,5 @@
#!/bin/sh
set -e
+srcdir="$(dirname $0)"
+cd "$srcdir"
autoreconf -vif