[Mesa-dev] [PATCH 2/2] configure.ac: refuse to build r300g without LLVM
Marek Olšák
maraeo at gmail.com
Thu Apr 21 04:39:59 PDT 2011
---
configure.ac | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index 8e9f73f..84a75c4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1778,6 +1778,11 @@ AC_ARG_ENABLE([gallium-r300],
[build gallium r300 @<:@default=disabled@:>@])],
[enable_gallium_r300="$enableval"],
[enable_gallium_r300=auto])
+if test "x$enable_gallium_r300" != xno; then
+ if test "x$MESA_LLVM" = x0; then
+ AC_MSG_ERROR([LLVM is required to build r300g])
+ fi
+fi
if test "x$enable_gallium_r300" = xauto; then
GALLIUM_DRIVERS_DIRS="$GALLIUM_DRIVERS_DIRS r300"
gallium_check_st "radeon/drm" "dri-r300"
--
1.7.4.1
More information about the mesa-dev
mailing list