build: Only run cmocka tests if cmocka 1.0 or newer is available Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
BUILD: Use pkg-config to detect cmocka
Detect the presence of libcmocka during configure