evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / fi / firewalld / respect-xml-catalog-files-var.patch
blob03a10121c6be153d8ce300301623bd20395e403f
1 --- a/m4/jh_path_xml_catalog.m4
2 +++ b/m4/jh_path_xml_catalog.m4
3 @@ -40,8 +40,8 @@ AC_DEFUN([JH_CHECK_XML_CATALOG],
5 AC_REQUIRE([JH_PATH_XML_CATALOG],[JH_PATH_XML_CATALOG(,[:])])dnl
6 AC_MSG_CHECKING([for ifelse([$2],,[$1],[$2]) in XML catalog])
7 - if $jh_found_xmlcatalog && \
8 - AC_RUN_LOG([$XMLCATALOG --noout "$XML_CATALOG_FILE" "$1" >&2]); then
9 + # empty argument forces libxml to use XML_CATALOG_FILES variable
10 + if AC_RUN_LOG([$XMLCATALOG --noout "" "$1" >&2]); then
11 AC_MSG_RESULT([found])
12 ifelse([$3],,,[$3
13 ])dnl