parameters: (self, *k, **kw)
return_statement: return ret
docstring: Perform a configuration test by calling :py:func:`waflib.Tools.c_config.run_c_code`.
  	For the complete list of parameters, see :py:func:`waflib.Tools.c_config.validate_c`.
  	To force a specific compiler, prefer the methods :py:func:`waflib.Tools.c_config.check_cxx` or :py:func:`waflib.Tools.c_config.check_cc`
docstring_summary: Perform a configuration test by calling :py:func:`waflib.Tools.c_config.run_c_code`.
  	For the complete list of parameters, see :py:func:`waflib.Tools.c_config.validate_c`.
  	To force a specific compiler, prefer the methods :py:func:`waflib.Tools.c_config.check_cxx` or :py:func:`waflib.Tools.c_config.check_cc`
docstring_tokens: Perform a configuration test by calling : py : func : waflib . Tools . c_config . run_c_code . For the complete list of parameters see : py : func : waflib . Tools . c_config . validate_c . To force a specific compiler prefer the methods : py : func : waflib . Tools . c_config . check_cxx or : py : func : waflib . Tools . c_config . check_cc
function: def check(self, *k, **kw):
  	"""
  	Perform a configuration test by calling :py:func:`waflib.Tools.c_config.run_c_code`.
  	For the complete list of parameters, see :py:func:`waflib.Tools.c_config.validate_c`.
  	To force a specific compiler, prefer the methods :py:func:`waflib.Tools.c_config.check_cxx` or :py:func:`waflib.Tools.c_config.check_cc`
  	"""
  	self.validate_c(kw)
  	self.start_msg(kw['msg'])
  	ret = None
  	try:
  		ret = self.run_c_code(*k, **kw)
  	except self.errors.ConfigurationError:
  		self.end_msg(kw['errmsg'], 'YELLOW')
  		if Logs.verbose > 1:
  			raise
  		else:
  			self.fatal('The configuration failed')
  	else:
  		kw['success'] = ret
  
  	ret = self.post_check(*k, **kw)
  	if not ret:
  		self.end_msg(kw['errmsg'], 'YELLOW')
  		self.fatal('The configuration failed %r' % ret)
  	else:
  		self.end_msg(self.ret_msg(kw['okmsg'], kw))
  	return ret
function_tokens: def check ( self , * k , * * kw ) : self . validate_c ( kw ) self . start_msg ( kw [ 'msg' ] ) ret = None try : ret = self . run_c_code ( * k , * * kw ) except self . errors . ConfigurationError : self . end_msg ( kw [ 'errmsg' ] , 'YELLOW' ) if Logs . verbose > 1 : raise else : self . fatal ( 'The configuration failed' ) else : kw [ 'success' ] = ret ret = self . post_check ( * k , * * kw ) if not ret : self . end_msg ( kw [ 'errmsg' ] , 'YELLOW' ) self . fatal ( 'The configuration failed %r' % ret ) else : self . end_msg ( self . ret_msg ( kw [ 'okmsg' ] , kw ) ) return ret