From 217ca5d91098c0b6b704fe3d9806378dd5dcc698 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 22 Nov 1999 06:15:35 +0000 Subject: * Add new debugging output level selection feature. --- misc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'misc.c') diff --git a/misc.c b/misc.c index 2447bc5..6310f28 100644 --- a/misc.c +++ b/misc.c @@ -19,7 +19,7 @@ Boston, MA 02111-1307, USA. */ #include "make.h" #include "dep.h" - +#include "debug.h" /* Variadic functions. We go through contortions to allow proper function prototypes for both ANSI and pre-ANSI C compilers, and also for those @@ -168,7 +168,7 @@ remove_comments (line) *comment = '\0'; } -/* Print N spaces (used by DEBUGPR for target-depth). */ +/* Print N spaces (used in debug for target-depth). */ void print_spaces (n) @@ -643,7 +643,7 @@ static void log_access (flavor) char *flavor; { - if (! debug_flag) + if (! ISDB (DB_JOBS)) return; /* All the other debugging messages go to stdout, -- cgit v1.2.3