Ticket #1567: detect_debian_gl_header_location.2.diff

File detect_debian_gl_header_location.2.diff, 834 bytes (added by visit0r, 18 years ago)

Should now add the correct include path even if the opengl-vsync is not used.

  • configure

     
    21492149    CONFIG_OPENGL_VSYNC_LIBS="-lGL -lGLU"
    21502150fi
    21512151
     2152# Ubuntu Dapper installs NVIDIA GL headers to a weird location in order
     2153# not to overwrite the headers installed from Mesa, etc. We need to
     2154# add that path to include paths if that's the case.
     2155if test -d /usr/share/doc/nvidia-glx-dev/include; then
     2156    CONFIG_INCLUDEPATH="$CONFIG_INCLUDEPATH /usr/share/doc/nvidia-glx-dev/include"
     2157fi
     2158
     2159# Same for Debian Sid.
     2160if test -d /usr/share/nvidia/include/GL; then
     2161    CONFIG_INCLUDEPATH="$CONFIG_INCLUDEPATH /usr/share/nvidia/include"
     2162fi
     2163
    21522164if test x"$direct_fb" = x"yes" ; then
    21532165    direct_fb="no"
    21542166    if test x`which directfb-config 2> /dev/null` != x"" ; then