On Thu, Nov 29, 2012 at 05:04:32PM -0500, Daniel Richard G. wrote:
> Building git master gives me the following error on Windows; the
> attached patch fixes it.
>
> icl /EP /nologo /I..\include /D "NOLIBTOOL" /D "_REENTRANT"
> libxml2.def.src > int.msvc\libxml2.def
> libxml2.def.src
> Z:\...\libxml2-git8123c4f6_debug\win32\../include/libxml/xmlversion.h(105):
> error: unrecognized token
> #if @WITH_THREAD_ALLOC@
> ^
> Z:\...\libxml2-git8123c4f6_debug\win32\../include/libxml/xmlversion.h(105):
> error: expected an expression
> #if @WITH_THREAD_ALLOC@
> ^
> Z:\...\libxml2-git8123c4f6_debug\win32\../include/libxml/xmlversion.h(105):
> error: unrecognized token
> #if @WITH_THREAD_ALLOC@
> ^
> NMAKE : fatal error U1077: 'icl' : return code '0x2'
> Stop.
>
>
> --Daniel
>
>
> --
> Daniel Richard G. || [email protected] || Software Developer
> Teragram Linguistic Technologies (a division of SAS)
> http://www.teragram.com/
> diff --git a/win32/configure.js b/win32/configure.js
> index 11d2898..edd943a 100644
> --- a/win32/configure.js
> +++ b/win32/configure.js
> @@ -305,6 +305,8 @@ function configureLibxml()
> of.WriteLine(s.replace(/\@WITH_TRIO\@/, withTrio? "1" :
> "0"));
> } else if (s.search(/\@WITH_THREADS\@/) != -1) {
> of.WriteLine(s.replace(/\@WITH_THREADS\@/, withThreads
> == "no"? "0" : "1"));
> + } else if (s.search(/\@WITH_THREAD_ALLOC\@/) != -1) {
> + of.WriteLine(s.replace(/\@WITH_THREAD_ALLOC\@/, "0"));
> } else if (s.search(/\@WITH_FTP\@/) != -1) {
> of.WriteLine(s.replace(/\@WITH_FTP\@/, withFtp? "1" :
> "0"));
> } else if (s.search(/\@WITH_HTTP\@/) != -1) {
makes sense, pushed,
thanks !
daniel
--
Daniel Veillard | Open Source and Standards, Red Hat
[email protected] | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | virtualization library http://libvirt.org/
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
[email protected]
https://mail.gnome.org/mailman/listinfo/xml