Bug 11314

Summary: Fix build when XSLT_SUPPORT is not defined
Product: WebKit Reporter: Krzysztof Kowalczyk <kkowalczyk>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 420+   
Hardware: PC   
OS: OS X 10.4   
Attachments:
Description Flags
fix build when XSLT_SUPPORT is not defined
aroben: review-
fix unconditional use of XSLT timothy: review+

Description Krzysztof Kowalczyk 2006-10-16 07:24:27 PDT
Currently XSLT_SUPPORT is forced by WebCore\config.h, which defeats the purpose of having it configurable (should be passed from a Makefile) and one place unconditionally uses xslt support.
Comment 1 Krzysztof Kowalczyk 2006-10-16 07:26:27 PDT
Created attachment 11110 [details]
fix build when XSLT_SUPPORT is not defined

* remove #define XSLT_SUPPORT from WebCore\config.h, because it defeats the purpose of having it configurable (should be passed from a Makefile)
* fix on place in XMLTokenizer that was using xslt support unconditionally
Comment 2 Adam Roben (:aroben) 2006-10-16 14:17:35 PDT
Comment on attachment 11110 [details]
fix build when XSLT_SUPPORT is not defined

If you're going to make this change to config.h, you'll need to change the build configurations on Mac (at least).
Comment 3 Krzysztof Kowalczyk 2006-10-16 14:24:43 PDT
I can't do it since I have no access to Mac. I was hoping that a mac-owning commiter could do it.
Comment 4 Krzysztof Kowalczyk 2006-10-17 06:24:50 PDT
Created attachment 11123 [details]
fix unconditional use of XSLT

Updated the patch to not modify config.h. I would still like this change to be made but if submitting a change to xcode project files is a requirement for the patch, then unfortunately I can't do it because I don't have access to mac/xcode. For someone having an apple, it should be trivial.
Comment 5 Sam Weinig 2006-10-24 06:20:57 PDT
Landed in r17252.