3 ifeq ($(shell $(PKG_CONFIG) --exists --print-errors $(PKGS) && echo ok),)
4 $(error PKGS not found)
7 CPPFLAGS += $(shell $(PKG_CONFIG) --cflags-only-I $(PKGS))
8 CFLAGS += $(shell $(PKG_CONFIG) --cflags-only-other $(PKGS))
9 LDFLAGS += $(shell $(PKG_CONFIG) --libs-only-other $(PKGS))
10 LIBS += $(shell $(PKG_CONFIG) --libs-only-L $(PKGS)) \
11 $(shell $(PKG_CONFIG) --libs-only-l $(PKGS))