consistencyCheck always called?
In package.py: def configure(self): if self.download and not self.download[0] == 'redefine' and self.framework.argDB['download-'+self.downloadname.lower()]: self.framework.argDB['with-'+self.package] = 1 if 'with-'+self.package+'-dir' in self.framework.argDB or 'with-'+self.package+'-include' in self.framework.argDB or 'with-'+self.package+'-lib' in self.framework.argDB: self.framework.argDB['with-'+self.package] = 1 if hasattr(self, 'usePkgConfig') and 'with-'+self.package+'-pkg-config' in self.framework.argDB: self.framework.argDB['with-'+self.package] = 1 self.usePkgConfig() self.consistencyChecks() if self.framework.argDB['with-'+self.package]: # If clanguage is c++, test external packages with the c++ compiler self.libraries.pushLanguage(self.defaultLanguage) self.executeTest(self.configureLibrary) self.executeTest(self.checkSharedLibrary) self.libraries.popLanguage() else: self.executeTest(self.alternateConfigureLibrary) return Why does it do the consistency check even if the package is not being used?? Seems strange. Barry
participants (1)
-
Barry Smith