Last change
on this file since 104932 was 104106, checked in by vboxsync, 9 months ago |
libxml2-2.9.14: Applied and adjusted our libxml2 changes to 2.9.14. bugref:10640
|
File size:
461 bytes
|
Line | |
---|
1 | dnl AM_PATH_XML2([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
|
---|
2 | dnl Test for XML, and define XML_CPPFLAGS and XML_LIBS
|
---|
3 | dnl
|
---|
4 | AC_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.