   #endif
 + 
 + 
-+ extern int logNesting;
-Only in make-3.80: make.h~
++ extern int logNestingStdout;
++ extern int logNestingStderr;
 diff -rc make-3.80-orig/remake.c make-3.80/remake.c
 *** make-3.80-orig/remake.c	2002-08-08 02:11:19.000000000 +0200
---- make-3.80/remake.c	2004-03-18 22:27:04.000000000 +0100
+--- make-3.80/remake.c	2004-04-02 17:43:00.000000000 +0200
 ***************
 *** 1049,1055 ****
 --- 1049,1059 ----
         /* The normal case: start some commands.  */
         if (!touch_flag || file->cmds->any_recurse)
   	{
-+           message(0, "\e[pbuilding %s", file->name);
-+           logNesting++;
++           fprintf(stderr, "\e[pbuilding %s", file->name);
++           logNestingStderr++;
   	  execute_file_commands (file);
-+           printf("\e[q");
-+           logNesting--;
++           fprintf(stderr, "\e[q");
++           logNestingStderr--;
   	  return;
   	}
   
-Only in make-3.80: remake.c~

  main (argc, argv, envp)
***************
*** 854,859 ****
--- 864,871 ----
    no_default_sh_exe = 1;
  #endif
  

        if (entering)
***************
*** 2810,2813 ****
--- 2831,2840 ----
        else
          printf (_("%s[%u]: Leaving directory `%s'\n"),
                  program, makelevel, starting_directory);
