Finally got WINE to build all the way through and run with the automake setup. Woo hoo! Had a little trouble with SO versions for all the dlls. Forgot they were accessed with dlopen(), not the dynamic loader, meaning that you can't keep changing the file name. Consequently, I had to strip out the -version-info linker flag from roughly 60 makefiles. Oh well. My own fault.
But hey, it works! I must admit I'm quite surprised. I didn't think automake/libtool would be up to the task, without some custom makefile hacking.