]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Detect xmllint at build time
authorMichał Kępień <michal@isc.org>
Sat, 25 Oct 2025 05:37:48 +0000 (07:37 +0200)
committerMichał Kępień <michal@isc.org>
Sat, 25 Oct 2025 06:01:46 +0000 (08:01 +0200)
Detect whether and where the xmllint utility is available at build time,
so that it can be used in system tests.  If the tool is not found,
specific checks employing it will be skipped.

(cherry picked from commit 85773d4d210f4497f93322da8005419a271058a7)

bin/tests/system/isctest/vars/.ac_vars/XMLLINT.in [new file with mode: 0644]
configure.ac

diff --git a/bin/tests/system/isctest/vars/.ac_vars/XMLLINT.in b/bin/tests/system/isctest/vars/.ac_vars/XMLLINT.in
new file mode 100644 (file)
index 0000000..9364f0f
--- /dev/null
@@ -0,0 +1 @@
+@XMLLINT@
index a60ba181f16d061d8109fc0670bf424c960a62a4..d403f37ef12f6c1fcad5c8c7d5c5e378d2708d10 100644 (file)
@@ -330,6 +330,7 @@ AM_CONDITIONAL([HAVE_PYTEST], [test -n "$PYTEST"])
 # Optional utilities, only used by system tests.
 #
 AC_PATH_PROG([JQ], [jq])
+AC_PATH_PROG([XMLLINT], [xmllint])
 AC_PATH_PROG([XSLTPROC], [xsltproc])
 
 #
@@ -1650,6 +1651,7 @@ AC_CONFIG_FILES([bin/tests/Makefile
                 bin/tests/system/isctest/vars/.ac_vars/PERL
                 bin/tests/system/isctest/vars/.ac_vars/CURL
                 bin/tests/system/isctest/vars/.ac_vars/NC
+                bin/tests/system/isctest/vars/.ac_vars/XMLLINT
                 bin/tests/system/isctest/vars/.ac_vars/XSLTPROC
                 bin/tests/system/isctest/vars/.ac_vars/PYTEST
                 bin/tests/system/dyndb/driver/Makefile