1 2 3 4 5 6
#MIN_CONFIG PKG_CHECK_MODULES(FT2, freetype2, have_ft2=yes, have_ft2=no) if test "x$have_ft2" = "xno"; then AC_MSG_ERROR([freetype2 library is needed but not found on our system]) fi