Mesa (master): autoconf: Tidy configure output for EGL.

Chia-I Wu olv at kemper.freedesktop.org
Sun Oct 31 13:24:02 UTC 2010


Module: Mesa
Branch: master
Commit: 1230050363cd30c457a64e51dac41f3471e87fc4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1230050363cd30c457a64e51dac41f3471e87fc4

Author: Chia-I Wu <olv at lunarg.com>
Date:   Sun Oct 31 21:01:54 2010 +0800

autoconf: Tidy configure output for EGL.

Prefix EGL driver names by "egl_".  Make it clear that EGL_CLIENT_APIS
is only used by egl_gallium.

---

 configure.ac |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/configure.ac b/configure.ac
index 53f938c..feb8c7f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1758,12 +1758,17 @@ echo ""
 echo "        EGL:             $enable_egl"
 if test "$enable_egl" = yes; then
     echo "        EGL platforms:   $EGL_PLATFORMS"
-    echo "        EGL drivers:     $EGL_DRIVERS_DIRS"
+
+    egl_drivers=""
+    for d in $EGL_DRIVERS_DIRS; do
+        egl_drivers="$egl_drivers egl_$d"
+    done
+
     if test "$enable_gallium" = yes -a "$HAVE_ST_EGL" = yes; then
-        echo "        EGL tracker:     yes"
-        echo "        EGL client APIs:$EGL_CLIENT_APIS"
+        echo "        EGL drivers:    ${egl_drivers} egl_gallium"
+        echo "        EGL Gallium STs:$EGL_CLIENT_APIS"
     else
-        echo "        EGL tracker:     no"
+        echo "        EGL drivers:    $egl_drivers"
     fi
 fi
 
@@ -1784,9 +1789,6 @@ if echo "$SRC_DIRS" | grep 'gallium' >/dev/null 2>&1; then
     echo "        Winsys dirs:     $GALLIUM_WINSYS_DIRS"
     echo "        Driver dirs:     $GALLIUM_DRIVERS_DIRS"
     echo "        Trackers dirs:   $GALLIUM_STATE_TRACKERS_DIRS"
-    if test "x$HAVE_ST_EGL" = xyes; then
-        echo "        EGL client APIs: $EGL_CLIENT_APIS"
-    fi
 else
     echo "        Gallium:         no"
 fi




More information about the mesa-commit mailing list