Re: Protect included headers with the proper autoconf macros

2005-08-10 Thread Jacek Caban
Hello. Vincent BĂ©ron wrote: Changelog: Protect headers with proper autoconf macros. Vincent Index: dlls/msxml3/msxml_private.h === RCS file:

Re: Protect included headers with the proper autoconf macros

2005-08-10 Thread Mike McCormack
-#ifdef HAVE_LIBXML2 - +#ifdef HAVE_LIBXML_PARSER_H #include libxml/parser.h +#endif + +#ifdef HAVE_LIBXML2 This patch causes the compile error for me. I have libxml2 headers but I don't have a library. XML2INCL is defined only if the configure script found library so gcc cannot find my

Re: Protect included headers with the proper autoconf macros

2005-08-10 Thread Jacek Caban
Mike McCormack wrote: This patch causes the compile error for me. I have libxml2 headers but I don't have a library. XML2INCL is defined only if the configure script found library so gcc cannot find my headers at compile time. If you want to change it, you'll have to change configure.ac as

Re: Protect included headers with the proper autoconf macros

2005-08-10 Thread Francois Gouget
On Wed, 10 Aug 2005, Jacek Caban wrote: [...] But it won't change anything as if HAVE_LIBXML2 is defined then HAVE_LIBXML_PARSER_H is defined too, so #ifdef HAVE_LIBXML_PARSER_H will be always true here. Yes but if you remove the #ifdef HAVE_LIBXML_PARSER_H check winapi_check will rightly

Re: Protect included headers with the proper autoconf macros

2005-08-10 Thread Jacek Caban
Francois Gouget wrote: On Wed, 10 Aug 2005, Jacek Caban wrote: [...] But it won't change anything as if HAVE_LIBXML2 is defined then HAVE_LIBXML_PARSER_H is defined too, so #ifdef HAVE_LIBXML_PARSER_H will be always true here. Yes but if you remove the #ifdef HAVE_LIBXML_PARSER_H check