From d38091a9b8b91c86942b1655fd261025eea16c92 Mon Sep 17 00:00:00 2001
From: Mark Grondona <mgrondona@llnl.gov>
Date: Thu, 13 Jun 2002 17:59:14 +0000
Subject: [PATCH]  o rename "debug" var to "with_slurm_debug" to avoid conflict
 with autoconf    internal debug variable

---
 configure.ac | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index d39b39e8658..26b69acd383 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,20 +24,20 @@ AC_MSG_CHECKING(whether debug compilation of modules is enabled)
 AC_ARG_ENABLE(debug, 
   AC_HELP_STRING([--enable-debug],[Enable debugging of individual modules]),
   [ case "${enableval}" in
-     yes) debug=true ;;
-     no)  debug=false ;;
+     yes) with_slurm_debug=true ;;
+     no)  with_slurm_debug=false ;;
      *) AC_MSG_ERROR([bad value ${enableval} for --enable-debug]) ;;
     esac
   ]
 )
-AC_MSG_RESULT(${debug=no})
-if test "x$debug" = "xtrue"; then 
+AC_MSG_RESULT(${with_slurm_debug=no})
+if test "x$with_slurm_debug" = "xtrue"; then 
   CFLAGS="${CFLAGS--g -O2 -Wall -Wpointer-arith}"
   AC_DEFINE(DEBUG_SYSTEM, 1, [Define for extra debug messages.])
 else
   CFLAGS="${CFLAGS--g -O2 -Wall -Wpointer-arith}"
 fi
-AM_CONDITIONAL(DEBUG_MODULES, test "x$debug" = "xtrue")
+AM_CONDITIONAL(DEBUG_MODULES, test "x$with_slurm_debug" = "xtrue")
 #
 
 # check for whether to include Elan support:
-- 
GitLab