• Max Kellermann's avatar
    configure.ac: improved check for libyajl 1.0 · d7f80eab
    Max Kellermann authored
    If we have libyajl 2.0.1 (without a pkg-config file), our configure.ac
    would assume this is the libyajl 1.0 API, because the function
    yajl_alloc() exists in both.  This commit changes the library check to
    the function yajl_parse_complete() which was removed in the 2.0 API.
    This fixes build failure with libyajl 2.0.1.
    d7f80eab
configure.ac 49.1 KB