
9 May
2019
9 May
'19
9:59 a.m.
On Thu, 2019-05-09 at 13:31 +0200, Ján Tomko wrote:
+ PKG_CHECK_EXISTS([readline], [use_pkgconfig=1], [use_pkgconfig=0]) + + if test $use_pkgconfig = 1; then + dnl 2.0.3 was the version where the pkg-config file was first added + LIBVIRT_CHECK_PKG([YAJL], [yajl], [2.0.3]) + else + dnl SUSE SLE 12 and OpenSUSE Leap 42.3 still use 2.0.1 + dnl TODO: delete this in July 2020 + LIBVIRT_CHECK_LIB_ALT([YAJL], [yajl], + [yajl_tree_parse], [yajl/yajl_common.h]) + + fi
We're only concerned with YAJL 2 nowadays, so we should be able to use the non-ALT version of the macro here, right? Other than that, the change looks good. -- Andrea Bolognani / Red Hat / Virtualization