parameters: (cmd)
return_statement: return cmd.try_compile(body, None, None)
docstring: Return True if the C compiler is GCC 4.x.
docstring_summary: Return True if the C compiler is GCC 4.x.
docstring_tokens: Return True if the C compiler is GCC 4 . x .
function: def check_compiler_gcc4(cmd):
      """Return True if the C compiler is GCC 4.x."""
      cmd._check_compiler()
      body = """
  int
  main()
  {
  #ifndef __GNUC__ && (__GNUC__ >= 4)
  die in an horrible death
  #endif
  }
  """
      return cmd.try_compile(body, None, None)
function_tokens: def check_compiler_gcc4 ( cmd ) : cmd . _check_compiler ( ) body = """
  int
  main()
  {
  #ifndef __GNUC__ && (__GNUC__ >= 4)
  die in an horrible death
  #endif
  }
  """ return cmd . try_compile ( body , None , None )