diff options
author | Paul Smith <psmith@gnu.org> | 1999-11-22 06:15:35 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 1999-11-22 06:15:35 +0000 |
commit | 217ca5d91098c0b6b704fe3d9806378dd5dcc698 (patch) | |
tree | 129b499338c05e6d58bd69e4bf31f42ef2ac9c4d /misc.c | |
parent | ebb733c0f9ab045b6fd6245df2baf2e87463e1bc (diff) | |
download | gunmake-217ca5d91098c0b6b704fe3d9806378dd5dcc698.tar.gz |
* Add new debugging output level selection feature.
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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, |