diff mbox

[05/90] build: Add the debugger compilation status to the summary

Message ID 1359991705-5254-6-git-send-email-damien.lespiau@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Lespiau, Damien Feb. 4, 2013, 3:27 p.m. UTC
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
---
 configure.ac |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
diff mbox

Patch

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 ""