summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBen Widawsky <benjamin.widawsky@intel.com>2014-01-02 19:33:57 -1000
committerBen Widawsky <benjamin.widawsky@intel.com>2014-01-02 20:10:01 -1000
commit01eeab94482de8c8fa687ffcfa95e5d32720909d (patch)
tree3950703b89d4fbe5ce880bc643d05405e5c2d047 /configure.ac
parent164d9d26ac33029287a24fbed549e3a2858d5d51 (diff)
configure.ac: Fix shader debugger for real
I tried to get fancy before, but ended up pushing something which I didn't test. Keep the thing simple and stupid, and just make it work. Reported-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 37f434e0..e6ea0f16 100644
--- a/configure.ac
+++ b/configure.ac
@@ -142,6 +142,7 @@ AC_ARG_ENABLE(shader-debugger, AS_HELP_STRING([--enable-shader-debugger],
if test "x$BUILD_SHADER_DEBUGGER" != xno; then
# Check that the assembler is built
if test "x$enable_assembler" = xno; then
+ BUILD_SHADER_DEBUGGER=no
if test "x$BUILD_SHADER_DEBUGGER" = xyes; then
AC_MSG_ERROR([Shader debugger requested, but assembler not enabled.])
fi
@@ -170,8 +171,6 @@ fi
AM_CONDITIONAL(BUILD_SHADER_DEBUGGER, [test "x$BUILD_SHADER_DEBUGGER" != xno])
AS_IF([test "x$BUILD_SHADER_DEBUGGER" != xno],
[enable_debugger=yes], [enable_debugger=no])
-AS_IF([test "x$enable_assembler" = xno],
- [enable_debugger=no], 1)
# -----------------------------------------------------------------------------