I also have experienced this problem. Its caused by having wine installed on
the system. Wine creates a gdi32.a which causes the system to think you have
both X and Windows.
the solution is 'configure --no-msw' which should allow you to configure.
Tyler Colbert
Senior Software Engineer
Saffire Corporation