[jhbuild] Compare config.status not configure when skipping (GNOME bug 683624)



commit 242e950459102fd8808839f477e7f206e0ca4730
Author: Craig Keogh <cskeogh adam com au>
Date:   Tue Oct 30 14:16:45 2012 +1030

    Compare config.status not configure when skipping (GNOME bug 683624)
    
    Compare config.status not configure in autotool's skip_configure

 jhbuild/modtypes/autotools.py |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/jhbuild/modtypes/autotools.py b/jhbuild/modtypes/autotools.py
index 79aa11a..8f30a2f 100644
--- a/jhbuild/modtypes/autotools.py
+++ b/jhbuild/modtypes/autotools.py
@@ -204,8 +204,10 @@ class AutogenModule(MakeModule, DownloadableModule):
                     configsrc = path
                     break
             if configsrc is not None:
-                configure = os.path.join(srcdir, 'configure')
-                if self._file_exists_and_is_newer_than(configure, configsrc):
+                config_status = os.path.join(self.get_builddir(buildscript),
+                                             'config.status')
+                if self._file_exists_and_is_newer_than(config_status,
+                                                       configsrc):
                     return True
 
         return False



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