summaryrefslogtreecommitdiff
path: root/output.h
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2013-09-19 01:15:22 -0400
committerPaul Smith <psmith@gnu.org>2013-09-21 14:24:44 -0400
commit4120f91846f781ead7350f86c9614a19824450f5 (patch)
tree22d2d901aeaf39b23272204c583e59cc67b60b86 /output.h
parent30a5ee0d8551ea1879b0c7638f455d956456cee1 (diff)
downloadmake-4120f91846f781ead7350f86c9614a19824450f5.tar.gz
Don't write "Entering" every time we re-exec for remake makefiles.
Diffstat (limited to 'output.h')
-rw-r--r--output.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/output.h b/output.h
index 2bb1c39..1f0e2d7 100644
--- a/output.h
+++ b/output.h
@@ -22,10 +22,14 @@ struct output
};
extern struct output *output_context;
+extern unsigned int stdio_traced;
#define OUTPUT_SET(_new) do{ if ((_new)->syncout) output_context = (_new); }while(0)
#define OUTPUT_UNSET() do{ output_context = NULL; }while(0)
+#define OUTPUT_TRACED() do{ stdio_traced = 1; }while(0)
+#define OUTPUT_IS_TRACED() (!!stdio_traced)
+
FILE *output_tmpfile (char **, const char *);
/* Initialize and close a child output structure: if NULL do this program's