diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2023-04-27 21:27:52 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2023-04-27 21:27:52 (GMT) |
commit | 25bac01127581767639a5bd9024c41eb803388fa (patch) | |
tree | a67cd5cdecbf001e788935e756fc722b7c552b9b /configure.ac | |
parent | a1ff7646ce6f829dd192e2e2246def2ea583e93b (diff) |
Replace the old YAML parser by another one relying on the external libyaml library.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 9e4375c..f4fe90b 100644 --- a/configure.ac +++ b/configure.ac @@ -489,6 +489,20 @@ if test "x$enable_curl_support" = "xyes"; then fi +#--- Checks for libyaml + +PKG_CHECK_MODULES(LIBYAML,yaml-0.1 >= 0.2.5,[libyaml_found=yes],[libyaml_found=no]) + +if test "$libyaml_found" = "yes"; then + libyaml_version=`pkg-config yaml-0.1 --modversion` +else + libyaml_version='-' +fi + +AC_SUBST(LIBYAML_CFLAGS) +AC_SUBST(LIBYAML_LIBS) + + #--- Checks for Python if test "x$enable_debug" = "xyes"; then @@ -740,6 +754,7 @@ echo The flexible interface for archives I/O...... : $libarchive_version echo The small, fast and reliable database engine. : $libsqlite_version echo The cryptography and SSL/TLS toolkit......... : $libssl_version echo The client URL library....................... : $libcurl_version +echo The YAML support library..................... : $libyaml_version echo echo Available Python programming language........ : $python3_version |