VirtualBox

source: vbox/trunk/src/libs/libxml2-2.13.2/libxml.m4@ 105448

Last change on this file since 105448 was 105420, checked in by vboxsync, 5 months ago

libxml2-2.12.6: Applied and adjusted our libxml2 changes to 2.12.6. bugref:10730

File size: 461 bytes
Line 
1dnl AM_PATH_XML2([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
2dnl Test for XML, and define XML_CPPFLAGS and XML_LIBS
3dnl
4AC_DEFUN([AM_PATH_XML2],[
5 m4_warn([obsolete], [AM_PATH_XML2 is deprecated, use PKG_CHECK_MODULES instead])
6 AC_REQUIRE([PKG_PROG_PKG_CONFIG])
7
8 verdep=ifelse([$1], [], [], [">= $1"])
9 PKG_CHECK_MODULES(XML, [libxml-2.0 $verdep], [$2], [$3])
10
11 XML_CPPFLAGS=$XML_CFLAGS
12 AC_SUBST(XML_CPPFLAGS)
13 AC_SUBST(XML_LIBS)
14])
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette