[Mesa-dev] [PATCH] configure.ac: Make --without-gallium-drivers work as expected
Ian Romanick
idr at freedesktop.org
Wed Jun 22 11:38:15 PDT 2011
From: Ian Romanick <ian.d.romanick at intel.com>
---
configure.ac | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index c9dd8a7..76736c0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -562,6 +562,12 @@ AC_ARG_WITH([gallium-drivers],
[with_gallium_drivers="$withval"],
[with_gallium_drivers="$GALLIUM_DRIVERS_DEFAULT"])
+# Doing '--without-gallium-drivers' will set this variable to 'no'. Clear it
+# here so that the script doesn't choke on an unknown driver name later.
+if test "x$with_gallium_drivers" = "xno"; then
+ with_gallium_drivers=''
+fi
+
if test "x$enable_opengl" = xno -a \
"x$enable_gles1" = xno -a \
"x$enable_gles2" = xno -a \
--
1.7.5.4
More information about the mesa-dev
mailing list