I just fetched fresh sources from CVS, and I see that acinclude.m4 is not
patched correctly for MinGW build.
I'll give an correct example:
*libwx_mswud-*)
LIBS="$LIBS ${WX_HOME}/lib/libwx_mswud_stc-${WX_VERSION}.a
${WX_HOME}/lib/libwx_mswud_xrc-${WX_VERSION}.a"
LIBS="$LIBS $WX_NEW_LDFLAGS"
LDFLAGS="$LDFLAGS -mwindows -Wl,--subsystem,windows"
In the current sources ${WX_HOME} and ${WX_VERSION} are typed like
$(WX_HOME) and $(WX_VERSION), with wrong kind of braces. On few places
WX_VERSION is typed as WX+VERSION.
Regards !