For those of you who don't want to go around randomly moving or removing files at the request of configure scripts, I have found that
replacing the line
Code:
if test -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so
with
Code:
if test ! -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so
(negating the logic of the conditional)
allowed everything to run smoothly. I found this on configure:9406.

After doing this (cvs co on 15th February 2004) I did not run into the other problems with long comments etc.