You wanted something which can tell you if gtk is installed and pkg-config does that job. (i.e. pkg-config --exists gtk4
)
You might consider switch to some sort of sane build system that does all this configure work for you, though.
You wanted something which can tell you if gtk is installed and pkg-config does that job. (i.e. pkg-config --exists gtk4
)
You might consider switch to some sort of sane build system that does all this configure work for you, though.