Browse files

mesa-lib: reworked notification logic

  • Loading branch information...
v4hn committed Nov 17, 2012
1 parent 8602a3e commit f7e2ae89c701aa9a1e02c21bf7eba006030dfdf3
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/mesa-lib/CONFIGURE
@@ -53,7 +53,7 @@ if ! grep -q "MESADRIVER=" $MODULE_CONFIG; then
set_module_config MESADRIVER "$MESADRIVER"
-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
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

0 comments on commit f7e2ae8

Please sign in to comment.