http://bugs.winehq.org/show_bug.cgi?id=5991
------- Additional Comments From me@benjaminarai.com 2006-21-09 21:48 ------- After applying the patch you need to run "make_dlls" from dlls/ and "autoconf" from the wine top level directory. Then you can do ./configure && make depend && make.
Also, make sure you are using autoconf 2.60 or greater.