trace-cmd: Use pkg-config --atleast-version to check versions of libraries

When checking for libtraceevent and libtracefs, instead of using
pkg-config to simply check if the libraries exist, also make sure the
version for this build exists, as trace-cmd will start needing new
features from these libraries that are not yet implemented.

Link: https://lore.kernel.org/linux-trace-devel/20210406155856.7735875a@gandalf.local.home

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
1 file changed