The problem with the SDL module is that the configure test doesn't find _main. I don't know why yet, but I have removed the kludge.
configure:1069: checking for SDL - version >= 1.2.0 configure:1190: /mnt/aphraelraid/home/peter/hack/Pike/7.4/build/windows_xp-5.1.2600-x86/smartlink rntcl -o conftest -I/usr/local/include -I/usr/X11R6/include -R/usr/local/lib -L/usr/local/lib -R/usr/X11R6/lib -L/usr/X11R6/lib conftest.c -lshell32 -lkernel32 -lws2_32 -ladvapi32 -lm -lsdl 1>&5 LIBCMT.lib(crt0.obj) : error LNK2001: unresolved external symbol _main conftest.exe : fatal error LNK1120: 1 unresolved externals CL returned error code 2.