Revision d3fcbb16 configure
b/configure | ||
---|---|---|
2442 | 2442 |
#include <X11/Xlib.h> |
2443 | 2443 |
#include <GL/gl.h> |
2444 | 2444 |
#include <GL/glx.h> |
2445 |
int main(void) { return GL_VERSION != 0; }
|
|
2445 |
int main(void) { glBegin(0); glXQueryVersion(0,0,0); return 0; }
|
|
2446 | 2446 |
EOF |
2447 |
if compile_prog "" "-lGL" ; then |
|
2447 |
if compile_prog "" "-lGL -lX11" ; then
|
|
2448 | 2448 |
opengl=yes |
2449 | 2449 |
else |
2450 | 2450 |
if test "$opengl" = "yes" ; then |
Also available in: Unified diff