[PATCH 2/8] config: Add a check/define for xmlFirstElementChild()

Adam Martinson amartinson at codeweavers.com
Thu Nov 11 15:05:35 CST 2010


---
 configure.ac |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 04ed14f..2e53d29 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1121,6 +1121,8 @@ then
                 [AC_DEFINE(HAVE_XMLNEWDOCPI,1,[Define if libxml2 has the xmlNewDocPI function])],,$ac_xml_libs)
              AC_CHECK_LIB(xml2, xmlSchemaSetValidStructuredErrors,
                 [AC_DEFINE(HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS,1,[Define if libxml2 has the xmlSchemaSetValidStructuredErrors function])],,$ac_xml_libs)
+             AC_CHECK_LIB(xml2, xmlFirstElementChild,
+                [AC_DEFINE(HAVE_XMLFIRSTELEMENTCHILD,1,[Define if libxml2 has the xmlFirstElementChild function])],,$ac_xml_libs)
              AC_CHECK_TYPE([xmlDocProperties],
                 [AC_DEFINE(HAVE_XMLDOC_PROPERTIES,1,[Define if libxml2 has the xmlDocProperties enum])],,[[#include <libxml/tree.h>]])
         ])
-- 
1.7.2.3


--------------040801080200040700060401--



More information about the wine-patches mailing list