Name

mk_check_program — Check for program on build system

Synopsis

MODULES="... program ..."

mk_check_program name

mk_check_program VAR=varname candidates...

Options

FAIL=yes|no

If set to yes, fails configuration if the program is not found. Defaults to no.

Description

Checks for an available program among a list of one or more candidates and sets a variable to the first one found.

When varname is unspecified, it is derived automatically from name.