| 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. |
| 2155 | if test -d /usr/share/doc/nvidia-glx-dev/include; then |
| 2156 | CONFIG_INCLUDEPATH="$CONFIG_INCLUDEPATH /usr/share/doc/nvidia-glx-dev/include" |
| 2157 | fi |
| 2158 | |
| 2159 | # Same for Debian Sid. |
| 2160 | if test -d /usr/share/nvidia/include/GL; then |
| 2161 | CONFIG_INCLUDEPATH="$CONFIG_INCLUDEPATH /usr/share/nvidia/include" |
| 2162 | fi |
| 2163 | |