From 19b9adda520daaec0a87f8d7c061e08cdf82fe6b Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Wed, 27 Nov 2013 17:25:58 -0800 Subject: [PATCH] autogen.sh: Support running from outside the source directory Initial steps towards supporting out-of-tree builds. --- autogen.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autogen.sh b/autogen.sh index 3aa140188..1e68a774a 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,3 +1,5 @@ #!/bin/sh set -e +srcdir="$(dirname $0)" +cd "$srcdir" autoreconf -vif