[jhbuild] autotools: restore autoreconf support
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] autotools: restore autoreconf support
- Date: Mon, 8 Jun 2015 11:12:29 +0000 (UTC)
commit 6593a2396cc24015d5bc0c902eca54aa55f8535d
Author: Maciek Borzecki <maciek borzecki gmail com>
Date: Fri Apr 24 13:11:37 2015 +0200
autotools: restore autoreconf support
Commit 62a9cd179b6de5e808f9a7b6b45625bec952c38b removed support for
automatically running 'autoreconf -if' whenever autogen-sh='autoreconf'
is used. The patch restores this functionality sans the bits that were
removed by the prior commit.
Signed-off-by: Maciek Borzecki <maciek borzecki gmail com>
https://bugzilla.gnome.org/show_bug.cgi?id=748409
jhbuild/modtypes/autotools.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/jhbuild/modtypes/autotools.py b/jhbuild/modtypes/autotools.py
index dcb6f41..78a2ff3 100644
--- a/jhbuild/modtypes/autotools.py
+++ b/jhbuild/modtypes/autotools.py
@@ -223,6 +223,10 @@ class AutogenModule(MakeModule, DownloadableModule):
except:
pass
+ if self.autogen_sh == 'autoreconf':
+ buildscript.execute(['autoreconf', '-fi'], cwd=srcdir)
+ os.chmod(os.path.join(srcdir, 'configure'), 0755)
+
buildscript.execute(cmd, cwd = builddir, extra_env = self.extra_env)
do_configure.depends = [PHASE_CHECKOUT]
do_configure.error_phases = [PHASE_FORCE_CHECKOUT,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]