Name

mk_check_library — Check for a library

Synopsis

MODULES="... compiler ..."

mk_check_library LIB=lib

Options

LIBDEPS=libs

Specifies any additional libraries might be needed in order to link against lib. Note that MakeKit will respect .la files when checking for linkability, so this is generally not necessary if the library in question was produced with MakeKit or libtool.

Description

Checks for the availability of a library, setting result to the result. If the library was found on the system, the result will be "external". If it is produced by mk_library within the current project, the result will be "internal". Otherwise, the result will be "no".