Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
6ee2231d
Commit
6ee2231d
authored
Nov 22, 2010
by
Adam Martinson
Committed by
Alexandre Julliard
Nov 24, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Add a check for xmlSchemaSetParserStructuredErrors().
parent
f3678ec1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
0 deletions
+47
-0
configure
configure
+42
-0
configure.ac
configure.ac
+2
-0
config.h.in
include/config.h.in
+3
-0
No files found.
configure
View file @
6ee2231d
...
@@ -9202,6 +9202,48 @@ $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
...
@@ -9202,6 +9202,48 @@ $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
fi
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for xmlSchemaSetParserStructuredErrors in -lxml2"
>
&5
$as_echo_n
"checking for xmlSchemaSetParserStructuredErrors in -lxml2... "
>
&6
;
}
if
test
"
${
ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
+set
}
"
=
set
;
then
:
$as_echo_n
"(cached) "
>
&6
else
ac_check_lib_save_LIBS
=
$LIBS
LIBS
=
"-lxml2
$ac_xml_libs
$LIBS
"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char xmlSchemaSetParserStructuredErrors ();
int
main ()
{
return xmlSchemaSetParserStructuredErrors ();
;
return 0;
}
_ACEOF
if
ac_fn_c_try_link
"
$LINENO
"
;
then
:
ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=
yes
else
ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=
no
fi
rm
-f
core conftest.err conftest.
$ac_objext
\
conftest
$ac_exeext
conftest.
$ac_ext
LIBS
=
$ac_check_lib_save_LIBS
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
"
>
&5
$as_echo
"
$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
"
>
&6
;
}
if
test
"x
$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
"
=
x
""
yes
;
then
:
$as_echo
"#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1"
>>
confdefs.h
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for xmlSchemaSetValidStructuredErrors in -lxml2"
>
&5
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for xmlSchemaSetValidStructuredErrors in -lxml2"
>
&5
$as_echo_n
"checking for xmlSchemaSetValidStructuredErrors in -lxml2... "
>
&6
;
}
$as_echo_n
"checking for xmlSchemaSetValidStructuredErrors in -lxml2... "
>
&6
;
}
if
test
"
${
ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
+set
}
"
=
set
;
then
:
if
test
"
${
ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
+set
}
"
=
set
;
then
:
...
...
configure.ac
View file @
6ee2231d
...
@@ -1119,6 +1119,8 @@ then
...
@@ -1119,6 +1119,8 @@ then
[AC_DEFINE(HAVE_XMLREADMEMORY,1,[Define if libxml2 has the xmlReadMemory function])],,$ac_xml_libs)
[AC_DEFINE(HAVE_XMLREADMEMORY,1,[Define if libxml2 has the xmlReadMemory function])],,$ac_xml_libs)
AC_CHECK_LIB(xml2, xmlNewDocPI,
AC_CHECK_LIB(xml2, xmlNewDocPI,
[AC_DEFINE(HAVE_XMLNEWDOCPI,1,[Define if libxml2 has the xmlNewDocPI function])],,$ac_xml_libs)
[AC_DEFINE(HAVE_XMLNEWDOCPI,1,[Define if libxml2 has the xmlNewDocPI function])],,$ac_xml_libs)
AC_CHECK_LIB(xml2, xmlSchemaSetParserStructuredErrors,
[AC_DEFINE(HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS,1,[Define if libxml2 has the xmlSchemaSetParserStructuredErrors function])],,$ac_xml_libs)
AC_CHECK_LIB(xml2, xmlSchemaSetValidStructuredErrors,
AC_CHECK_LIB(xml2, xmlSchemaSetValidStructuredErrors,
[AC_DEFINE(HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS,1,[Define if libxml2 has the xmlSchemaSetValidStructuredErrors function])],,$ac_xml_libs)
[AC_DEFINE(HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS,1,[Define if libxml2 has the xmlSchemaSetValidStructuredErrors function])],,$ac_xml_libs)
AC_CHECK_LIB(xml2, xmlFirstElementChild,
AC_CHECK_LIB(xml2, xmlFirstElementChild,
...
...
include/config.h.in
View file @
6ee2231d
...
@@ -1117,6 +1117,9 @@
...
@@ -1117,6 +1117,9 @@
/* Define if libxml2 has the xmlReadMemory function */
/* Define if libxml2 has the xmlReadMemory function */
#undef HAVE_XMLREADMEMORY
#undef HAVE_XMLREADMEMORY
/* Define if libxml2 has the xmlSchemaSetParserStructuredErrors function */
#undef HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS
/* Define if libxml2 has the xmlSchemaSetValidStructuredErrors function */
/* Define if libxml2 has the xmlSchemaSetValidStructuredErrors function */
#undef HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS
#undef HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment