parameters: (self)
return_statement: return self._config_environment
docstring: Returns the ConfigEnvironment for the current build configuration.
  
          This property is only available once configure has executed.
  
          If configure's output is not available, this will raise.
docstring_summary: Returns the ConfigEnvironment for the current build configuration.
docstring_tokens: Returns the ConfigEnvironment for the current build configuration .
function: def config_environment(self):
          """Returns the ConfigEnvironment for the current build configuration.
  
          This property is only available once configure has executed.
  
          If configure's output is not available, this will raise.
          """
          if self._config_environment:
              return self._config_environment
  
          config_status = os.path.join(self.topobjdir, 'config.status')
  
          if not os.path.exists(config_status):
              raise BuildEnvironmentNotFoundException('config.status not available. Run configure.')
  
          self._config_environment = \
              ConfigEnvironment.from_config_status(config_status)
  
          return self._config_environment
function_tokens: def config_environment ( self ) : if self . _config_environment : return self . _config_environment config_status = os . path . join ( self . topobjdir , 'config.status' ) if not os . path . exists ( config_status ) : raise BuildEnvironmentNotFoundException ( 'config.status not available. Run configure.' ) self . _config_environment = ConfigEnvironment . from_config_status ( config_status ) return self . _config_environment