A. Normal - 2013-12-13

Indeed, your config.log says libGL can't be found. I don't know where it's supposed to be found in Mac OS X, although autoconf is supposed to know where to look.

You should try to locate libgl.dylib and gl.h manually and add their directories to CFLAGS and LDFLAGS for configure, like this:

./configure CFLAGS=-I/directory/containing/gl.h/ LDFLAGS=-L/directory/containing/libgl.dylib

Also, your config.log says libarchive isn't installed. You should install it first if you want to use zipped ROMs.