http://bugs.winehq.org/show_bug.cgi?id=6463
------- Additional Comments From mike@codeweavers.com 2006-17-10 01:55 ------- Yeah, having to run configure twice would be a bug, unless your system changed somehow in between runs... eg. by doing an apt-get dist-upgrade.
Is libSM.so* present on your system at all? Try "locate libSM". How about libICE
Looking at configure, it seems that if the check for libICE assumes that if libICE is present, libSM is present too. This looks like a bug in autoconf to me.