[jhbuild] autotools: do not cache the configure command



commit 94727fb77bb4d60bbb874590dd059c92762e8d3a
Author: FrÃdÃric PÃters <fpeters 0d be>
Date:   Fri Oct 19 09:18:39 2012 +0200

    autotools: do not cache the configure command
    
    This is because we want it to update if there are changes to the jhbuildrc
    and the user chooses to reload the configuration.

 jhbuild/modtypes/autotools.py |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/jhbuild/modtypes/autotools.py b/jhbuild/modtypes/autotools.py
index 3e9bbff..eb6e401 100644
--- a/jhbuild/modtypes/autotools.py
+++ b/jhbuild/modtypes/autotools.py
@@ -98,9 +98,6 @@ class AutogenModule(MakeModule, DownloadableModule):
         This method may modify self.autogen_sh, if 'autogen.sh' doesn't exist.
         FIXME: bad idea to modify self.autogen_sh in a getter.
         '''
-        if self.configure_cmd is not None:
-            return self.configure_cmd
-
         srcdir = self.get_srcdir(buildscript)
         if self.autogen_sh == 'autogen.sh' and \
         not os.path.exists(os.path.join(srcdir, self.autogen_sh)):
@@ -161,7 +158,6 @@ class AutogenModule(MakeModule, DownloadableModule):
         # (GNOME #580272)
         if not '--exec-prefix' in template:
             cmd = cmd.replace('${exec_prefix}', vars['prefix'])
-        self.configure_cmd = cmd
         return cmd
 
     def skip_configure(self, buildscript, last_phase):



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]