Signed-off-by: Damien Lespiau <damien.lespiau at intel.com> --- configure.ac | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac index ff7e779..832c6e4 100644 --- a/configure.ac +++ b/configure.ac @@ -109,6 +109,7 @@ AC_ARG_ENABLE(shader-debugger, AS_HELP_STRING([--enable-shader-debugger], # Shadder debugger depends on python3, intel-genasm and objcopy if test "x$BUILD_SHADER_DEBUGGER" != xno; then + # Check Python 3 is installed if test "$PYTHON" = ":" ; then if test "x$BUILD_SHADER_DEBUGGER" = xyes; then @@ -138,6 +139,9 @@ if test "x$BUILD_SHADER_DEBUGGER" != xno; then fi AM_CONDITIONAL(BUILD_SHADER_DEBUGGER, [test "x$BUILD_SHADER_DEBUGGER" != xno]) +AS_IF([test "x$BUILD_SHADER_DEBUGGER" != no], + [enable_debugger=yes], [enable_debugger=no]) + # ----------------------------------------------------------------------------- # To build multithread code, gcc uses -pthread, Solaris Studio cc uses -mt @@ -169,4 +173,5 @@ echo "Intel GPU tools" echo "" echo " ? Tools:" echo " Assembler: ${enable_assembler}" +echo " Debugger: ${enable_debugger}" echo "" -- 1.7.7.5