configure --with-gl should use pkgconfig to find gtkglarea.h

I get:

    $ ../configure --with-gl
    ...
    checking OpenGL... checking for glBegin in -lGL... yes
    yes
    checking GLU... checking for gluNewTess in -lGLU... yes
    yes
    checking GTKGLAREA... configure: WARNING: Gtkglarea headers
(gktglarea.h) not found !!
    configure: WARNING: Disabling opengl build !

but:

    # rpm -ql gtkglarea2-devel
    /usr/include/gtkgl-2.0
    /usr/include/gtkgl-2.0/gtkgl
    /usr/include/gtkgl-2.0/gtkgl/gdkgl.h
    /usr/include/gtkgl-2.0/gtkgl/gtkglarea.h
    /usr/lib64/libgtkgl-2.0.a
    /usr/lib64/libgtkgl-2.0.so
    /usr/lib64/pkgconfig/gtkgl-2.0.pc


John

Received on Wednesday, 17 August 2005 07:21:30 UTC