libxml.m4: Fix "possibly undefined macro" error

See #527.
This commit is contained in:
Nick Wellnhofer 2023-04-30 13:16:12 +02:00
parent fdc9cfaa14
commit 3da0931811

View File

@ -2,7 +2,7 @@ dnl AM_PATH_XML2([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
dnl Test for XML, and define XML_CPPFLAGS and XML_LIBS
dnl
AC_DEFUN([AM_PATH_XML2],[
AC_MSG_WARN([[AM_PATH_XML2 is deprecated, use PKG_CHECK_MODULES instead]])
m4_warn([obsolete], [AM_PATH_XML2 is deprecated, use PKG_CHECK_MODULES instead])
AC_REQUIRE([PKG_PROG_PKG_CONFIG])
verdep=ifelse([$1], [], [], [">= $1"])