autogen.sh: Fix running out of tree

The autogen.sh script should be runnable out of tree. It's mostly
already the case, just one little tweak to make it work.

   $ mkdir build
   $ cd build
   $ ../autogen.sh --prefix=/usr

Closes: #1063
Approved by: cgwalters
This commit is contained in:
Stef Walter 2017-08-08 08:14:13 +02:00 committed by Atomic Bot
parent 6d861dd92d
commit 773154a513

View File

@ -28,7 +28,6 @@ else
gtkdocize
fi
cd $olddir
if ! test -f libglnx/README.md || ! test -f bsdiff/README.md; then
git submodule update --init
fi
@ -41,4 +40,5 @@ ln -sf ../libglnx/libglnx.m4 buildutil/libglnx.m4
autoreconf --force --install --verbose
cd $olddir
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"