Lines 6646-6658
if enabled x11; then
Link Here
|
6646 |
linux) |
6646 |
linux) |
6647 |
# Bah. Suse linux doesn't have xnvctrl. |
6647 |
# Systems without nvidia-drivers installed can not have XNVCtrl library |
6648 |
. /etc/os-release |
6648 |
if [[ -s "/proc/drivers/nvidia/version" ]] ; then |
6649 |
case $ID in |
6649 |
require XNVctrl "X11/Xlib.h NVCtrl/NVCtrl.h NVCtrl/NVCtrlLib.h" XNVCTRLIsNvScreen -lXNVCtrl || disable xnvctrl |
6650 |
*suse*) |
6650 |
else |
6651 |
# This is hopefully temporary. |
6651 |
disable xnvctrl_external |
6652 |
disable xnvctrl_external |
6652 |
fi |
6653 |
;; |
|
|
6654 |
*) |
6655 |
require XNVctrl "X11/Xlib.h NVCtrl/NVCtrl.h NVCtrl/NVCtrlLib.h" XNVCTRLIsNvScreen -lXNVCtrl || disable xnvctrl |
6656 |
;; |
6657 |
esac |
6658 |
;; |
6653 |
;; |