def check_lib (self, library, library_dirs=None,
                   headers=None, include_dirs=None, other_libraries=[]):
        self._check_compiler()
        return self.try_link("int main (void) { }",
                             headers, include_dirs,
                             [library]+other_libraries, library_dirs)
Determine if 'library' is available to be linked against,
dataset/ETHPy150Open babble/babble/include/jython/Lib/distutils/command/config.py/config.check_lib