[ZPatterns] small ZPatterns bug with Zope 2.4

Steve Alexander steve@cat-box.net
Mon, 13 Aug 2001 17:30:04 +0100


Phillip J. Eby wrote:
 > At 07:34 PM 7/7/01 +0100, Steve Alexander wrote:
 >
 >> In Zope 2.4, the ExtensionClass.h file has moved into a src
 >> subdirectory.
 >>
 >> Therefore, the Setup file of ZPatterns needs to change from this:
 >>
 >> *shared* DynPersist DynPersist.c    -I../../ZODB \ 
-I../../../Components/ExtensionClass
 >>

 >>
 >> to this
 >>
 >> *shared* DynPersist DynPersist.c -I../../ZODB \ 
-I../../../Components/ExtensionClass/src
 >>

 >
 >
 > Checked into CVS, with a comment explaining the need to remove
 > "/src" if  using a Zope version <2.4.

I guess you could include both -I options in the setup file, and the 
same file would work for Zope 2.3 and Zope 2.4. Then again, I haven't 
tried this.

--
Steve Alexander