[jhbuild] Allow xml attribute autogen-sh to be autoreconf (GNOME bug 673202)
- From: Craig Keogh <cskeogh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] Allow xml attribute autogen-sh to be autoreconf (GNOME bug 673202)
- Date: Thu, 17 May 2012 12:08:16 +0000 (UTC)
commit b6c14402c8a4c55abc787e471e5b2e85a186e372
Author: Craig Keogh <cskeogh adam com au>
Date: Wed Apr 18 15:15:58 2012 +0930
Allow xml attribute autogen-sh to be autoreconf (GNOME bug 673202)
Allow autoreconf or any application.
jhbuild/modtypes/autotools.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/modtypes/autotools.py b/jhbuild/modtypes/autotools.py
index 98e1dad..3e5a51b 100644
--- a/jhbuild/modtypes/autotools.py
+++ b/jhbuild/modtypes/autotools.py
@@ -118,7 +118,8 @@ class AutogenModule(Package, DownloadableModule):
buildscript.set_action(_('Configuring'), self)
srcdir = self.get_srcdir(buildscript)
- if not os.path.exists(os.path.join(srcdir, self.autogen_sh)):
+ if self.autogen_sh == 'autogen.sh' and \
+ not os.path.exists(os.path.join(srcdir, self.autogen_sh)):
# if there is no autogen.sh, automatically fallback to configure
if os.path.exists(os.path.join(srcdir, 'configure')):
self.autogen_sh = 'configure'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]