code: def CheckLibWithHeader(context, libs, header, language,
                         call = None, autoadd = 1):
      # ToDo: accept path for library. Support system header files.
      
      prog_prefix, dummy = \
                   createIncludesFromHeaders(header, 0)
      if libs == []:
          libs = [None]
  
      if not SCons.Util.is_List(libs):
          libs = [libs]
  
      res = SCons.Conftest.CheckLib(context, libs, None, prog_prefix,
              call = call, language = language, autoadd = autoadd)
      context.did_show_result = 1
      return not res
docs: Another (more sophisticated) test for a library.
      Checks, if library and header is available for language (may be 'C'
      or 'CXX'). Call maybe be a valid expression _with_ a trailing ';'.
      As in CheckLib, we support library=None, to test if the call compiles
      without extra link flags.