Name

mk_check_header — Check for a header

Synopsis

MODULES="... compiler ..."

mk_check_header HEADER=header

Options

HEADERDEPS=headers

Specifies additional headers which might be needed in order for header to be compilable. If a header has been determined to be unavailable by a previous mk_check_headers, it will be silently omitted from this list as a convenience.

Description

Checks for the availability of a system header and sets result to the result. If the header was found on the system, the result will be "external". If the header is provided by mk_headers within the current project, the result will be "internal". Otherwise, the result will be "no".