Mesa (master): configure.ac: rename --enable-gallium-radeon to --enable-gallium-r300

Marek Olšák mareko at kemper.freedesktop.org
Tue Apr 19 03:31:40 PDT 2011


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

Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue Apr 19 12:28:51 2011 +0200

configure.ac: rename --enable-gallium-radeon to --enable-gallium-r300

Also fix up the help string for both r300 and r600.

---

 configure.ac |   17 ++++++++---------
 1 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/configure.ac b/configure.ac
index ddd8608..8989c2b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1773,16 +1773,15 @@ fi
 dnl
 dnl Gallium Radeon r300g configuration
 dnl
-AC_ARG_ENABLE([gallium-radeon],
-    [AS_HELP_STRING([--enable-gallium-radeon],
-        [build gallium radeon @<:@default=disabled@:>@])],
-    [enable_gallium_radeon="$enableval"],
-    [enable_gallium_radeon=auto])
-if test "x$enable_gallium_radeon" = xauto; then
+AC_ARG_ENABLE([gallium-r300],
+    [AS_HELP_STRING([--enable-gallium-r300],
+        [build gallium r300 @<:@default=disabled@:>@])],
+    [enable_gallium_r300="$enableval"],
+    [enable_gallium_r300=auto])
+if test "x$enable_gallium_r300" = xauto; then
     GALLIUM_DRIVERS_DIRS="$GALLIUM_DRIVERS_DIRS r300"
     gallium_check_st "radeon/drm" "dri-r300"
-fi
-if test "x$enable_gallium_radeon" = xyes; then
+elif test "x$enable_gallium_r300" = xyes; then
     GALLIUM_DRIVERS_DIRS="$GALLIUM_DRIVERS_DIRS r300"
     gallium_check_st "radeon/drm" "dri-r300" "xorg-radeon"
 fi
@@ -1792,7 +1791,7 @@ dnl Gallium Radeon r600g configuration
 dnl
 AC_ARG_ENABLE([gallium-r600],
     [AS_HELP_STRING([--enable-gallium-r600],
-        [build gallium radeon @<:@default=disabled@:>@])],
+        [build gallium r600 @<:@default=disabled@:>@])],
     [enable_gallium_r600="$enableval"],
     [enable_gallium_r600=auto])
 if test "x$enable_gallium_r600" = xyes; then



More information about the mesa-commit mailing list