[Lunar-commits] <moonbase-xorg> Merge pull request #58 from v4hn/mesa-lib-configure

Auke Kok sofar+github at foo-projects.org
Sun Nov 18 20:47:18 CET 2012


commit a2df5b0d9a4a7c0cf2d94c7d8ec533468cb2d8ac
Author: Auke Kok <sofar+github at foo-projects.org>
Date: Sun, 18 Nov 2012 11:47:18 -0800
URL: https://github.com/lunar-linux/moonbase-xorg/commit/a2df5b0d9a4a7c0cf2d94c7d8ec533468cb2d8ac

Merge pull request #58 from v4hn/mesa-lib-configure

mesa-lib: make configure messages appear only when unconfigured
---
  lib/mesa-lib/CONFIGURE | +16/-12   
  1 file changed

--- a/lib/mesa-lib/CONFIGURE
+++ b/lib/mesa-lib/CONFIGURE
@@ -53,18 +53,20 @@ if ! grep -q "MESADRIVER=" $MODULE_CONFIG; then
   set_module_config MESADRIVER "$MESADRIVER"
 fi
 
-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"
-message ""
-message "Open Source Drivers:"
-message "If you build for Intel DRI-based hardware, disable Gallium, llvm and enable libva, xvmc."
-message "If you build for Intel CedarTrail or Poulsbo, enable Gallium, llvm, xvmc, vdpau."
-message "If you build for NVidia or Ati hardware, enable Gallium, llvm, xvmc, vdpau."
-message ""
-message "Binary / Proprietary Drivers:"
-message "If building the NVIDIA/fglrx binary driver, disable gallium, llvm, vdpau, xvmc."
-message "${DEFAULT_COLOR}"
+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"
+  message ""
+  message "Open Source Drivers:"
+  message "If you build for Intel DRI-based hardware, disable Gallium, llvm and enable libva, xvmc."
+  message "If you build for Intel CedarTrail or Poulsbo, enable Gallium, llvm, xvmc, vdpau."
+  message "If you build for NVidia or Ati hardware, enable Gallium, llvm, xvmc, vdpau."
+  message ""
+  message "Binary / Proprietary Drivers:"
+  message "If building the NVIDIA/fglrx binary driver, disable gallium, llvm, vdpau, xvmc."
+  message "${DEFAULT_COLOR}"
+fi
 
 mquery GALLIUM "Enable Gallium llvm renderer?" y "--enable-gallium-llvm" "--disable-gallium-llvm"
 
@@ -89,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