Edit: possible workaround: I used the command "make SYSTEM = darwin-x86_64" and it built well.But I still don't know why config.guess doesn't work.
Can you try the .tgz, rather than the .zip?
I had the same problem with the zip, the.tgz compiles successfully on 10.7.5.
I'll look into the .zip packaging to avoid DOS line endings for the UNIX-related build stuff. Thanks for the report.
fixed in git.
Fixed in GLEW 1.10.0
Thanks for the report.