You will need to re-run autoconf after applying this patch.
Mike
ChangeLog: * stub enough of MSVCRT40 to make IE4 install work
Index: configure.ac =================================================================== RCS file: /home/wine/wine/configure.ac,v retrieving revision 1.228 diff -u -r1.228 configure.ac --- configure.ac 9 Jan 2004 00:03:00 -0000 1.228 +++ configure.ac 12 Jan 2004 15:44:04 -0000 @@ -1547,6 +1560,7 @@ dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile +dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvideo/Makefile dlls/msvideo/msrle32/Makefile Index: dlls/Makefile.in =================================================================== RCS file: /home/wine/wine/dlls/Makefile.in,v retrieving revision 1.196 diff -u -r1.196 Makefile.in --- dlls/Makefile.in 2 Jan 2004 20:54:03 -0000 1.196 +++ dlls/Makefile.in 12 Jan 2004 15:44:04 -0000 @@ -68,6 +68,7 @@ msnet32 \ msvcrt \ msvcrt20 \ + msvcrt40 \ msvcrtd \ msvideo \ msvideo/msrle32 \ @@ -267,6 +268,7 @@ msrle32.dll$(DLLEXT) \ msvcrt.dll$(DLLEXT) \ msvcrt20.dll$(DLLEXT) \ + msvcrt40.dll$(DLLEXT) \ msvcrtd.dll$(DLLEXT) \ msvfw32.dll$(DLLEXT) \ mswsock.dll$(DLLEXT) \ @@ -555,6 +557,9 @@ msvcrt20.dll$(DLLEXT): msvcrt20/msvcrt20.dll$(DLLEXT) $(RM) $@ && $(LN_S) msvcrt20/msvcrt20.dll$(DLLEXT) $@ +msvcrt40.dll$(DLLEXT): msvcrt40/msvcrt40.dll$(DLLEXT) + $(RM) $@ && $(LN_S) msvcrt40/msvcrt40.dll$(DLLEXT) $@ + msvcrtd.dll$(DLLEXT): msvcrtd/msvcrtd.dll$(DLLEXT) $(RM) $@ && $(LN_S) msvcrtd/msvcrtd.dll$(DLLEXT) $@ @@ -850,6 +855,7 @@ libmsrle32 \ libmsvcrt \ libmsvcrt20 \ + libmsvcrt40 \ libmsvcrtd \ libmsvfw32 \ libmswsock \ @@ -1174,6 +1180,11 @@ libmsvcrt20.a: msvcrt20/msvcrt20.spec.def $(DLLTOOL) -k -l $@ -d msvcrt20/msvcrt20.spec.def +libmsvcrt40.def: msvcrt40/msvcrt40.spec.def + $(RM) $@ && $(LN_S) msvcrt40/msvcrt40.spec.def $@ +libmsvcrt40.a: msvcrt40/msvcrt40.spec.def + $(DLLTOOL) -k -l $@ -d msvcrt40/msvcrt40.spec.def + libmsvcrtd.def: msvcrtd/msvcrtd.spec.def $(RM) $@ && $(LN_S) msvcrtd/msvcrtd.spec.def $@ libmsvcrtd.a: msvcrtd/msvcrtd.spec.def @@ -1493,6 +1504,7 @@ msvideo/msrle32/msrle32.spec.def: $(WINEBUILD) msvcrt/msvcrt.spec.def: $(WINEBUILD) msvcrt20/msvcrt20.spec.def: $(WINEBUILD) +msvcrt40/msvcrt40.spec.def: $(WINEBUILD) msvcrtd/msvcrtd.spec.def: $(WINEBUILD) msvideo/msvfw32.spec.def: $(WINEBUILD) mswsock/mswsock.spec.def: $(WINEBUILD) @@ -1619,6 +1631,7 @@ msvideo/msrle32/msrle32.dll$(DLLEXT): msvideo/msrle32 msvcrt/msvcrt.dll$(DLLEXT): msvcrt msvcrt20/msvcrt20.dll$(DLLEXT): msvcrt20 +msvcrt40/msvcrt40.dll$(DLLEXT): msvcrt40 msvcrtd/msvcrtd.dll$(DLLEXT): msvcrtd msvideo/msvfw32.dll$(DLLEXT): msvideo mswsock/mswsock.dll$(DLLEXT): mswsock --- /dev/null 1994-07-18 08:46:18.000000000 +0900 +++ dlls/msvcrt40/Makefile.in 2004-01-13 01:05:46.000000000 +0900 @@ -0,0 +1,14 @@ +EXTRADEFS = -DUSE_MSVCRT_PREFIX +TOPSRCDIR = @top_srcdir@ +TOPOBJDIR = ../.. +SRCDIR = @srcdir@ +VPATH = @srcdir@ +MODULE = msvcrt40.dll +IMPORTS = msvcrt +EXTRALIBS = $(LIBUNICODE) + +C_SRCS = msvcrt40.c + +@MAKE_DLL_RULES@ + +### Dependencies: --- /dev/null 1994-07-18 08:46:18.000000000 +0900 +++ dlls/msvcrt40/.cvsignore 2004-01-13 01:06:02.000000000 +0900 @@ -0,0 +1,5 @@ +Makefile +msvcrt40.dll.dbg.c +msvcrt40.spec.c +msvcrt40.spec.def + --- /dev/null 1994-07-18 08:46:18.000000000 +0900 +++ dlls/msvcrt40/msvcrt40.c 2004-01-13 01:05:57.000000000 +0900 @@ -0,0 +1,5 @@ + +#include <stdarg.h> + +#include "windef.h" +#include "winbase.h" --- /dev/null 1994-07-18 08:46:18.000000000 +0900 +++ dlls/msvcrt40/msvcrt40.spec 2004-01-13 01:05:53.000000000 +0900 @@ -0,0 +1,23 @@ +@ cdecl _except_handler3(ptr ptr ptr ptr) msvcrt._except_handler3 +@ cdecl free(ptr) msvcrt.free +@ cdecl _initterm(ptr ptr) msvcrt._initterm +@ cdecl malloc(long) msvcrt.malloc +@ cdecl rand() msvcrt.rand +@ cdecl wcstombs(ptr ptr long) msvcrt.wcstombs +@ cdecl wcslen(wstr) msvcrt.wcslen +@ cdecl _strupr(str) msvcrt._strupr +@ cdecl wcscmp(wstr wstr) msvcrt.wcscmp +@ cdecl strncmp(str str long) msvcrt.strncmp +@ cdecl wcscpy(ptr wstr) msvcrt.wcscpy +@ cdecl strchr(str long) msvcrt.strchr +@ varargs sprintf(ptr str) msvcrt.sprintf +@ stub _strnir +@ cdecl _adjust_fdiv() msvcrt._adjust_fdiv +@ cdecl _strnicmp(str str long) msvcrt._strnicmp +@ cdecl _stricmp(str str) msvcrt._stricmp +@ cdecl toupper(long) msvcrt.toupper +@ cdecl tolower(long) msvcrt.tolower +@ cdecl mbstowcs(ptr str long) msvcrt.mbstowcs +@ cdecl ??3@YAXPAX@Z(ptr) msvcrt.??3@YAXPAX@Z +@ cdecl ??2@YAPAXI@Z(long) msvcrt.??2@YAPAXI@Z +