autogen.sh: fix broken out-of-source tree building

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>
This commit is contained in:
Gaetan Nadon 2013-11-18 15:15:58 -05:00 committed by Peter Hutterer
parent 4f0f1ca68c
commit 4184c153ec

View file

@ -10,4 +10,4 @@ test -d m4 || mkdir m4
autoreconf -fvi || exit $?
cd "$olddir"
test -n "$NOCONFIGURE" || ./configure "$@"
test -n "$NOCONFIGURE" || $srcdir/configure "$@"