<option name="wxUSE_REGEX"/>
</if>
<if cond="FORMAT!='autoconf'">
- <set var="wxUSE_REGEX">builtin</set>
+ <set var="wxUSE_REGEX">
+ <!-- NB: regex lib doesn't compile on WinCE -->
+ <if cond="FORMAT=='msevc4prj'">no</if>
+ <if cond="FORMAT!='msevc4prj'">builtin</if>
+ </set>
</if>
<set var="LIB_REGEX">
<if cond="wxUSE_REGEX=='builtin'">wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(HOST_SUFFIX)</if>
<define>$(UNICODE_DEFINE)</define>
<dirname>$(LIBDIRNAME)</dirname>
<cflags-borland>-w-8008 -w-8012 -w-8057 -w-8064 -w-8066 -w-8070</cflags-borland>
+ <cflags-dmars>-w12</cflags-dmars>
<sources>
src/regex/regcomp.c
src/regex/regexec.c