[Lunar-commits] <moonbase-xorg> mesa-lib: reworked notification logic

v4hn me at v4hn.de
Sat Nov 17 22:26:51 CET 2012


commit f7e2ae89c701aa9a1e02c21bf7eba006030dfdf3
Author: v4hn <me at v4hn.de>
Date: Sat, 17 Nov 2012 13:26:51 -0800
URL: https://github.com/lunar-linux/moonbase-xorg/commit/f7e2ae89c701aa9a1e02c21bf7eba006030dfdf3

mesa-lib: reworked notification logic
---
  lib/mesa-lib/CONFIGURE | +3/-1     
  1 file changed, 3 insertions(+), 1 deletion(-)

--- a/lib/mesa-lib/CONFIGURE
+++ b/lib/mesa-lib/CONFIGURE
@@ -53,7 +53,7 @@ if ! grep -q "MESADRIVER=" $MODULE_CONFIG; then
   set_module_config MESADRIVER "$MESADRIVER"
 fi
 
-if [[ -z "`get_module_config GALLIUM`" ]]; then
+if [[ -z "$(get_module_config CONFIGURED)" ]]; then
   message "${MESSAGE_COLOR}Gallium is an alternative to DRI and needed to do 3D acceleration on"
   message "nouveau, radeon(-hd), ati or Intel GMA (Poulsbo/Cedar Trail). However, Gallium is not"
   message "performing on Intel GENX graphics (Any onboard Corei3/5/7, G25/33/45, pinetrail gfx"
@@ -91,3 +91,5 @@ else
 fi
 mquery TEXTURE_FLOAT "Enable patented texture-float? (if this patent is valid in your country choose N)" n "--enable-texture-float" "--disable-texture-float"
 mquery ENABLE_GLX_TLS "Enable glx-tls? (lin -r xorg-server also)" y "--enable-glx-tls" "--disable-glx-tls"
+
+set_module_config CONFIGURED y




More information about the Lunar-commits mailing list