Originally committed to SVN as r2127.
only checks if the program links correctly, this way we can make functional programs to check for library sanity. Also disable the GL check until amz writes us a slice that uses gl.h/glext.h. Originally committed to SVN as r2117.
headers+libraries into runnable programs. Hopefully this will solve all the -dev package situations on Linux. Originally committed to SVN as r2113.