1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-24 21:33:51 +03:00
libxml2/libxml.m4
Nick Wellnhofer e714f506e4 build: Stop installing libxml.m4
This file is deprecated and unmaintained. It will be kept in the source
tree for a while.
2024-06-15 20:14:03 +02:00

17 lines
529 B
Plaintext

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
dnl Deprecated and unmaintained. Use pkg-config or xslt-config.
dnl
AC_DEFUN([AM_PATH_XML2],[
m4_warn([obsolete], [AM_PATH_XML2 is deprecated, use PKG_CHECK_MODULES instead])
AC_REQUIRE([PKG_PROG_PKG_CONFIG])
verdep=ifelse([$1], [], [], [">= $1"])
PKG_CHECK_MODULES(XML, [libxml-2.0 $verdep], [$2], [$3])
XML_CPPFLAGS=$XML_CFLAGS
AC_SUBST(XML_CPPFLAGS)
AC_SUBST(XML_LIBS)
])