pexecute.c (PEXECUTE_VERBOSE): Define.
authorDoug Evans <dje@gnu.org>
Wed, 26 Jun 1996 02:43:38 +0000 (02:43 +0000)
committerDoug Evans <dje@gnu.org>
Wed, 26 Jun 1996 02:43:38 +0000 (02:43 +0000)
* pexecute.c (PEXECUTE_VERBOSE): Define.
(MPW pexecute): Check flags & PEXECUTE_VERBOSE instead of verbose_flag.

From-SVN: r12333

gcc/pexecute.c

index 17bcbeaa1b2377041103768b5049ee0ad7202052..bce2071775611d211daf520768c3c7436437f806 100644 (file)
@@ -30,10 +30,11 @@ Boston, MA 02111-1307, USA.  */
 #include "config.h"
 #include "gansidecl.h"
 /* ??? Need to find a suitable header file.  */
-#define PEXECUTE_FIRST  1
-#define PEXECUTE_LAST   2
-#define PEXECUTE_ONE    (PEXECUTE_FIRST + PEXECUTE_LAST)
-#define PEXECUTE_SEARCH 4
+#define PEXECUTE_FIRST   1
+#define PEXECUTE_LAST    2
+#define PEXECUTE_ONE     (PEXECUTE_FIRST + PEXECUTE_LAST)
+#define PEXECUTE_SEARCH  4
+#define PEXECUTE_VERBOSE 8
 #else
 #include "libiberty.h"
 #endif
@@ -346,7 +347,7 @@ pexecute (program, argv, this_pname, temp_base, errmsg_fmt, errmsg_arg, flags)
   fputs ("If {Failed} == 0\n", stdout);
   /* If being verbose, output a copy of the command.  It should be
      accurate enough and escaped enough to be "clickable". */
-  if (verbose_flag)
+  if (flags & PEXECUTE_VERBOSE)
     {
       fputs ("\tEcho ", stdout);
       fputc ('\'', stdout);