diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2016-03-21 15:38:07 +0000 |
---|---|---|
committer | Zeeshan Ali (Khattak) <zeeshanak@gnome.org> | 2016-03-22 12:32:51 +0000 |
commit | b754c05f344b9fb6cc15caf83e03465eb2ddf0b2 (patch) | |
tree | e41143312d5e8af844d668d4a26b56fdcabb27d2 | |
parent | 4314baa8345620635ab24032dee271e3cecdc3b5 (diff) | |
download | geoclue-b754c05f344b9fb6cc15caf83e03465eb2ddf0b2.tar.gz |
build: Fix autogen.sh against builddir ≠ srcdir
When run from outside the srcdir, autogen.sh was failing because various
of the tools it calls expect to be called from within srcdir.
https://bugs.freedesktop.org/show_bug.cgi?id=94649
-rwxr-xr-x | autogen.sh | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -6,7 +6,10 @@ REQUIRED_AUTOMAKE_VERSION=1.9 srcdir=`dirname $0` test -z "$srcdir" && srcdir=. -mkdir -p m4 +olddir=$(pwd) + +cd $srcdir + PKG_NAME=GeoClue git submodule update --init --recursive @@ -14,6 +17,7 @@ gtkdocize autoreconf -v --force --install intltoolize -f +cd "$olddir" if [ -z "$NOCONFIGURE" ]; then "$srcdir"/configure --enable-maintainer-mode --enable-debug ${1+"$@"} fi |