[jhbuild] autogen.sh: Allow running in non-srcdir
- From: Ting-Wei Lan <lantw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] autogen.sh: Allow running in non-srcdir
- Date: Tue, 7 Jun 2016 09:21:39 +0000 (UTC)
commit 88c7376e194fb18f6ff70b663d9dddd4309604b6
Author: Ting-Wei Lan <lantw src gnome org>
Date: Tue Jun 7 14:57:10 2016 +0800
autogen.sh: Allow running in non-srcdir
https://bugzilla.gnome.org/show_bug.cgi?id=767315
autogen.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 4b3624c..69d3099 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -173,8 +173,8 @@ configure_with_autotools()
set -x
- aclocal --install || exit 1
- autoreconf --verbose --force --install -Wno-portability || exit 1
+ ( cd "$srcdir" && aclocal --install ) || exit 1
+ ( cd "$srcdir" && autoreconf --verbose --force --install -Wno-portability ) || exit 1
if [ "$NOCONFIGURE" = "" ]; then
$srcdir/configure "$@" || exit 1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]