mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
build/find_xml.m4: Check for libxml2 via pkg-config then xml2-config
Debian is taking steps to remove xml2-config in favour of pkg-config. This means ModSecurity will build without libxml2 support by default on Debian, Ubuntu and other distributions tracking Debian packages. This patch modifies build/find_xml.m4 to check for libxml2 via pkg-config, falling back to xml2-config if necessary.
This commit is contained in:
@@ -30,6 +30,7 @@ AC_PROG_MAKE_SET
|
||||
AC_PROG_GREP
|
||||
AC_PATH_PROGS(PERL, [perl perl5], )
|
||||
AC_PATH_PROGS(ENV_CMD, [env printenv], )
|
||||
PKG_PROG_PKG_CONFIG
|
||||
|
||||
# Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
|
Reference in New Issue
Block a user