Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / flatpak / respect-xml-catalog-files-var.patch
blob4cee60be2d07dab6bc2609c09aeb18ed43f862cd
1 diff --git a/acinclude.m4 b/acinclude.m4
2 index 92ec3985..b3fccf1d 100644
3 --- a/acinclude.m4
4 +++ b/acinclude.m4
5 @@ -40,8 +40,8 @@ AC_DEFUN([JH_CHECK_XML_CATALOG],
7 AC_REQUIRE([JH_PATH_XML_CATALOG],[JH_PATH_XML_CATALOG(,[:])])dnl
8 AC_MSG_CHECKING([for ifelse([$2],,[$1],[$2]) in XML catalog])
9 - if $jh_found_xmlcatalog && \
10 - AC_RUN_LOG([$XMLCATALOG --noout "$XML_CATALOG_FILE" "$1" >&2]); then
11 + # empty argument forces libxml to use XML_CATALOG_FILES variable
12 + if AC_RUN_LOG([$XMLCATALOG --noout "" "$1" >&2]); then
13 AC_MSG_RESULT([found])
14 ifelse([$3],,,[$3
15 ])dnl