Check whether pkg-config is available on the local system
logical function assert_pkg_config() integer :: exitcode logical :: success type(string_t) :: log call run_wrapper(wrapper=string_t('pkg-config'),args=[string_t('-h')], & exitcode=exitcode,cmd_success=success,screen_output=log) assert_pkg_config = exitcode==0 .and. success end function assert_pkg_config