autogen.sh: fix broken out-of-source tree building
authorGaetan Nadon <memsize@videotron.ca>
Mon, 18 Nov 2013 20:15:58 +0000 (15:15 -0500)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 18 Nov 2013 23:36:09 +0000 (09:36 +1000)
The configure script is invoked from the build directory rather than
from the source directory.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
autogen.sh

index cf2c610..3a7c5eb 100755 (executable)
@@ -10,4 +10,4 @@ test -d m4 || mkdir m4
 autoreconf -fvi || exit $?
 
 cd "$olddir"
-test -n "$NOCONFIGURE" || ./configure "$@"
+test -n "$NOCONFIGURE" || $srcdir/configure "$@"