def check_include_file(include_dirs, filename, package):
 if (not has_include_file(include_dirs, filename)):
  raise CheckFailed(('The C/C++ header for %s (%s) could not be found.  You may need to install the development package.' % (package, filename)))

def check_include_file ( include_dirs , filename , package ) : if ( not has_include_file ( include_dirs , filename ) ) : raise CheckFailed ( ( 'The C/C++ header for %s (%s) could not be found.  You may need to install the development package.' % ( package , filename ) ) )
raises an exception if the given include file can not be found .