Ticket #1567: detect_debian_gl_header_location.diff

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

patch against 0.19-fixes

  • configure

     
    20892089
    20902090if test x"$opengl_vsync" = x"yes" ; then
    20912091    CONFIG_OPENGL_VSYNC_LIBS="-lGL -lGLU"
     2092# Debian and Ubuntu install NVIDIA GL headers to a weird location in order
     2093# not to overwrite the headers installed from Mesa, etc. We need to
     2094# add that path to include paths if that's the case.
     2095    if test -d /usr/share/doc/nvidia-glx-dev/include; then
     2096        CONFIG_INCLUDEPATH="$CONFIG_INCLUDEPATH /usr/share/doc/nvidia-glx-dev/include"
     2097    fi
    20922098fi
    20932099
    20942100if test x"$direct_fb" = x"yes" ; then