Sun Jul 28 15:37:09 1996 Rob Tulloh (tulloh@tivoli.com)
[make.git] / ChangeLog
blob956837358fec1acd01e57e4683830201b0e7dd42
1 Thu Jul 25 19:53:31 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
3         * GNUmakefile (mkdep-nolib): Use -MM option unconditionally.
5         * Version 3.74.7.
7         * main.c (define_makeflags): Back up P to point at null terminator
8         when killing final space and dash before setting MFLAGS.
10         From Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>:
11         * dir.c [__MSDOS__] [DJGPP > 1]: Include <libc/dosio.h> and defin
12         `__opendir_flags' initialized to 0.
13         [__MSDOS__] (dosify) [DJGPP > 1]: Return name unchanged if _USE_LFN.
14         (find_directory) [__MSDOS__ && DJGPP > 1]: If _USE_LGN, set
15         __opendir_flags to __OPENDIR_PRESERVE_CASE.
17         * vmsfunctions.c (vms_stat): `sys$dassgn (DevChan);' added by kkaempf.
19         * GNUmakefile (win32files): Add NMakefile.
21         * NMakefile (LDFLAGS_debug): Value fixed by tulloh.
23 Sat Jul 20 12:32:10 1996  Klaus Kämpf (kkaempf@progis.de)
25         * remake.c (f_mtime) [VMS]: Add missing `if' conditional for future
26         modtime check.
27         * config.h-vms, makefile.vms, readme.vms, vmsify.c: Update address.
29 Sat Jul 20 05:29:43 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
31         * configure.in: Require autoconf 2.10 or later.
33 Fri Jul 19 16:57:27 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
35         * Version 3.74.6.
37         * GNUmakefile (win32files): New variable.
38         (distfiles): Add it.
39         * w32: Updated by Rob Tulloh.
41         * makefile.vms (LOADLIBES): Fix typo.
43 Sun Jul 14 12:59:27 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
45         * job.c (construct_command_argv_internal): Fix up #else, #endifs.
47         * configh.dos: Define HAVE_DIRENT_H instead of DIRENT.
49         * remake.c (f_mtime): Don't compare MTIME to NOW if MTIME == -1.
51         * Version 3.74.5.
53         * main.c (main): Exit with status 2 when update_goal_chain returns 2.
55 Sat Jun 22 14:56:05 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
57         * configure.in: Don't check for _sys_siglist.
58         * make.h [HAVE__SYS_SIGLIST]: Don't test this; just punt if there is
59         no strsignal or sys_siglist.
61         * read.c (conditional_line): Strip ws in `ifeq (a , b)' so it is the
62         same as `ifeq (a, b)'.
64         * job.c (reap_children): Don't call die if handling_fatal_signal.
66         * file.c (file_hash_enter): Allow renaming :: to : when latter is
67         non-target, or : to :: when former is non-target.
69         * job.c (start_job_command): Call block_sigs.
70         (block_sigs): New function, broken out of start_job_command.
71         (reap_children): Block fatal signals around removing dead child from
72         chain and adjusting job_slots_used.
73         * job.h: Declare block_sigs.
75         * remote-stub.c (remote_setup, remote_cleanup): New (empty) functions.
76         * main.c (main): Call remote_setup.
77         (die): Call remote_cleanup.
79         * job.c (reap_children): Quiescent value of shell_function_pid is
80         zero, not -1.
82         * main.c (print_version): Add 96 to copyright years.
84 Sat Jun 15 20:30:01 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
86         * read.c (find_char_unquote): Avoid calling strlen on every call
87         just to throw away the value most of the time.
89 Sun Jun  2 12:24:01 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
91         * main.c (decode_env_switches): Prepend '-' to ARGV[1] if it contains
92         no '=', regardless of ARGC.
93         (define_makeflags): Elide leading '-' from MAKEFLAGS value if first
94         word is short option, regardless of WORDS.
96 Wed May 22 17:24:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
98         * makefile.vms: Set LOADLIBES.
99         * makefile.com (link_using_library): Fix typo.
101 Wed May 15 17:37:26 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
103         * dir.c (print_dir_data_base): Use %ld dev and ino and cast them to
104         long.
106 Wed May 15 10:14:14 CDT 1996  Rob Tulloh  <tulloh@tivoli.com>
108         * dir.c: WIN32 does not support inode. For now, fully qualified
109         pathname along with st_mtime will be keys for files.
110         Fixed problem where vpath can be confused when files
111         are added to a directory after the directory has already been
112         read in. The code now attempts to reread the directory if it
113         discovers that the datestamp on the directory has changed since
114         it was cached by make. This problem only seems to occur on WIN32
115         right now so it is lumped under port #ifdef WIN32.
117         * function.c: WIN32: call subproc library (CreateProcess()) instead of
118         fork/exec.
120         * job.c: WIN32: Added the code to do fork/exec/waitpid style processing
121         on WIN32 systems via calls to subproc library.
123         * main.c: WIN32: Several things added here. First, there is code
124         for dealing with PATH and SHELL defaults. Make tries to figure
125         out if the user has %PATH% set in the environment and sets it to
126         %Path% if it is not set already. Make also looks to see if sh.exe
127         is anywhere to be found. Code path through job.c will change
128         based on existence of a working Bourne shell. The checking for
129         default shell is done twice: once before makefiles are read in
130         and again after. Fall back to MSDOS style execution mode if no sh.exe
131         is found. Also added some debug support that allows user to pause make
132         with -D switch and attach a debugger. This is especially useful for
133         debugging recursive calls to make where problems appear only in the
134         sub-make.
136         * make.h: WIN32: A few macros and header files for WIN32 support.
138         * misc.c: WIN32: Added a function end_of_token_w32() to assist
139         in parsing code in read.c.
141         * read.c: WIN32: Fixes similar to MSDOS which allow colon to
142         appear in filenames. Use of colon in filenames would otherwise
143         confuse make.
145         * remake.c: WIN32: Added include of io.h to eliminate compiler
146         warnings. Added some code to default LIBDIR if it is not set
147         on WIN32.
149         * variable.c: WIN32: Added support for detecting Path/PATH
150         and converting them to semicolon separated lists for make's
151         internal use. New function sync_Path_environment()
152         which is called in job.c and function.c before creating a new
153         process. Caller must set Path in environment since we don't
154         have fork() to do this for us.
156         * vpath.c: WIN32: Added detection for filenames containing
157         forward or backward slashes.
159         * NMakefile: WIN32: Visual C compatible makefile for use with nmake.
160         Use this to build GNU make the first time on Windows NT or Windows 95.
162         * README.WIN32: WIN32: Contains some helpful notes.
164         * build_w32.bat: WIN32: If you don't like nmake, use this the first
165         time you build GNU make on Windows NT or Windows 95.
167         * config.h.WIN32: WIN32 version of config.h
169         * subproc.bat: WIN32: A bat file used to build the
170         subproc library from the top-level NMakefile. Needed because
171         WIndows 95 (nmake) doesn't allow you to cd in a make rule.
173         * w32/include/dirent.h
174         * w32/compat/dirent.c: WIN32: opendir, readdir, closedir, etc.
176         * w32/include/pathstuff.h: WIN32: used by files needed functions
177         defined in pathstuff.c (prototypes).
179         * w32/include/sub_proc.h: WIN32: prototypes for subproc.lib functions.
181         * w32/include/w32err.h: WIN32: prototypes for w32err.c.
183         * w32/pathstuff.c: WIN32: File and Path/Path conversion functions.
185         * w32/subproc/build.bat: WIN32: build script for subproc library
186         if you don't wish to use nmake.
188         * w32/subproc/NMakefile: WIN32: Visual C compatible makefile for use
189         with nmake. Used to build subproc library.
191         * w32/subproc/misc.c: WIN32: subproc library support code
192         * w32/subproc/proc.h: WIN32: subproc library support code
193         * w32/subproc/sub_proc.c: WIN32: subproc library source code
194         * w32/subproc/w32err.c: WIN32: subproc library support code
196 Mon May 13 14:37:42 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
198         * Version 3.74.4.
200         * GNUmakefile (vmsfiles): Fix typo.
202         * GNUmakefile (amigafiles): Add amiga.h.
204 Sun May 12 19:19:43 1996  Aaron Digulla   <digulla@fh-konstanz.de>
206         * dir.c: New function: amigafy() to fold filenames
207         Changes HASH() to HASHI() to fold filenames on Amiga.
208         Stringcompares use strieq() instead of streq()
209         The current directory on Amiga is "" instead of "."
210         * file.c: Likewise.
212         * amiga.c: New function wildcard_expansion(). Allows to use
213         Amiga wildcards with $(wildcard )
215         * amiga.h: New file. Prototypes for amiga.c
217         * function.c: Use special function wildcard_expansion() for
218         $(wildcard ) to allow Amiga wildcards
219         The current directory on Amiga is "" instead of "."
221         * job.c: No Pipes on Amiga, too
222         (load_too_high) Neither on Amiga
223         ENV variable on Amiga are in a special directory and are not
224         passed as third argument to main().
226         * job.h: No envp on Amiga
228         * make.h: Added HASHI(). This is the same as HASH() but converts
229         it's second parameter to lowercase on Amiga to fold filenames.
231         * main.c: (main), variable.c Changed handling of ENV-vars. Make
232         stores now the names of the variables only and reads their contents
233         when they are accessed to reflect that these variables are really
234         global (ie. they CAN change WHILE make runs !) This handling is
235         made in lookup_variable()
237         * Makefile.ami: renamed file.h to filedep.h
238         Updated dependencies
240         * read.c: "find_semicolon" is declared as static but never defined.
241         No difference between Makefile and makefile on Amiga; added
242         SMakefile to *default_makefiles[].
243         (read_makefile) SAS/C want's two_colon and pattern_percent be set
244         before use.
245         The current directory on Amiga is "" instead of "."
246         Strange #endif moved.
248         * README.Amiga: updated feature list
250         * SMakefile: Updated dependencies
252         * variable.c: Handling of ENV variable happens inside lookup_variable()
254 Sat May 11 17:58:32 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
256         * variable.c (try_variable_definition): Count parens in lhs variable
257         refs to avoid seeing =/:=/+= inside a ref.
259 Thu May  9 13:54:49 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
261         * commands.c (fatal_error_signal) [SIGQUIT]: Make SIGQUIT check
262         conditional.
264         * main.c (main): Use unsigned for fread return.
266         * read.c (parse_file_seq): Use `int' for char arg to avoid widening
267         conflict issues.
268         * dep.h: Fix prototype.
270         * function.c (expand_function) [_AMIGA]: Fix some typos.
271         (patsubst_expand): Make len vars unsigned.
273         * GNUmakefile (globfiles): Add AmigaDOS support files.
274         (distfiles): Add $(amigafiles).
275         (amigafiles): New variable.
277 Thu Nov  7 10:18:16 1995  Aaron Digulla   <digulla@fh-konstanz.de>
279         * Added Amiga support in commands.c, dir.c, function.c,
280         job.c, main.c, make.h, read.c, remake.c
281         * commands.c: Amiga has neither SIGHUP nor SIGQUIT
282         * dir.c: Amiga has filenames with Upper- and Lowercase,
283         but "FileName" is the same as "filename". Added strieq()
284         which is use to compare filenames. This is like streq()
285         on all other systems. Also there is no such thing as
286         "." under AmigaDOS.
287         * function.c: On Amiga, the environment is not passed as envp,
288         there are no pipes and Amiga can't fork. Use my own function
289         to create a new child.
290         * job.c: default_shell is "" (The system automatically chooses
291         a shell for me). Have to use the same workaround as MSDOS for
292         running batch commands. Added HAVE_SYS_PARAM_H. NOFILE isn't
293         known on Amiga. Cloned code to run children from MSDOS. Own
294         version of sh_chars[] and sh_cmds[]. No dup2() or dup() on Amiga.
295         * main.c: Force stack to 20000 bytes. Read environment from ENV:
296         device. On Amiga, exec_command() does return, so I exit()
297         afterwards.
298         * make.h: Added strieq() to compare filenames.
299         * read.c: Amiga needs special extension to have passwd. Only
300         one include-dir. "Makefile" and "makefile" are the same.
301         Added "SMakefile".  Added special code to handle device names (xxx:)
302         and "./" in rules.
303         * remake.c: Only one lib-dir. Amiga link-libs are named "%s.lib"
304         instead of "lib%s.a".
305         * main.c, rule.c, variable.c: Avoid floats at all costs.
306         * vpath.c: Get rid of as many alloca()s as possible.
308 Thu May  9 13:20:43 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
310         * read.c (read_makefile): Grok `sinclude' as alias for `-include'.
312 Wed Mar 20 09:52:27 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>
314         * GNUmakefile (vmsfiles): New variable.
315         (distfiles): Include $(vmsfiles).
317 Tue Mar 19 20:21:34 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>
319         Merged VMS port from Klaus Kaempf <kkaempf@didymus.rmi.de>.
320         * make.h (PARAMS): New macro.
321         * config.h-vms: New file.
322         * makefile.com: New file.
323         * makefile.vms: New file.
324         * readme.vms: New file.
325         * vmsdir.h: New file.
326         * vmsfunctions.c: New file.
327         * vmsify.c: New file.
328         * file.h: Renamed to filedef.h to avoid conflict with VMS system hdr.
329         * ar.c: Added prototypes and changes for VMS.
330         * commands.c: Likewise.
331         * commands.h: Likewise.
332         * default.c: Likewise.
333         * dep.h: Likewise.
334         * dir.c: Likewise.
335         * expand.c: Likewise.
336         * file.c: Likewise.
337         * function.c: Likewise.
338         * implicit.c: Likewise.
339         * job.c: Likewise.
340         * job.h: Likewise.
341         * main.c: Likewise.
342         * make.h: Likewise.
343         * misc.c: Likewise.
344         * read.c: Likewise.
345         * remake.c: Likewise.
346         * remote-stub.c: Likewise.
347         * rule.c: Likewise.
348         * rule.h: Likewise.
349         * variable.c: Likewise.
350         * variable.h: Likewise.
351         * vpath.c: Likewise.
352         * compatMakefile (srcs): Rename file.h to filedef.h.
354 Sat Aug 19 23:11:00 1995  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
356         * remake.c (check_dep): For a secondary file, try implicit and
357         default rules if appropriate.
359 Wed Aug  2 04:29:42 1995  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
361         * remake.c (check_dep): If an intermediate file exists,
362         do consider its actual date.
364 Sun Jul 30 00:49:53 1995  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
366         * file.h (struct file): New field `secondary'.
367         * file.c (snap_deps): Check for .INTERMEDIATE and .SECONDARY.
368         (remove_intermediates): Don't delete .SECONDARY files.
370 Sat Mar  2 16:26:52 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>
372         * compatMakefile (srcs): Add getopt.h; prepend $(srcdir)/ to getopt*.
374 Fri Mar  1 12:04:47 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>
376         * Version 3.74.3.
378         * remake.c (f_mtime): Move future modtime check before FILE is
379         clobbered by :: loop.
381         * dir.c: Use canonical code from autoconf manual for dirent include.
382         [_D_NAMLEN]: Redefine NAMLEN using this.
383         (dir_contents_file_exists_p): Use NAMLEN macro.
384         (read_dirstream) [_DIRENT_HAVE_D_NAMLEN]: Only set d_namlen #if this.
386         * compatMakefile (objs): Add missing backslash.
388 Wed Feb 28 03:56:20 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>
390         * default.c (default_terminal_rules): Remove + prefix from RCS cmds.
391         (default_variables): Put + prefix in $(CHECKOUT,v) value instead.
393         * remake.c (f_mtime): Check for future timestamps; give error and mark
394         file as "failed to update".
396 Fri Jan 12 18:09:36 1996  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
398         * job.c: Don't declare unblock_sigs; job.h already does.
400 Sat Jan  6 16:24:44 1996  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
402         * acconfig.h (HAVE_SYSCONF_OPEN_MAX): #undef removed.
404         * job.c (NGROUPS_MAX): Don't try to define this macro.
406 Fri Dec 22 18:44:44 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
408         * compatMakefile (GETOPT, GETOPT_SRC, GLOB): Variables removed.
409         (objs, srcs): Include their values here instead of references.
411 Thu Dec 14 06:21:29 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
413         * Version 3.74.2.
415         * job.c (reap_children): Call unblock_sigs after start_job_command.
417 Thu Dec 14 07:22:03 1995  Roland McGrath  <roland@duality.gnu.ai.mit.edu>
419         * dir.c (dir_setup_glob): Don't use lstat; glob never calls it anyway.
420         Avoid & before function names to silence bogus sunos4 compiler.
422         * configure.in: Remove check for `sysconf (_SC_OPEN_MAX)'.
424 Tue Dec 12 00:48:42 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
426         * Version 3.74.1.
428         * dir.c (read_dirstream): Fix braino: fill in the buffer when not
429         reallocating it!
431 Mon Dec 11 22:26:15 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
433         * misc.c (collapse_continuations): Fix skipping of trailing \s so
434         it can never dereference before the beginning of the array.
436         * read.c (find_semicolon): Function removed.
437         (read_makefile): Don't use find_semicolon or remove_comments for
438         rule lines.  Use find_char_unquote directly and handle quoted comments
439         properly.
441         * default.c: Remove all [M_XENIX] code.
443         * dir.c [HAVE_D_NAMLEN]: Define this for __GNU_LIBRARY__ > 1.
444         (D_NAMLEN): Macro removed.
445         (FAKE_DIR_ENTRY): New macro.
446         (dir_contents_file_exists_p): Test HAVE_D_NAMLEN instead of using
447         D_NAMLEN.
448         (read_dirstream): Return a struct dirent * for new glob interface.
449         (init_dir): Function removed.
450         (dir_setup_glob): New function.
451         * main.c (main): Don't call init_dir.
452         * read.c (multi_glob): Call dir_setup_glob on our glob_t and use
453         GLOB_ALTDIRFUNC flag.
455         * misc.c (safe_stat): Function removed.
456         * read.c, commands.c, remake.c, vpath.c: Use plain stat instead of
457         safe_stat.
459 Sat Nov 25 20:35:18 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
461         * job.c [HAVE_UNION_WAIT]: Include sys/wait.h.
463         * main.c (log_working_directory): Made global.
464         Print entering msg only once.
465         * make.h (log_working_directory): Declare it.
466         * misc.c (message): Take new arg PREFIX.  Print "make: " only if
467         nonzero.  Call log_working_directory.
468         * remake.c: Pass new arg in `message' calls.
469         * job.c (start_job_command): Pass new arg to `message'; fix
470         inverted test in that call.
472 Tue Nov 21 19:01:12 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
474         * job.c (start_job_command): Use `message' to print the command,
475         and call it with null if the command is silent.
476         * remake.c (touch_file): Use message instead of printf.
478 Tue Oct 10 14:59:30 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
480         * main.c (enter_command_line_file): Barf if NAME is "".
482 Sat Sep  9 06:33:20 1995  Roland McGrath  <roland@whiz-bang.gnu.ai.mit.edu>
484         * commands.c (delete_target): Ignore unlink failure if it is ENOENT.
486 Thu Aug 17 15:08:57 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
488         * configure.in: Don't check for getdtablesize.
489         * job.c (getdtablesize): Remove decls and macros.
491 Thu Aug 10 19:10:03 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
493         * main.c (define_makeflags): Omit command line variable
494         definitions from MFLAGS value.
496         * arscan.c (ar_scan) [AIAMAG]: Check for zero MEMBER_OFFSET,
497         indicating a valid, but empty, archive.
499 Mon Aug  7 15:40:03 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
501         * dir.c (file_impossible_p): Correctly reset FILENAME to name
502         within directory before hash search.
504         * job.c (child_error): Do nothing if IGNORED under -s.
506         * job.c (exec_command): Correctly use ARGV[0] for script name when
507         running shell directly.
509 Tue Aug  1 14:39:14 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
511         * job.c (child_execute_job): Close STDIN_FD and STDOUT_FD after
512         dup'ing from them.  Don't try to close all excess descriptors;
513         getdtablesize might return a huge value.  Any open descriptors in
514         the parent should have FD_CLOEXEC set.
515         (start_job_command): Set FD_CLOEXEC flag on BAD_STDIN descriptor.
517 Tue Jun 20 03:47:15 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
519         * read.c (read_all_makefiles): Properly append default makefiles
520         to the end of the `read_makefiles' chain.
522 Fri May 19 16:36:32 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
524         * Version 3.74 released.
526 Wed May 10 17:43:34 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
528         * Version 3.73.3.
530 Tue May  9 17:15:23 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
532         * compatMakefile ($(infodir)/make.info): Make sure $$dir is set in
533         install-info cmd.
535 Wed May  3 15:56:06 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
537         * file.c (print_file): Grok update_status of 1 for -q.
539 Thu Apr 27 12:39:35 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
541         * Version 3.73.2.
543 Wed Apr 26 17:15:57 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
545         * file.c (remove_intermediates): Fix inverted test to bail under
546         -n for signal case.  Bail under -q or -t.
547         Skip files with update_status==-1.
549         * job.c (job_next_command): Skip empty lines.
550         (new_job): Don't test the return of job_next_command.
551         Just let start_waiting_job handle the case of empty commands.
553 Wed Apr 19 03:25:54 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
555         * function.c [__MSDOS__]: Include <fcntl.h>.  From DJ Delorie.
557         * Version 3.73.1.
559 Sat Apr  8 14:53:24 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
561         * remake.c (notice_finished_file): Set FILE->update_status to zero
562         if it's -1.
564 Wed Apr  5 00:20:24 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
566         * Version 3.73 released.
568 Tue Mar 28 13:25:46 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
570         * main.c (main): Fixed braino in assert.
572         * Version 3.72.13.
574 Mon Mar 27 05:29:12 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
576         * main.c: Avoid string in assert expression.  Some systems are broken.
578 Fri Mar 24 00:32:32 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
580         * main.c (main): Handle 1 and 2 returns from update_goal_chain
581         makefile run properly.
583         * Version 3.72.12.
585         * main.c (handle_non_switch_argument): New function, broken out of
586         decode_switches.
587         (decode_switches): Set optind to 0 to reinitialize getopt, not to 1.
588         When getopt_long returns EOF, break the loop and handle remaining args
589         with a simple second loop.
591         * remake.c (remake_file): Set update_status to 2 instead of 1 for
592         no rule to make.  Mention parent (dependent) in error message.
593         (update_file_1): Handle FILE->update_status == 2 in -d printout.
594         * job.c (start_job_command, reap_children): Set update_status to 2
595         instead of 1 for failed commands.
597 Tue Mar 21 16:23:38 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
599         * job.c (search_path): Function removed (was already #if 0'd out).
600         * configure.in: Remove AC_TYPE_GETGROUPS; nothing needs it any more.
602 Fri Mar 17 15:57:40 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
604         * configure.bat: Write @CPPFLAGS@ translation.
606 Mon Mar 13 00:45:59 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
608         * read.c (parse_file_seq): Rearranged `l(a b)' -> `l(a) l(b)' loop
609         to not skip the elt immediately preceding `l(...'.
611 Fri Mar 10 13:56:49 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
613         * Version 3.72.11.
615         * read.c (find_char_unquote): Make second arg a string of stop
616         chars instead of a single stop char.  Stop when any char in the
617         string is hit.  All callers changed.
618         (find_semicolon): Pass stop chars "#;" to one find_char_unquote call,
619         instead of using two calls.  If the match is not a ; but a #,
620         return zero.
621         * misc.c: Changed find_char_unquote callers here too.
623         * Version 3.72.10.
625         * read.c (read_makefile, parse_file_seq): Fix typo __MS_DOS__ ->
626         __MSDOS__.
628         * GNUmakefile (globfiles): Add glob/configure.bat.
629         (distfiles): Add configh.dos, configure.bat.
631 Wed Mar  8 13:10:57 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
633         Fixes for MS-DOS from DJ Delorie.
634         * read.c (read_makefile, parse_file_seq) [__MS_DOS__]: Don't see :
635         as separator in "C:\...".
636         * configh.dos (STDC_HEADERS): Define only if undefined.
637         (HAVE_SYS_PARAM_H): Don't define this.
638         (HAVE_STRERROR): Define this.
639         * job.c (construct_command_argv_internal) [__MSDOS__]: Fix typos.
641         * Version 3.72.9.
643         * main.c (decode_switches): Reset optind to 1 instead of 0.
645 Tue Mar  7 17:31:06 1995  Roland McGrath  <roland@geech.gnu.ai.mit.edu>
647         * main.c (decode_switches): If non-option arg is "-", ignore it.
649 Mon Mar  6 23:57:38 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
651         * Version 3.72.8.
653 Wed Feb 22 21:26:36 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
655         * Version 3.72.7.
657 Tue Feb 21 22:10:43 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
659         * main.c (main): Pass missing arg to tmpnam.
661         * configure.in: Check for strsignal.
662         * job.c (child_error): Use strsignal.
663         * main.c (main): Don't call signame_init #ifdef HAVE_STRSIGNAL.
665         * misc.c (strerror): Fix swapped args in sprintf.
667 Mon Feb 13 11:50:08 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
669         * configure.in (CFLAGS, LDFLAGS): Don't set these variables.
671 Fri Feb 10 18:44:12 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
673         * main.c (print_version): Add 95 to copyright years.
675         * Version 3.72.6.
677         * job.c (start_job_command): Remember to call notice_finished_file
678         under -n when not recursing.  To do this, consolidate that code
679         under the empty command case and goto there for the -n case.
681 Tue Feb  7 13:36:03 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
683         * make.h [! STDC_HEADERS]: Don't declare qsort.  Sun headers
684         declare it int.
686 Mon Feb  6 17:37:01 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
688         * read.c (read_makefile): For bogus line starting with tab, ignore
689         it if blank after removing comments.
691         * main.c: Cast results of `alloca' to `char *'.
692         * expand.c: Likewise.
694 Sun Feb  5 18:35:46 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
696         * Version 3.72.5.
698         * configure.in: Check for mktemp.
699         * main.c (main) [! HAVE_MKTEMP]: Use tmpnam instead of mktemp.
701         * configure.in (make_cv_sysconf_open_max): New check for `sysconf
702         (_SC_OPEN_MAX)'.
703         * acconfig.h: Added #undef HAVE_SYSCONF_OPEN_MAX.
704         * job.c [HAVE_SYSCONF_OPEN_MAX] (getdtablesize): Define as macro
705         using sysconf.
707 Fri Jan 27 04:42:09 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
709         * remake.c (update_file_1): When !MUST_MAKE, don't set
710         FILE->update_status to zero before calling notice_finished_file.
711         (notice_finished_file): Touch only when FILE->update_status is zero.
712         (remake_file): Set FILE->update_status to zero after not calling
713         execute_file_command and deciding to touch instead.
715 Thu Jan 26 01:29:32 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
717         * main.c (debug_signal_handler): New function; toggles debug_flag.
718         (main): Handle SIGUSR1 with that.
720 Mon Jan 16 15:46:56 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
722         * compatMakefile (realclean): Remove Info files.
724 Sun Jan 15 08:23:09 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
726         * Version 3.72.4.
728         * job.c (start_job_command): Save and restore environ around vfork
729         call.
730         (search_path): Function #if 0'd out.
731         (exec_command): Use execvp instead of search_path.
733         * expand.c (variable_expand): Rewrote computed variable name and
734         substitution reference handling to be simpler.  First expand the
735         entire text between the parens if it contains any $s, then examine
736         the result of that for subtitution references and do no further
737         expansion while parsing them.
739         * job.c (construct_command_argv_internal): Handle " quoting too,
740         when no backslash, $ or ` characters appear inside the quotes.
742         * configure.in (union wait check): If WEXITSTATUS and WTERMSIG are
743         defined, just use int.
745 Tue Jan 10 06:27:27 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
747         * default.c (default_variables) [__hpux]: Remove special
748         definition of ARFLAGS.  Existence of the `f' flag is not
749         consistent across HPUX versions; and one might be using GNU ar
750         anyway.
752         * compatMakefile (clean): Don't remove Info files.
754         * compatMakefile (check): Remove gratuitous target declaration.
756 Sat Jan  7 11:38:23 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
758         * compatMakefile (ETAGS, CTAGS): Don't use -t.
760         * arscan.c (ar_name_equal) [cray]: Subtract 1 like [__hpux].
762         * main.c (decode_switches): For --help, print usage to stdout.
764 Mon Dec  5 12:42:18 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
766         * Version 3.72.3.
768         * remake.c (update_file_1): Do set_command_state (FILE,
769         cs_not_started) only if old state was deps_running.
771 Mon Nov 28 14:24:03 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
773         * job.c (start_waiting_job): Use set_command_state.
775         * build.template (CPPFLAGS): New variable.
776         (prefix, exec_prefix): Set from @...@.
777         (compilation loop): Pass $CPPFLAGS to compiler.
779         * GNUmakefile (build.sh.in): Make it executable.
781         * GNUmakefile (globfiles): Add configure.in, configure.
783         * Version 3.72.2.
785         * configure.in (AC_OUTPUT): Don't write glob/Makefile.
787         * configure.in (AC_CHECK_SYMBOL): Use AC_DEFINE_UNQUOTED.
789         * configure.in: Don't check for ranlib.
791 Tue Nov 22 22:42:40 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
793         * remake.c (notice_finished_file): Only mark also_make's as
794         updated if really ran cmds.
796 Tue Nov 15 06:32:46 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
798         * configure.in: Put dnls before random whitespace.
800 Sun Nov 13 05:02:25 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
802         * compatMakefile (CPPFLAGS): New variable, set from @CPPFLAGS@.
803         (RANLIB): Variable removed.
804         (prefix, exec_prefix): Set these from @...@.
805         (.c.o): Use $(CPPFLAGS).
806         (glob/libglob.a): Don't pass down variables to sub-make.
807         glob/Makefile should be configured properly by configure.
808         (distclean): Remove config.log and config.cache (autoconf stuff).
810 Mon Nov  7 13:58:06 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
812         * acconfig.h: Add #undef HAVE_UNION_WAIT.
813         * configure.in: Converted to Autoconf v2.
814         * dir.c: Test HAVE_DIRENT_H, HAVE_SYS_DIR_H, HAVE_NDIR_H instead
815         of DIRENT, SYSDIR, NDIR.
816         * build.sh.in (prefix, exec_prefix): Set these from @...@.
817         (CPPFLAGS): New variable, set from @CPPFLAGS@.
818         (compiling loop): Pass $CPPFLAGS before $CFLAGS.
819         * install.sh: File renamed to install-sh.
821         * main.c (define_makeflags): When no flags, set WORDS to zero.
823 Sun Nov  6 18:34:01 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
825         * Version 3.72.1.
827         * main.c (define_makeflags): Terminate properly when FLAGSTRING is
828         empty.
830 Fri Nov  4 16:02:51 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
832         * Version 3.72.
834 Tue Nov  1 01:18:10 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
836         * Version 3.71.5.
838         * job.c (start_job_command): When ARGV is nil, only set
839         update_state and call notice_finished_file if job_next_command
840         returns zero.
842         * job.c (start_job_command): Call notice_finished_file for empty
843         command line.
845 Thu Oct 27 02:02:45 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
847         * file.c (snap_deps): Set COMMANDS_SILENT for .SILENT, not
848         COMMANDS_NOERROR.
850 Wed Oct 26 02:14:10 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
852         * Version 3.71.4.
854 Tue Oct 25 22:49:24 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
856         * file.c (snap_deps): Set command_flags bits in all :: entries.
858 Mon Oct 24 18:47:50 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
860         * make.h (posix_pedantic): Declare it.
861         * main.c (main): Move checks .IGNORE, .SILENT, .POSIX to
862         snap_deps.
863         * file.c (snap_deps): Check .IGNORE, .SILENT, .POSIX here instead
864         of in main.  If .IGNORE has deps, OR COMMANDS_NOERROR into their
865         command_flags and don't set -i.  Likewise .SILENT.
866         * job.c (start_job_command): In FLAGS initialization, OR in
867         CHILD->file->command_flags.
868         * file.h (struct file): New member `command_flags'.
870 Sun Oct 16 01:01:51 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
872         * main.c (switches): Bump flag values for --no-print-directory and
873         --warn-undefined-variables, so neither is 1 (which indicates a
874         nonoption argument).
876 Sat Oct 15 23:39:48 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
878         * main.c (main): Add missing code in .IGNORE test.
880 Mon Oct 10 04:09:03 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
882         * variable.c (define_automatic_variables): Define +D and +F.
884 Sat Oct  1 04:07:48 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
886         * main.c (main): Define hidden automatic variable with command
887         vars, and MAKEOVERRIDES to a reference to that.
888         (define_makeflags): If posix_pedantic, write a reference to that
889         instead.
891 Thu Sep 29 00:14:26 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
893         * main.c (posix_pedantic): New variable.
894         (main): Set posix_pedantic if .POSIX is a target.
895         Fix .IGNORE and .SILENT checks to require is_target.
897         * commands.c (set_file_variables): Define new automatic variable
898         $+, like $^ but before calling uniquize_deps.
900         * job.c (reap_children): Call delete_child_targets for non-signal
901         error if .DELETE_ON_ERROR is a target.
903 Tue Sep 27 01:57:14 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
905         * Version 3.71.3.
907 Mon Sep 26 18:16:55 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
909         * job.c (reap_children): Don't change C->file->command_state when
910         dying.  Test it only after calling start_job_command for a new
911         command line.  When no more cmds, just set C->file->update_status.
912         (start_job_command): When the last line is empty or under -n, set
913         C->file->update_status.
914         (start_waiting_job): Grok cs_not_started after start_job_command
915         as success.
916         (new_job): Set C->file->update_status when there are no cmds.
917         (job_next_command): When out of lines, don't set
918         CHILD->file->update_status or CHILD->file->command_state.
920         * main.c (quote_as_word): Renamed from shell_quote.  Take new arg;
921         if nonzero, also double $s.
922         (main): Define MAKEOVERRIDES from command_variables here.
923         (define_makeflags): Don't use command_variables here; instead write a
924         reference $(MAKEOVERRIDES) in MAKEFLAGS.  Make vars recursive.
926         * dir.c [__MSDOS__]: Fixed typo.
928         * vpath.c (selective_vpath_search): Reset EXISTS when stat fails.
930 Sat Sep 10 03:01:35 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
932         * remake.c: Include <assert.h> and use assert instead of printfs
933         and abort.
935         * main.c (decode_switches): Loop until optind hits ARGC, not just
936         until getopt_long returns EOF.  Initialize C to zero before loop;
937         in loop if C is EOF, set optarg from ARGV[optind++], else call
938         getopt_long.
939         (decode_env_switches): Use variable_expand instead of
940         allocated_variable_expand.  Allocate a fresh buffer to copy split
941         words into; scan characters by hand to break words and
942         debackslashify.
943         (shell_quote): New function.
944         (define_makeflags): Allocate doubled space for switch args, and command
945         variable names and values; use shell_quote to quote those things.
947 Fri Sep  9 01:37:47 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
949         * Version 3.71.2.
951         * acconfig.h: Add HAVE_SYS_SIGLIST and HAVE__SYS_SIGLIST.
953         * main.c (decode_switches): The non-option return from getopt is
954         1, not 0.
955         (command_variables): New type and variable.
956         (decode_switches, decode_env_switches): After making a variable
957         definition, record the struct variable pointer in the
958         command_variables chain.
959         (define_makeflags): If ALL, write variable definitions for
960         command_variables.
962         * main.c (other_args): Variable removed.
963         (goals, lastgoal): New static variables (moved from auto in main).
964         (main): Don't process OTHER_ARGS at all.
965         Don't set variable MAKEOVERRIDES at all; define MAKE to just
966         $(MAKE_COMMAND).
967         (init_switches): Prepend a - {return in order} instead of a +
968         {require order}.
969         (decode_switches): Don't set OTHER_ARGS at all.
970         Grok '\0' return from getopt_long as non-option argument; try
971         variable definition and (if !ENV) enter goal targets here.
972         (decode_env_switches): Use allocated_variable_expand to store value.
973         Use find_next_token to simplify word-splitting loop.  Don't
974         prepend a dash to uninterpreted value.  Instead, if split into
975         only one word, try variable definition and failing that prepend a
976         dash to the word and pass it to decode_switches as a single arg.
978 Wed Sep  7 03:02:46 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
980         * remake.c (notice_finished_file): Only recheck modtimes if
981         FILE->command_state was cs_running on entry (meaning the commands
982         actually just ran).
983         (update_file_1): Whenever we set FILE->update_status, call
984         notice_finished_file instead of just set_command_state.
985         * job.c (start_job_command): Whenever we set
986         CHILD->file->update_status, call notice_finished_file instead of
987         just set_command_state.
989 Tue Sep  6 19:13:54 1994  Roland McGrath  <roland@geech.gnu.ai.mit.edu>
991         * default.c: Add missing ".
993         * job.c: Changed all assignments of command_state members to calls
994         to set_command_state.
995         * remake.c: Likewise.
996         * file.c (set_command_state): New function.
997         * file.h: Declare set_command_state.
999         * main.c (init_switches): Put a + first in options.
1001 Mon Jul 25 18:07:46 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
1003         Merge MSDOS/GO32 port from DJ Delorie <dj@ctron.com>.
1004         * vpath.c: Changed all uses of ':' to PATH_SEPARATOR_CHAR.
1005         * main.c (directory_before_chdir): New variable, moved out of main
1006         (was local).
1007         (main) [__MSDOS__]: Look for \ or : to delimit last component of
1008         PROGRAM.  Don't frob ARGV[0] before setting MAKE_COMMAND variable.
1009         (die): Change back to `directory_before_chdir' before dying.
1010         * make.h (PATH_SEPARATOR_CHAR): New macro; differing defns for
1011         [__MSDOS__] and not.
1012         * job.c [__MSDOS__]: Include <process.h>.
1013         [__MSDOS__] (dos_pid, dos_status, dos_bname, dos_bename,
1014         dos_batch_file): New variables.
1015         (reap_children) [__MSDOS__]: Don't call wait; just examine those vars.
1016         (unblock_sigs) [__MSDOS__]: Do nothing.
1017         (start_job_command) [__MSDOS__]: Use spawnvpe instead of vfork & exec.
1018         (load_too_high) [__MSDOS__]: Always return true.
1019         (search_path) [__MSDOS__]: Check for : or / in FILE to punt.
1020         Use PATH_SEPARATOR_CHAR instead of ':'.
1021         (construct_command_argv_internal) [__MSDOS__]: Wholly different
1022         values for sh_chars and sh_cmds.  Wholly new code to handle shell
1023         scripts.
1024         * function.c (expand_function: `shell') [__MSDOS__]: Wholly new
1025         implementation.
1026         * dir.c [__MSDOS__] (dosify): New function.
1027         (dir_contents_file_exists_p) [__MSDOS__]: Call it on FILENAME and
1028         process the result instead of FILENAME itself.
1029         (file_impossible_p) [__MSDOS__]: Likewise.
1030         * default.c [__MSDOS__]: Define GCC_IS_NATIVE.
1031         (default_suffix_rules) [__MSDOS__]: Use `y_tab.c' instead of `y.tab.c'.
1032         (default_variables) [GCC_IS_NATIVE]: Set CC and CXX to `gcc', YACC to
1033         `bison -y', and LEX to `flex'.
1034         * configure.bat, configh.dos: New files.
1035         * commands.c (fatal_error_signal) [__MSDOS__]: Just remove
1036         intermediates and exit.
1038         * commands.c (set_file_variables): Add parens in length
1039         computation in .SUFFIXES dep loop to quiet compiler warning.  From
1040         Jim Meyering.
1042         * read.c (read_makefile): Free FILENAME if we allocated it.  From
1043         Jim Meyering.
1045 Mon Jul  4 17:47:08 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1047         * misc.c (safe_stat): New function, EINTR-safe wrapper around stat.
1048         * vpath.c (selective_vpath_search): Use safe_stat in place of stat.
1049         * read.c (construct_include_path): Use safe_stat in place of stat.
1050         * job.c (search_path): Use safe_stat in place of stat.
1051         * dir.c (find_directory): Use safe_stat in place of stat.
1052         * commands.c (delete_target): Use safe_stat in place of stat.
1053         * arscan.c (ar_member_touch) [EINTR]: Do EINTR looping around fstat.
1054         * remake.c (name_mtime): Use safe_stat in place of stat.
1055         (touch_file) [EINTR]: Do EINTR looping around fstat.
1057 Fri Jun 24 05:40:24 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1059         * read.c (read_makefile): Check for a shell command first, and
1060         then strip leading tabs before further checking if it's not a
1061         shell command line.
1063         * make.h [__arm]: Undefine POSIX.
1064         [!__GNU_LIBRARY__ && !POSIX && !_POSIX_VERSION]: Don't declare system
1065         functions that return int.
1067         * job.c (construct_command_argv_internal): After swallowing a
1068         backslash-newline combination, if INSTRING is set goto string_char
1069         (new label) for normal INSTRING handling code.
1071 Sat Jun  4 01:11:20 1994  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
1073         * configure.in: Don't check for sys_siglist and _sys_siglist with
1074         AC_HAVE_FUNCS.  Instead use two AC_COMPILE_CHECKs.
1076 Mon May 23 18:20:38 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1078         * Version 3.71.1 released.
1080         * make.h [!__GNU_LIBRARY__ && !POSIX]: Also test #ifndef
1081         _POSIX_VERSION for these declarations.
1083         * misc.c [GETLOADAVG_PRIVILEGED] [POSIX]: Remove bogus #ifndefs
1084         around #undefs of HAVE_SETREUID and HAVE_SETREGID.
1086 Sat May 21 16:26:38 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1088         * Version 3.71 released.
1090         * misc.c [GETLOADAVG_PRIVILEGED] [POSIX]: Don't test [HAVE_SETUID]
1091         and [HAVE_SETGID].  Every system has those, and configure doesn't
1092         check for them.
1094         * make.h [_POSIX_VERSION]: Don't #define POSIX #ifdef ultrix.
1096         * compatMakefile (loadavg): Depend on and use loadavg.c instead of
1097         getloadavg.c.
1098         (loadavg.c): Link or copy it from getloadavg.c.
1099         (distclean): Remove loadavg.c.
1101 Mon May 16 22:59:04 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1103         * Version 3.70.4.
1105         * misc.c [GETLOADAVG_PRIVILEGED] [! POSIX]: Undefine HAVE_SETEUID
1106         and HAVE_SETEGID.
1108         * default.c (default_terminal_rules): In SCCS rules, put
1109         $(SCCS_OUTPUT_OPTION) before $<.  On some systems -G is grokked
1110         only before the file name.
1111         * configure.in (SCCS_GET_MINUS_G check): Put -G flag before file name.
1113 Tue May 10 16:27:38 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1115         * job.c (construct_command_argv_internal): Swallow
1116         backslash-newline combinations inside '' strings too.
1118 Thu May  5 04:15:10 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1120         * read.c (do_define): Call collapse_continuations on each line
1121         before all else.
1123 Mon Apr 25 19:32:02 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1125         * job.c (construct_command_argv_internal): Notice newline inside
1126         '' string when RESTP is non-null.
1128 Fri Apr 22 17:33:30 1994  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
1130         * Version 3.70.3.
1132         * remake.c (update_goal_chain): Reset FILE to G->file after the
1133         double-colon loop so it is never null for following code.
1135         * read.c (read_makefile): Fix `override define' parsing to skip
1136         whitespace after `define' properly.
1138         * compatMakefile (srcdir): Define as @srcdir@; don't reference
1139         $(VPATH).
1140         (glob/Makefile): New target.
1142 Thu Apr 21 16:16:55 1994  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
1144         * Version 3.70.2.
1146         * misc.c (remove_comments): Use find_char_unquote.
1147         * make.h (find_char_unquote): Declare it.
1148         * read.c (find_char_unquote): New function, generalized from
1149         find_percent.
1150         (find_percent, find_semicolon, parse_file_seq): Use that.
1152 Wed Apr 20 18:42:39 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1154         * implicit.c (pattern_search): Always allocate new storage for
1155         FILE->stem.  It is not safe to store STEM's address because it
1156         might be auto storage.
1158         * configure.in: Check for seteuid and setegid.
1159         * misc.c [HAVE_SETEUID]: Declare seteuid.
1160         [HAVE_SETEGID]: Declare setegid.
1161         (make_access, user_access) [HAVE_SETEUID]: Use seteuid.
1162         [HAVE_SETEGID]: Use setegid.
1164         * remake.c (update_goal_chain): Set STATUS to FILE->update_status,
1165         to preserve whether it's 2 for error or 1 for -q trigger.  When
1166         STATUS gets nonzero and -q is set, always stop immediately.
1167         * main.c (main, decode_switches): Die with 2 for errors.
1168         (main): Accept 2 return from update_goal_chain and die with that.
1169         * misc.c (fatal, makefile_fatal): Die with 2; 1 is reserved for -q
1170         answer.
1171         * job.c (reap_children): Die with 2 for error.
1172         (start_job_command): Set update_status to 2 for error.  Set it to
1173         1 when we would run a command and question_flag is set.
1175         * read.c (read_makefile): Don't mark makefiles as precious.  Just
1176         like other targets, they can be left inconsistent and in need of
1177         remaking by aborted commands.
1179         * read.c (read_makefile): Write no error msg for -include file.
1181 Tue Apr  5 05:22:19 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1183         * commands.c (fatal_error_signal): Don't unblock signals.
1185         * file.h (struct file): Change member `double_colon' from flag to
1186         `struct file *'.
1187         * read.c (record_files): Set double_colon pointer instead of flag.
1188         * main.c (main): When disqualifying makefiles for updating, use
1189         double_colon pointer to find all entries for a file.
1190         * file.c (enter_file): If there is already a double-colon entry
1191         for the file, set NEW->double_colon to that pointer.
1192         (file_hash_enter): Use FILE->double_colon to find all entries to
1193         set name.
1194         * remake.c (update_goal_chain): Do inner loop on double-colon entries.
1195         (update_file): Use FILE->double_colon pointer to find all entries.
1196         (f_mtime): Likewise.
1197         (notice_finished_file): Propagate mtime change to all entries.
1199         * variable.c (try_variable_definition): Return after abort.
1201 Fri Apr  1 18:44:15 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1203         * read.c (read_makefile): Remove unused variable.
1204         (parse_file_seq): When removing an elt that is just `)', properly
1205         fix up the previous elt's next pointer.
1207 Mon Mar 28 18:31:49 1994  Roland McGrath  (roland@mole.gnu.ai.mit.edu)
1209         * configure.in: Do AC_SET_MAKE.
1210         * GNUmakefile (Makefile.in): Edit MAKE assignment into @SET_MAKE@.
1212 Fri Mar  4 00:02:32 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1214         * function.c (subst_expand): If BY_WORD or SUFFIX_ONLY is set and
1215         the search string is the empty string, find a match at the end of
1216         each word (using end_of_token in place of sindex).
1218         * misc.c (end_of_token): Don't treat backslashes specially; you
1219         can no longer escape blanks with backslashes in export, unexport,
1220         and vpath.  This was never documented anyway.
1222 Thu Mar  3 23:53:46 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1224         * read.c (read_makefile): Variable name for `define' is not just
1225         first token; use whole rest of line and strip trailing blanks.
1227 Wed Feb 16 16:03:45 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1229         * Version 3.70.1.
1231         * read.c (read_makefile): Add -d msg stating args.
1233         * read.c (read_makefile): Use isspace to skip over leading
1234         whitespace, and explicitly avoid skipping over tabs.  Don't want
1235         to skip just spaces though; formfeeds et al should be skipped.
1237         * default.c (default_variables) [__hpux]: Add f in ARFLAGS.
1239         * arscan.c (ar_name_equal) [__hpux]: Subtract 2 instead of 1 from
1240         sizeof ar_name for max length to compare.
1242         * misc.c [GETLOADAVG_PRIVILEGED] [POSIX]: Undefine HAVE_SETREUID
1243         #ifdef HAVE_SETUID; likewise HAVE_SETREGID and HAVE_SETGID.
1245         * main.c (main): Call user_access after setting `program', in case
1246         it needs to use it in an error message.
1248         * read.c (read_makefile): Ignore an empty line starting with a tab.
1250 Thu Feb 10 21:45:31 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1252         * configure.in (AC_SYS_SIGLIST_DECLARED): Use this instead of
1253         AC_COMPILE_CHECK that is now its contents.
1255 Fri Feb  4 16:28:54 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1257         * make.h: #undef strerror after #include <string.h>.
1258         [! ANSI_STRING]: Declare strerror.
1260 Thu Feb  3 02:21:22 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1262         * misc.c (strerror): #undef any macro before function definition.
1264 Mon Jan 31 19:07:23 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1266         * variable.c (try_variable_definition): Calculate BEG before loop
1267         to strip blanks by decrementing END.  Don't decr END to before BEG.
1269         * read.c (read_makefile): Skip over leading space characters, but
1270         not tabs, after removing continuations and comments (it used to
1271         use isspace).
1273 Tue Jan 25 16:45:05 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1275         * variable.c (define_automatic_variables): In $(@D) et al, use
1276         patsubst to remove trailing slash.
1278         * commands.c (delete_target): New function, broken out of
1279         delete_child_targets.  Check for archive members and give special msg.
1280         (delete_child_targets): Use delete_target.
1282 Mon Jan 17 17:03:22 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1284         * default.c (default_suffix_rules): Use $(TEXI2DVI_FLAGS) in
1285         texi2dvi rules. Use $(MAKEINFO_FLAGS) in makeinfo rules.
1287 Tue Jan 11 19:29:55 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1289         * GNUmakefile (tarfiles): Omit make-doc.
1290         (make-$(version).tar): Include make.info*.
1292 Fri Jan  7 16:27:00 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1294         * compatMakefile (configure, config.h.in): Comment out rules.
1296 Thu Jan  6 18:08:08 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1298         * compatMakefile (binprefix, manprefix): New variables.
1299         (instname): Variable removed.
1300         (install): Use $({bin,man}prefix)make in place of $(instname).
1301         File targets likewised renamed.
1303 Mon Jan  3 17:50:25 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1305         * Version 3.70 released.
1307 Thu Dec 23 14:46:54 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1309         * Version 3.69.3.
1311         * read.c (parse_file_seq): Inside multi-word archive ref
1312         translation loop, check NEW1==0 at end and break out of the loop.
1314         * GNUmakefile (make-$(version).tar): Distribute install.sh.
1315         * install.sh: New file.
1317         * configure.in (SCCS_GET_MINUS_G check): Put redirection for admin
1318         cmds outside subshell parens, to avoid "command not found" msgs
1319         from the shell.
1321 Wed Dec 22 17:00:43 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1323         * configure.in (SCCS_GET_MINUS_G check): Put -G flag last in get cmd.
1324         Redirect output & error from get to /dev/null.
1325         Fix reversed sense of test.
1327 Fri Dec 17 15:31:36 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1329         * configure.in (SCCS_GET_MINUS_G check): Use parens instead of
1330         braces inside if condition command; some shells lose.
1332 Thu Dec 16 15:10:23 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1334         * Version 3.69.2.
1336         * arscan.c [M_UNIX]: Move #undef M_XENIX for PORTAR stuff.
1337         (PORTAR) [M_XENIX]: Define to 0 instead of 1.
1339         * main.c (define_makeflags): Only export MAKEFLAGS if !ALL.
1341 Wed Dec 15 17:47:48 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1343         * main.c (main): Cast result of pointer arith to unsigned int
1344         before passing to define_variable for envars.  Matters when
1345         sizeof(unsigned)!=sizeof(ptrdiff_t).
1347 Tue Dec 14 14:21:16 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1349         * configure.in: Add new check for SCCS_GET_MINUS_G.
1350         * config.h.in: Add #undef SCCS_GET_MINUS_G.
1351         * default.c (default_terminal_rules): Use `$(SCCS_OUTPUT_OPTION)' in
1352         place of `-G $@' in SCCS commands.
1353         (default_variables) [SCCS_GET_MINUS_G]: Define SCCS_OUTPUT_OPTION
1354         to "-G$@".
1356         * configure.in (AC_OUTPUT): Put touch stamp-config in second arg
1357         (so it goes in config.status), rather than afterward.
1359         * ar.c (ar_member_date): Don't call enter_file on the archive file
1360         if it doesn't exist (by file_exists_p).
1362         * compatMakefile ($(infodir)/make.info): Replace `$$d/foo.info'
1363         with `$$dir/make.info' in install-info invocation (oops).
1365         * vpath.c (construct_vpath_list): Only set LASTPATH set PATH when
1366         we do not unlink and free PATH.
1368         * file.c (print_file_data_base): Fix inverted calculation for
1369         average files per hash bucket.
1371         * read.c (readline): When we see a NUL, give only a warning and
1372         synthesize a newline to terminate the building line (used to
1373         fatal).  Move fgets call into the loop condition, and after the
1374         loop test ferror (used to test !feof in the loop).
1376 Fri Dec  3 16:40:31 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1378         * configure.in: Check for strerror in AC_HAVE_FUNCS.
1380 Thu Dec  2 15:37:50 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1382         Differentiate different flavors of missing makefile error msgs,
1383         removing gratuitous `fopen: ' and giving caller for included makefiles.
1384         * misc.c [! HAVE_STRERROR]: Define our own strerror here.
1385         (perror_with_name, pfatal_with_name): Use strerror instead of
1386         replicating its functionality.
1387         * read.c (read_makefile): Return int instead of void.
1388         (read_all_makefiles, read_makefile): Change callers to notice zero
1389         return and give error msg.
1391 Thu Nov 11 11:47:36 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1393         * Version 3.69.1.
1395         * default.c: Put `-G $@' before $< in SCCS cmds.
1397 Wed Nov 10 06:06:14 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1399         * read.c (read_makefile): After trying a variable defn, notice if
1400         the line begins with a tab, and diagnose an error.
1402 Sun Nov  7 08:07:37 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1404         * Version 3.69.
1406 Wed Nov  3 06:54:33 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1408         * Version 3.68.10.
1410         * implicit.c (try_implicit_rule): Look for a normal rule before an
1411         archive rule.
1413 Fri Oct 29 16:45:28 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1415         * function.c (expand_function: `sort'): Double NWORDS when it
1416         overflows, instead of adding five.
1418         * compatMakefile (clean): Remove loadavg.
1420 Wed Oct 27 17:58:33 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1422         * Version 3.68.9.
1424         * file.h (NEW_MTIME): Define new macro.
1425         * main.c (main): Set time of NEW_FILES to NEW_MTIME, not to
1426         current time returned from system.  Removed variable NOW.
1427         * remake.c (notice_finished_file): Use NEW_MTIME in place of
1428         current time here too.
1430 Tue Oct 26 19:45:35 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1432         * Version 3.68.8.
1434         * remake.c (update_file_1): Don't clear MUST_MAKE when FILE has no
1435         cmds and !DEPS_CHANGED unless also !NOEXIST.
1437 Mon Oct 25 15:25:21 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1439         * read.c (parse_file_seq): When converting multi-word archive
1440         refs, ignore a word beginning with a '('.
1442 Fri Oct 22 02:53:38 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1444         * configure.in: Check for sys/timeb.h.
1445         * make.h [HAVE_SYS_TIMEB_H]: Test this before including it.
1447 Thu Oct 21 16:48:17 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1449         * Version 3.68.7.
1451         * rule.c (convert_suffix_rule): New local TARGPERCENT.  Set it to
1452         TARGNAME+1 for "(%.o)", to TARGNAME for "%.?".  Use it in place of
1453         TARGNAME to initialize PERCENTS[0].
1455 Mon Oct 18 06:49:35 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1457         * configure.in: Use AC_HAVE_HEADERS(unistd.h) instead of AC_UNISTD_H.
1458         Remove AC_USG; it is no longer used.
1460         * file.c (print_file): New function, broken out of
1461         print_file_data_base.
1462         (print_file_data_base): Call it.
1463         * rule.c (print_rule): New function, broken out of
1464         print_rule_data_base.
1465         (print_rule_data_base): Call it.
1467 Thu Oct 14 14:54:03 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1469         * default.c (install_default_suffix_rules): New function, broken
1470         out of install_default_implicit_rules.
1471         (install_default_implicit_rules): Move suffix rule code there.
1472         * make.h: Declare install_default_suffix_rules.
1473         * main.c (main): Call install_default_suffix_rules before reading
1474         makefiles.  Move convert_to_pattern call before
1475         install_default_implicit_rules.
1477         * job.h (struct child): Make `pid' member type `pid_t' instead of
1478         `int'.
1480         * compatMakefile (RANLIB): New variable, set by configure.
1481         (glob/libglob.a): Pass RANLIB value down to submake.
1483         Fixes for SCO 3.2 "devsys 4.2" from pss@tfn.com (Peter Salvitti).
1484         * make.h: Include <sys/timeb.h> before <time.h> for SCO lossage.
1485         * job.c [! getdtablesize] [! HAVE_GETDTABLESIZE]: If NOFILE is not
1486         defined but NOFILES_MAX is, define it to be that.
1488 Mon Oct 11 19:47:33 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1490         * GNUmakefile (make-$(version).tar): Depend on acconfig.h, so it
1491         is distributed.
1493 Sun Oct  3 15:15:33 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1495         * default.c (default_terminal_rules): Add `-G $@' to SCCS get cmds.
1497 Tue Sep 28 14:18:20 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1499         * job.c (construct_command_argv_internal): Add ^ to SH_CHARS; it
1500         is another symbol for | in some shells.
1501         * main.c (main): Add it to CMD_DEFS quoting list as well.
1503 Mon Sep 20 18:05:24 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1505         * job.c (construct_command_argv_internal): Remove '=' from
1506         SH_CHARS.  Only punt on '=' if it is unquoted in a word before the
1507         first word without an unquoted '='.
1509         * main.c (define_makeflags): Set v_export for MAKEFLAGS.
1511 Fri Sep 17 00:37:18 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1513         * remake.c (update_file_1): Use .DEFAULT cmds for phony targets.
1515         * make.h [_AIX && _POSIX_SOURCE]: Define POSIX.
1517         * commands.c (delete_child_targets): Don't delete phony files.
1519         * job.c (start_job_command): Set COMMANDS_RECURSE in FLAGS if we
1520         see a `+' at the beginning of the command line.
1522 Thu Sep  9 17:57:14 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1524         * Version 3.68.6.
1526 Wed Sep  8 20:14:21 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1528         * main.c (define_makeflags): Define MAKEFLAGS with o_file, not o_env.
1530 Mon Aug 30 12:31:58 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1532         * expand.c (variable_expand): Fatal on an unterminated reference.
1534 Thu Aug 19 16:27:53 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1536         * Version 3.68.5.
1538         * variable.c (define_automatic_variables): Define new o_default
1539         variable `MAKE_VERSION' from version_string and remote_description.
1541         * make.h (version_string, remote_description): Declare these here.
1542         * main.c: Don't declare version_string.
1543         (print_version): Don't declare remote_description.
1545 Wed Aug 18 15:01:24 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1547         * read.c (read_makefile): Free space pointed to by CONDITIONALS
1548         before restoring the old pointer.
1550 Mon Aug 16 17:33:36 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1552         * compatMakefile ($(objs)): Depend on config.h.
1554         * GNUmakefile (build.sh.in): Depend on compatMakefile.
1556         * configure.in: Touch stamp-config after AC_OUTPUT.
1558 Fri Aug 13 16:04:22 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1560         * Version 3.68.4.
1562 Thu Aug 12 17:18:57 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1564         * make.h: Include <config.h> instead of "config.h".
1566 Wed Aug 11 02:35:25 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1568         * main.c (main): Make all variables interned from ENVP be v_export.
1569         * variable.c (try_variable_definition): In v_default case, don't
1570         check for an o_file variable that `getenv' finds.
1572         * job.c (reap_children): New local variable ANY_LOCAL; set it
1573         while setting ANY_REMOTE.  If !ANY_LOCAL, don't wait for local kids.
1575         * main.c (main): Don't call decode_env_switches on MFLAGS.  DOC THIS.
1577         * function.c (expand_function): #if 0 out freeing of ENVP since it
1578         is environ.
1580 Mon Aug  9 17:37:20 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1582         * Version 3.68.3.
1584         * remote-stub.c (remote_status): Set errno to ECHILD before return.
1585         * job.c (reap_children): Scan the chain for remote children and
1586         never call remote_status if there are none.
1588         * function.c (expand_function: `shell'): #if 0 out calling
1589         target_environment; just set ENVP to environ instead.
1591         * job.c (reap_children): Check for negative return from
1592         remote_status and fatal for it.
1593         When blocking local child wait returns 0, then try a blocking call
1594         to remote_status.
1596 Tue Aug  3 00:19:00 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1598         * compatMakefile (clean): Delete make.info* and make.dvi here.
1599         (distclean): Not here.
1601         * dep.h (RM_*): Use #defines instead of enum to avoid lossage from
1602         compilers that don't like enum values used as ints.
1604 Mon Aug  2 16:46:34 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1606         * compatMakefile (loadavg): Add $(LOADLIBES).
1608 Sun Aug  1 16:01:15 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1610         * Version 3.68.2.
1612         * compatMakefile (loadavg, check-loadavg): New targets.
1613         (check): Depend on check-loadavg.
1615         * compatMakefile (glob/libglob.a): Depend on config.h.
1617         * misc.c (log_access): Write to stderr instead of stdout.
1619 Fri Jul 30 00:07:02 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1621         * Version 3.68.1.
1623 Thu Jul 29 23:26:40 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1625         * configure.in (SYS_SIGLIST_DECLARED): In test program include
1626         <unistd.h> #ifdef HAVE_UNISTD_H.
1628         * compatMakefile (.PHONY): Put after `all' et al.
1630         * configure.in: Add AC_IRIX_SUN.
1632 Wed Jul 28 17:41:12 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1634         * Version 3.68.
1636 Mon Jul 26 14:36:49 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1638         * Version 3.67.8.
1640 Sun Jul 25 22:09:08 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1642         * Version 3.67.7.
1644         * compatMakefile ($(infodir)/make.info): Don't use $(instname).
1645         Run install-info script if present.
1647 Fri Jul 23 16:03:50 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1649         * make.h [STAT_MACROS_BROKEN]: Test this instead of [uts].
1651         * configure.in: Add AC_STAT_MACROS_BROKEN.
1653 Wed Jul 14 18:48:11 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1655         * Version 3.67.6.
1657         * read.c (read_makefile): Recognize directive `-include', like
1658         `include' but sets RM_DONTCARE flag.
1660         * variable.c (target_environment): If FILE is nil, use
1661         current_variable_set_list in place of FILE->variables.
1662         * function.c (expand_function: `shell'): Get an environment for
1663         the child from target_environment instead of using environ.
1665         * dep.h: Declare read_all_makefiles here.
1666         (RM_*): Define new enum constants.
1667         * read.c (read_makefile): Second arg is FLAGS instead of TYPE.
1668         Treat it as a bit mask containing RM_*.
1669         (read_all_makefiles): For default makefiles, set D->changed to
1670         RM_DONTCARE instead of 1.
1671         * main.c: Don't declare read_all_makefiles here.
1672         (main): Check `changed' member of read_makefiles elts for RM_*
1673         flags instead of specific integer values.
1675 Mon Jul 12 22:42:17 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1677         * make.h [sequent && i386]: #undef POSIX.  From trost@cse.ogi.edu.
1679 Thu Jul  8 19:51:23 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1681         * vpath.c (construct_vpath_list): If ELEM is zero 0, free PATTERN
1682         as well as VPATH.
1683         (build_vpath_lists): Empty `vpaths' around construct_vpath_list
1684         call for $(VPATH).  Expand $(strip $(VPATH)), not just $(VPATH).
1686         * rule.c (convert_suffix_rule): Use alloca instead of xmalloc for
1687         PERCENTS, whose storage is not consumed by create_pattern_rule.
1689         * make.h [__mips && _SYSTYPE_SVR3]: #undef POSIX.
1691 Wed Jun 30 18:11:40 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1693         * Version 3.67.5.
1695         * rule.c (max_pattern_targets): New variable.
1696         (count_implicit_rule_limits): Compute its value.
1697         * rule.h: Declare it.
1698         * implicit.c (pattern_search): Make TRYRULES max_target_patterns
1699         times bigger.  Move adding new TRYRULES elt inside the inner
1700         targets loop, so each matching target gets its own elt in MATCHES
1701         and CHECKED_LASTSLASH.
1703         * file.c (remove_intermediates): If SIG!=0 say `intermediate file'
1704         instead of just `file' in error msg.
1706 Fri Jun 25 14:55:15 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1708         * job.c (construct_command_argv): Turn off
1709         --warn-undefined-variables around expansion of SHELL and IFS.
1710         * read.c (tilde_expand): Likewise for HOME.
1711         (read_all_makefiles): Likewise for MAKEFILES.
1712         * vpath.c (build_vpath_lists): Likewise for VPATH.
1714         * main.c (warn_undefined_variables_flag): New flag variable.
1715         (switches): Add --warn-undefined-variables.
1716         * make.h (warn_undefined_variables_flag): Declare it.
1717         * expand.c (warn_undefined): New function.
1718         (reference_variable): Call it if the variable is undefined.
1719         (variable_expand): In substitution ref, call warn_undefined if the
1720         variable is undefined.
1722         * default.c (default_pattern_rules): Add `%.c: %.w %.ch' and
1723         `%.tex: %.w %.ch' rules.
1724         (default_suffix_rules: .w.c, .w.tex): Pass three args: $< - $@.
1725         (default_suffixes): Add `.ch'.
1727 Mon Jun 21 17:55:39 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1729         * default.c (default_suffixes): Replace `.cweb' with `.w'.
1730         (default_suffix_rules): Rename `.cweb.c' and `.cweb.tex' to `.w.c'
1731         and `.w.tex'.
1733 Fri Jun 11 14:42:09 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1735         * compatMakefile ($(bindir)/$(instname)): Add missing backslash.
1737 Thu Jun 10 18:14:08 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1739         * Version 3.67.4.
1741         * read.c (multi_glob): Don't free OLD and OLD->name in the
1742         FOUND!=0 fork.  Use new block-local variable F instead of
1743         clobbering OLD.
1745         * ar.c (glob_pattern_p): New function, snarfed from glob/glob.c.
1746         (ar_glob): Call it; return nil immediately if MEMBER_PATTERN
1747         contains no metacharacters.
1749 Wed Jun  9 16:25:35 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1751         * ar.c (ar_glob{_match,_alphacompare}): New function.
1753         * dep.h [! NO_ARCHIVES]: Declare it.
1754         * read.c (multi_glob) [! NO_ARCHIVES]: Use it on archive member elts.
1756         * read.c (read_makefile): Pass flag (1) to parse_file_seq, not to
1757         multi_glob (which doesn't take a 3rd arg).
1758         * rule.c (install_pattern_rule): Likewise.
1759         * default.c (set_default_suffixes): Here too.
1760         * function.c (string_glob): Don't pass gratuitous arg to multi_glob.
1762         * read.c (parse_file_seq) [! NO_ARCHIVES]: Add post-processing
1763         loop to translate archive refs "lib(a b)" into "lib(a) lib(b)".
1765 Mon Jun  7 19:26:51 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1767         * compatMakefile (installdirs): Actually pass directory names.
1768         ($(bindir)/$(instname)): Test chgrp&&chmod exit status with `if';
1769         if it fails, echo a warning msg, but don't make the rule fail.
1771         * read.c (tilde_expand): New function, broken out of tilde_expand.
1772         (multi_glob): Call it.
1773         (construct_include_path): Expand ~ in directory names.
1774         * dep.h: Declare tilde_expand.
1775         * main.c (enter_command_line_file): Expand ~ at the start of NAME.
1776         (main): Expand ~ in -C args.
1777         * read.c (read_makefile): Expand ~ in FILENAME unless TYPE==2.
1779 Fri Jun  4 13:34:47 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1781         * main.c (decode_env_switches): Use xmalloc instead of alloca for ARGS.
1783         * main.c (main): Put result of alloca in temporary variable with
1784         simple assignment, to make SGI compiler happy.
1786 Thu Jun  3 20:15:46 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1788         * Version 3.67.3.
1790         * main.c (main): Before re-execing, remove intermediate files, and
1791         print the data base under -p.  Sexier debugging message.
1793         * implicit.c (pattern_search): Allocate an extra copy of the name
1794         of a winning intermediate file when putting it in FOUND_FILES.
1796 Wed Jun  2 16:38:08 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1798         * read.c (read_makefile): Pass flag (1) to parse_file_seq, not to
1799         multi_glob (which doesn't take a 3rd arg).
1801         * dir.c (dir_contents_file_exists_p): When reading dirents, ignore
1802         chars within D_NAMLEN that are NULs.
1804         * main.c (decode_switches): Don't savestring ARGV[0] to put it
1805         into `other_args'.
1806         For string switch, don't savestring `optarg'.
1807         (main): Don't free elts of makefiles->list that are "-".
1808         Use alloca'd rather than savestring'd storage for elts of
1809         makefiles->list that are temporary file names.
1810         * read.c (read_all_makefiles): Don't free *MAKEFILES.
1811         * file.c (enter_file): Don't strip `./'s.
1812         * main.c (enter_command_line_file): New function.
1813         (main): Use it in place of enter_file for command-line goals from
1814         other_files, and for old_files and new_files.
1816 Mon May 31 18:41:40 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1818         * Version 3.67.2.
1820         * compatMakefile (.SUFFIXES): Add .info.
1821         ($(infodir)/$(instname).info): Find make.info* in cwd if there,
1822         else in $srcdir.  Use basename to remove dir name from installed name.
1824 Thu May 27 17:35:02 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1826         * implicit.c (pattern_search): When interning FOUND_FILES, try
1827         lookup_file first; if found, free the storage for our copy of the name.
1829 Wed May 26 14:31:20 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1831         * Version 3.67.1.
1833         * main.c (decode_switches): In usage msg, write `--switch=ARG' or
1834         `--switch[=OPTARG]' rather than `--switch ARG' or `--switch [ARG]'.
1836 Mon May 24 16:17:31 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1838         * rule.c (convert_suffix_rule): New function.
1839         (convert_to_pattern): Use it instead of doing all the work here
1840         several times.
1841         For target suffix `.a', generate both the archive magic rule and
1842         the normal rule.
1844         * compatMakefile (distclean): Remove stamp-config.
1846 Sat May 22 16:15:18 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1848         * Version 3.67.
1850         * file.c (remove_intermediates): Don't write extra space after `rm'.
1852         * main.c (struct command_switch.type): Remove `usage_and_exit'.
1853         (print_usage_flag): New variable.
1854         (switches: --help): Make type `flag', to set print_usage_flag.
1855         (init_switches): Remove `usage_and_exit' case.
1856         (decode_switches): Likewise.
1857         (decode_switches): Print usage if print_usage_flag is set.
1858         When printing usage, die with status of BAD.
1859         (main): Die with 0 if print_version_flag.
1861 Fri May 21 16:09:28 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1863         * Version 3.66.
1865 Wed May 19 21:30:44 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1867         * compatMakefile (installdirs): New target.
1868         (install): Depend on it.
1870 Sun May 16 20:15:07 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1872         * Version 3.65.2.
1874 Fri May 14 16:40:09 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1876         * vpath.c (construct_vpath_list): In removal loop for DIRPATH==0,
1877         set LASTPATH to PATH, not NEXT.
1879         * dir.c (read_dirstream): Break out of loop after incrementing
1880         DS->buckets such that it reaches DIRFILE_BUCKETS; avoid trying to
1881         dereference DS->contents->files[DIRFILE_BUCKETS].
1883         * read.c (read_makefile): Clear no_targets after reading a
1884         targetful rule line.
1886         * main.c (main): If print_version_flag is set, exit after printing
1887         the version.
1888         (switches): Change --version docstring to say it exits.
1890         * make.h [butterfly]: #undef POSIX.
1892 Wed May 12 15:20:21 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
1894         * Version 3.65.1.
1896         * arscan.c (ar_scan) [! AIAMAG]: Don't declare LONG_NAME.
1897         [AIAMAG]: Pass TRUNCATE flag arg to (*FUNCTION), always zero.
1899         * function.c (handle_function): Use fatal instead of
1900         makefile_fatal when reading_filename is nil.
1902         * configure.in: Add AC_GETGROUPS_T.
1903         * job.c (search_path): Use GETGROUPS_T in place of gid_t.
1905 Sun May  9 15:41:25 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1907         * Version 3.65.
1909 Fri May  7 18:34:56 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1911         * function.c (handle_function): Fatal for unmatched paren.
1913 Thu May  6 16:13:41 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1915         * Version 3.64.3.
1917         * commands.c (handling_fatal_signal): New variable.
1918         (fatal_error_signal): Set it.
1919         * job.c (reap_children): Avoid nonreentrant operations if that is set.
1920         * make.h: Declare handling_fatal_signal.
1922         * expand.c (reference_variable): New function, snippet of code
1923         broken out of simple-reference case of variable_expand.
1924         (variable_expand): Use it for simple refs.
1925         (variable_expand): When checking for a computed variable name,
1926         notice a colon that comes before the final CLOSEPAREN.  Expand
1927         only up to the colon, and then replace the pending text with a
1928         copy containing the expanded name and fall through to subst ref
1929         handling.
1930         (variable_expand): Don't bother expanding the name if a colon
1931         appears before the first $.
1932         (expand_argument): Use alloca instead of savestring.
1933         (variable_expand): For subst ref, expand both sides of = before
1934         passing to [pat]subst_expand.  Use find_percent instead of lindex
1935         to check the lhs for a %.
1937 Wed May  5 14:45:52 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1939         * Version 3.64.2.
1941 Mon May  3 17:00:32 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1943         * arscan.c (ar_name_equal) [AIAMAG]: Abort if TRUNCATED is nonzero.
1945         * read.c (read_makefile): Pass extra arg of 1 to parse_file_seq,
1946         not to multi_glob.
1948 Thu Apr 29 19:47:33 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1950         * Version 3.64.1.
1952         * arscan.c (ar_scan): New local flag var LONG_NAME.  Set it when
1953         we read the member name in any of the fashions that allow it to be
1954         arbitrarily long.  Pass its negation to FUNCTION.
1955         (describe_member): Take TRUNCATED from ar_scan and print it.
1956         (ar_name_equal): Take new arg TRUNCATED; if nonzero, compare only
1957         the first sizeof (struct ar_hdr.ar_name) chars.
1958         (ar_member_pos): Take TRUNCATED from ar_scan, pass to ar_name_equal.
1959         * ar.c (ar_member_date_1): Likewise.
1961 Wed Apr 28 21:18:22 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1963         * job.c (reap_children): Before calling start_job_command to start
1964         the next command line, reset C->remote by calling start_remote_job_p.
1966 Mon Apr 26 15:56:15 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
1968         * arscan.c (ar_scan): New local var NAMEMAP.
1969         In loop, rename NAME to NAMEBUF; new var NAME is a pointer; new
1970         flag IS_NAMEMAP.  When extracting the member name, always put a
1971         null at its end first.  If the name is "//" or "/ARFILENAMES", set
1972         IS_NAMEMAP.  If we have already read in NAMEMAP, and NAME looks
1973         like " /N", get full name from NAMEMAP+N.
1974         Else if NAME looks like "#1/N", read N chars from the
1975         elt data to be the full name.  At end of loop, if IS_NAMEMAP, read
1976         the elt's data into alloca'd NAMEMAP.
1977         (ar_name_equal): #if 0 truncating code.
1979         * make.h: Don't declare vfork at all.  It returns int anyway,
1980         unless <unistd.h> declared it; and we conflicted with some systems.
1982         * main.c (define_makeflags): If FLAGSTRING[1] is '-', define
1983         MAKEFLAGS to all of FLAGSTRING, not &FLAGSTRING[1].  Don't want to
1984         define it to something like "-no-print-directory".
1985         Use %g format instead of %f for floating-valued things.
1987 Thu Apr 22 18:40:58 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1989         * GNUmakefile (Makefile.in): Use a substitution ref on nolib-deps
1990         to change remote-%.dep to remote-stub.dep.
1992 Wed Apr 21 15:17:54 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1994         * Version 3.64.
1996 Fri Apr 16 14:22:22 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
1998         * compatMakefile (install): Remove - prefix from chgrp+chmod.
2000         * Version 3.63.8.
2002 Thu Apr 15 18:24:07 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2004         * acconfig.h: New file; contains "#undef SCCS_GET" for autoheader.
2005         * configure.in: If /usr/sccs/get exists, define SCCS_GET to that,
2006         else to "get".
2007         * default.c (default_variables): Set GET to macro SCCS_GET.
2009         * read.c (parse_file_seq): Take extra arg STRIP; strip `./' only
2010         if nonzero.  I hope this is the last time this argument is added
2011         or removed.
2012         (read_makefile): Pass it 1 when parsing include file names.
2013         Pass it 1 when parsing target file names.
2014         Pass it 1 when parsing static pattern target pattern names.
2015         * rule.c (install_pattern_rule): Pass it 1 when parsing rule deps.
2016         * default.c (set_default_suffixes): Pass it 1 when parsing
2017         default_suffixes.
2018         * function.c (string_glob): Pass it 0 here.
2020 Wed Apr 14 11:32:05 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2022         * misc.c (log_access): New function.
2023         ({init,user,make,child}_access): Call it.
2024         (child_access): Abort if !access_inited.
2026         * main.c (switches: --no-print-directory): Use 1 instead of -1 for
2027         single-letter option.
2028         (init_switches, decode_switches, define_makeflags): An option with
2029         no single-letter version is no longer indicated by a value of -1;
2030         instead a value that is !isalnum.
2031         (init_switches): Don't put such switches into the string, only
2032         into the long_option table.
2034         * make.h [!NSIG] [!_NSIG]: #define NSIG 32.
2036         * job.c [HAVE_WAITPID]: Remove #undef HAVE_UNION_WAIT.  AIX's
2037         bsdcc defined WIF* to use union wait.
2039         * main.c (struct command_switch): Change member `c' to type int.
2040         (switches): Make const.
2041         (decode_switches): Use `const struct command_switch *'.
2042         (define_makeflags): Likewise.
2044         * default.c (default_suffix_rules): Add `-o $@' to makeinfo rules.
2046 Mon Apr 12 12:30:04 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2048         * Version 3.63.7.
2050         * configure.in (AC_HAVE_HEADERS): Check for string.h and memory.h.
2051         Removed AC_MEMORY_H.
2052         * make.h [USG, NeXT]: Don't test these.
2053         [HAVE_STRING_H]: Test this to include string.h and define ANSI_STRING.
2054         [HAVE_MEMORY_H]: Test this instead of NEED_MEMORY_H.
2055         [! ANSI_STRING]: Put decls of bcopy et al here.
2056         [sparc]: Don't test this for alloca.h; HAVE_ALLOCA_H is sufficient.
2057         [HAVE_SIGSETMASK]: Test this rather than USG.
2058         [__GNU_LIBRARY__ || POSIX]: Don't #include <unistd.h> again.
2059         * main.c (main): Handle SIGCHLD if defined, and SIGCLD if defined.
2060         It doesn't hurt to do both if they are both defined, and testing
2061         USG is useless.
2062         * dir.c: Rationalize directory header conditionals.
2063         * arscan.c [HAVE_FCNTL_H]: Test this rather than USG || POSIX.
2065         * default.c (default_suffixes): Add `.txinfo'.
2066         (default_suffix_rules): Add `.txinfo.info' and `.txinfo.dvi' rules.
2068         * variable.c (try_variable_definition): Replace RECURSIVE flag
2069         with enum FLAVOR, which can be simple, recursive, or append.
2070         Recognize += as append flavor.  Set new variable VALUE in a switch
2071         on FLAVOR.  For append flavor, prepend the variable's old value.
2072         If the variable was previously defined recursive, set FLAVOR to
2073         recursive; if it was defined simple, expand the new value before
2074         appending it to the old value.  Pass RECURSIVE flag to
2075         define_variable iff FLAVOR == recursive.
2077         * variable.c (try_variable_definition): Use alloca and bcopy for
2078         NAME, instead of savestring.  Might as well use stack storage
2079         since we free it immediately anyway.
2081 Thu Apr  8 18:04:43 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2083         * job.c (start_waiting_jobs): Move decl of JOB outside of loop.
2085         * main.c (define_makeflags): Rename `struct flag' member `switch'
2086         to `cs', which is not a reserved word.
2088 Wed Apr  7 15:30:51 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2090         * job.c (new_job): Call start_waiting_jobs first thing.
2091         (start_waiting_job): Changed return type from void to int.
2092         Return 0 when putting the child on the waiting_jobs chain.
2093         (start_waiting_jobs): Don't check load and job_slots here.
2094         Always take a job off the chain and call start_waiting_job on it;
2095         give up and return when start_waiting_job returns zero.
2097         * main.c (define_makeflags: struct flag): Change member `char c' to
2098         `struct command_switch *switch'.
2099         (ADD_FLAG): Set that to CS instead of CS->c.
2100         If CS->c is -1, increment FLAGSLEN for the long name.
2101         When writing out FLAGS, handle FLAGS->switch->c == -1 and write
2102         the long name instead.
2104         * compatMakefile (stamp-config): New target of old config.h rule.
2105         Touch stamp-config after running config.status.
2106         (config.h): Just depend on stamp-config, and have empty commands.
2108 Mon Apr  5 20:14:02 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2110         * job.c [HAVE_WAITPID]: #undef HAVE_UNION_WAIT.
2112         * configure.in (AC_HAVE_FUNCS): Check for psignal.
2114 Fri Apr  2 17:15:46 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2116         * main.c (long_option_aliases): Remove "new"; it is already an
2117         unambiguous prefix of "new-file".
2119 Sun Mar 28 16:57:17 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2121         * Version 3.63.6.
2123 Wed Mar 24 14:26:19 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2125         * vpath.c (selective_vpath_search): When adding the
2126         name-within-directory at the end of NAME, and we don't add a
2127         slash, don't copy FILENAME in one char too far into NAME.
2129         * variable.c (define_automatic_variables): Find default_shell's
2130         length with strlen, not numerology.
2132 Wed Mar 17 20:02:27 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2134         * main.c (define_makeflags): Add the elts of a string option in
2135         reverse order, so they come out right when reversed again.
2137 Fri Mar 12 15:38:45 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2139         * compatMakefile (make.info): Use `-o make.info'.
2141 Thu Mar 11 14:13:00 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2143         * compatMakefile (REMOTE): Set to @REMOTE@; change comments to
2144         reflect new use.
2145         (objs): Replace remote.o with remote-$(REMOTE).o.
2146         (srcs): Replace remote.c with remote-$(REMOTE).c.
2147         (remote.o): Rule removed.
2149         * configure.in (REMOTE): Subst this in Makefile et al; default "stub".
2150         Use AC_WITH to grok --with-customs arg to set REMOTE=cstms.
2151         * GNUmakefile (build.sh.in): Filter out remote-% from objs list.
2152         * build.template (REMOTE): New var; set to @REMOTE@.
2153         (objs): Add remote-${REMOTE}.o.
2155 Wed Mar 10 15:12:24 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2157         * Version 3.63.5.
2159         * implicit.c (pattern_search): Fix "dependent"->"dependency" in
2160         "Rejecting impossible" -d msg.
2162         * file.c (file_hash_enter): New local vars {OLD,NEW}BUCKET.  Store
2163         mod'd values there; never mod {OLD,NEW}HASH.
2165 Mon Mar  8 13:32:48 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2167         * remake.c [eta10]: Include <fcntl.h> instead of <sys/file.h>.
2169         * compatMakefile (VPATH): Set this to @srcdir@.
2170         (srcdir): Set this to $(VPATH).
2172         * main.c (main): New local var DIRECTORY_BEFORE_CHDIR.  Save in it
2173         a copy of CURRENT_DIRECTORY after the first getcwd.  Use it
2174         instead of CURRENT_DIRECTORY when chdir'ing back before re-execing.
2176         * remake.c (notice_finished_file): Pass missing SEARCH arg to f_mtime.
2178         * read.c (read_makefile): Remove extraneous arg to parse_file_seq.
2180 Mon Feb 22 14:19:38 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2182         * compatMakefile ($(infodir)/$(instname).info): Use , instead of /
2183         as the sed delimiter char.
2185 Sun Feb 21 14:11:04 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2187         * Version 3.63.4.
2189         * rule.h (struct rule): Removed `subdir' member.
2190         * rule.c (new_pattern_rule): No need to clear it.
2191         (count_implicit_rule_limits): Set the `changed' flag in each dep
2192         that refers to a nonexistent directory.  No longer set rule-global
2193         `subdir' flag with that information.
2194         (print_rule_data_base): Don't record info on `subdir' flags.
2196         * implicit.c (pattern_search): Check the DEP->changed flag rather
2197         than the (now gone) RULE->subdir flag.  Also test CHECK_LASTSLASH;
2198         if it is set, the file might exist even though the DEP->changed
2199         flag is set.
2201         * rule.c (count_implicit_rule_limits): Pass "", not ".", as file
2202         name arg to dir_file_exists_p to check for existence of directory.
2204         * implicit.c (pattern_search): Inside dep-finding loop, set
2205         CHECK_LASTSLASH from the value recorded in CHECKED_LASTSLASH[I],
2206         rather than computing it anew.
2208         * commands.c (set_file_variables): Must alloca space for PERCENT
2209         and copy it, to avoid leaving the trailing `)' in the value.
2211         * misc.c (remove_comments): Fixed backslash-checking loop
2212         condition to allow it to look at the first char on the line.
2213         P2 >= LINE, not P2 > LINE.
2215         * compatMakefile ($(bindir)/$(instname)): Before moving $@.new to
2216         $@, rm $@.old and mv $@ to $@.old.
2218         * variable.c (try_variable_definition): Take new args FILENAME and
2219         LINENO.  Fatal if the variable name is empty.
2220         * read.c (read_makefile): Change callers.
2221         * main.c (main): Likewise.
2223         * compatMakefile (group): Define to @KMEM_GROUP@, autoconf magic
2224         that configure will replace with the group owning /dev/kmem.
2226 Mon Feb  8 14:26:43 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2228         * vpath.c (vpath_search): Take second arg MTIME_PTR, pass thru to
2229         selective_vpath_search.
2230         (selective_vpath_search): Take second arg MTIME_PTR.
2231         If the dir cache thinks a file exists, stat it to make sure, and
2232         put the modtime in *MTIME_PTR.
2233         * remake.c (library_search): Take second arg MTIME_PTR.
2234         When we find a match, record its mtime there.
2235         Pass MTIME_PTR through to vpath_search to do same.
2236         (f_mtime): Pass &MTIME as new 2nd arg to {vpath,library}_search;
2237         store it in FILE->last_mtime if set nonzero.
2238         * implicit.c (pattern_search): Pass nil 2nd arg to vpath_search.
2240         * compatMakefile (remote.o): Prepend `$(srcdir)/' to `remote-*.c',
2241         so globbing looks somewhere it will find things.
2243         * compatMakefile ($(infodir)/$(instname).info): Install `make.info*'
2244         not `$(srcdir)/make.info*'; no need to use basename.
2246 Fri Feb  5 12:52:43 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2248         * Version 3.63.3.
2250         * compatMakefile (install): Add missing ;\s.
2252         Make -, @, and + prefixes on a pre-expanded command line affect
2253         all lines in the expansion, not just the first.
2254         * commands.h (struct commands): Replace `lines_recurse' member
2255         with `lines_flags'.
2256         (COMMANDS_{RECURSE,SILENT,NOERROR}): New macros, bits to set in
2257         that flag byte.
2258         * commands.c (chop_commands): Set `lines_flags' instead of
2259         `lines_recurse'.  Record not only + but also @ and - prefixes.
2260         * remake.c (notice_finished_file): Check the COMMANDS_RECURSE bit
2261         in FILE->cmds->lines_flags, rather than FILE->cmds->lines_recurse.
2262         * job.c (start_job_command): Replaced RECURSIVE and NOPRINT local
2263         var with FLAGS; initialize it to the appropriate `lines_flags' byte.
2264         Set CHILD->noerror if the COMMANDS_NOERROR bit is set in FLAGS.
2265         Set the COMMANDS_SILENT bit in FLAGS for a @ prefix.
2267         * remake.c (update_goal_chain): Set G->file to its prev after
2268         checking for G being finished, since that check needs to examine
2269         G->file.
2271         * configure.in (union wait check) [HAVE_WAITPID]: Try using
2272         waitpid with a `union wait' STATUS arg.  If waitpid and union wait
2273         don't work together, we should not use union wait.
2275         * Version 3.63.2.
2277         * remake.c (update_goal_chain): When G->file->updated, move
2278         G->file to its prev.  We aren't finished until G->file is nil.
2280 Thu Feb  4 12:53:04 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2282         * main.c (starting_directory): New global variable.
2283         (main): Set it to cwd after doing -Cs.
2284         (log_working_directory): Use it, rather than computing each time.
2285         * make.h: Declare it.
2287         * compatMakefile (SHELL): Define to /bin/sh for losing Unix makes.
2289         * main.c (decode_env_switches): Allocate (1 + LEN + 1) words for
2290         ARGV, rather than LEN words plus one byte.
2292 Wed Feb  3 18:13:52 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2294         * compatMakefile ($(bindir)/$(instname)): Put - before
2295         install_setgid command line, so its failure won't be an error.
2296         (infodir): New variable.
2297         (install): Depend on $(infodir)/$(instname).info.
2298         ($(infodir)/$(instname).info): New target.
2300         * read.c (read_makefile): If FILENAMES is nil when we see a line
2301         starting with a tab, don't treat it as a command.  Just fall
2302         through, rather than giving an error.
2304         * read.c (read_makefile): If the NO_TARGETS flag is set when we see a
2305         command line, don't clear it before continuing.  We want
2306         subsequent command lines to be ignored as well.
2308         * job.c (new_job): Before expanding each command line, collapse
2309         backslash-newline combinations that are inside var or fn references.
2311 Mon Feb  1 16:00:13 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2313         * compatMakefile (exec_prefix): Default to $(prefix), not /usr/local.
2315         * compatMakefile (make.info): Pass -I$(srcdir) to makeinfo.
2317         * job.c [POSIX] (unblock_sigs): Made global.
2318         [!POSIX] (unblock_sigs): Move defns to job.h.
2319         * job.h [POSIX] (unblock_sigs): Declare.
2321 Sun Jan 31 19:11:05 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2323         * read.c (read_makefile): In vpath parsing, after finding the
2324         pattern token, take entire rest of line as the search path, not
2325         just the next token.
2327         * compatMakefile (remote.o): Depend on remote-*.c.
2329 Thu Jan 28 16:40:29 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2331         * commands.c (set_file_variables): Don't define any F or D versions.
2332         * variable.c (define_automatic_variables): Define them here as
2333         recursively-expanded variables that use the dir and notdir funcs.
2335         * variable.c (target_environment): In v_default case, don't export
2336         o_default or o_automatic variables.
2338         * configure.in (union wait check): Remove ` and ' inside C code;
2339         they confuse the shell script.
2341 Mon Jan 25 13:10:42 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2343         * Version 3.63.1.
2345         * vpath.c (construct_vpath_list): When skipping further processing
2346         of an elt that is ".", don't also skip the code that pushes P past
2347         the next separator.
2349         * compatMakefile (distclean): Don't remove make-*.
2351         * configure.in (HAVE_UNION_WAIT): Try to use WEXITSTATUS if it's
2352         defined.  If one cannot use WEXITSTATUS with a `union wait'
2353         argument, we don't want to believe the system has `union wait' at all.
2355         * remake.c (update_file): Do nothing to print "up to date" msgs.
2356         (update_goal_chain): Do it here instead.
2357         Use the `changed' flag of each goal's `struct dep' to keep track
2358         of whether files_remade (now commands_started) changed around a
2359         call to update_file for that goal.
2360         When a goal is finished, and its file's update_status is zero (i.e.,
2361         success or nothing done), test the `changed' flag and give an "up
2362         to date" msg iff it is clear.
2363         * make.h (files_remade): Renamed to commands_started.
2364         * remake.c: Changed defn.
2365         (update_goal_chain): Changed uses.
2366         * job.c (start_job_command): Increment commands_started here.
2367         (reap_children): Not here.
2369         * remake.c (update_goal_chain): Don't do anything with files'
2370         `prev' members.  update_file now completely handles this.
2372         * variable.c (target_environment): Don't expand recursive
2373         variables if they came from the environment.
2375         * main.c (define_makeflags): For flags with omitted optional args,
2376         store {"", 0} with ADD_FLAG.  When constructing FLAGSTRING, a flag
2377         so stored cannot have more flags appended to the same word.
2379 Fri Jan 22 14:46:16 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2381         * variable.c (print_variable_set): In vars/bucket calculation,
2382         don't spuriously multiply by 100.
2384         * Version 3.63.
2386         * job.c [!HAVE_UNION_WAIT] (WTERMSIG, WCOREDUMP, WEXITSTATUS):
2387         Don't define if already defined.
2389         * remake.c (update_file): Don't keep track of the command_state before
2390         calling update_file_1.  Remove local variable COMMANDS_FINISHED,
2391         and don't test it to decide to print the "is up to date" msg.
2392         Testing for files_remade having changed should always be sufficient.
2393         The old method lost when we are called in the goal chain run on a
2394         makefile, because the makefile's command_state is already
2395         `cs_finished' from the makefile chain run.
2397         * misc.c [HAVE_SETRE[GU]ID]: Test these to decl setre[gu]id.
2399         * configure.in: Rewrote wait checking.
2400         Use AC_HAVE_HEADERS to check for <sys/wait.h>.
2401         Use AC_HAVE_FUNCS to check for waitpid and wait3.
2402         Use a compile check to test just for `union wait'.
2403         * job.c: Rewrote conditionals accordingly.
2404         [HAVE_WAITPID]: Test this only to define WAIT_NOHANG.
2405         [HAVE_WAIT3]: Likewise.
2406         [HAVE_UNION_WAIT]: Test this to define WAIT_T and W*.
2408         * configure.in: Set CFLAGS and LDFLAGS before all checks.
2410         * dir.c: Add static forward decls of {open,read}_dirstream.
2412 Thu Jan 21 17:18:00 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2414         * Version 3.62.31.
2416         * job.c [NGROUPS_MAX && NGROUPS_MAX==0]: #undef NGROUPS_MAX.
2418         * compatMakefile (CFLAGS, LDFLAGS): Set to @CFLAGS@/@LDFLAGS@.
2419         * build.template (CFLAGS, LDFLAGS): Same here.
2420         * configure.in: AC_SUBST(CFLAGS) and LDFLAGS.
2421         Set them to -g if not defined in the environment.
2423         * remake.c (library_search): Use LIBNAME consistently, setting it
2424         only once, to be the passed name sans `-l'.
2425         Pass new var FILE to be modified by vpath_search.
2427 Mon Jan 18 14:53:54 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2429         * Version 3.62.30.
2431         * job.c (start_waiting_jobs): Return when job_slots_used is equal to
2432         job_slots.
2434         * configure.in: Add AC_CONST for the sake of getopt.
2436         * read.c (read_makefile): Continue after parsing `override'
2437         directive, rather than falling through to lossage.
2438         Check for EOL or blank after "override define".
2440         * compatMakefile (.c.o, remote.o): Put $(CFLAGS) after other switches.
2442 Fri Jan 15 12:52:52 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2444         * Version 3.62.29.
2446         * main.c (define_makeflags): After writing everything into
2447         FLAGSTRING, only back up two chars if [-1] is a dash, meaning we
2448         just wrote " -".  Always terminate the string at *P.
2450         * remake.c (library_search): When constructing names in std dirs,
2451         use &(*LIB)[2] for the stem, not LIBNAME (which points at the
2452         buffer we are writing into!).
2454 Thu Jan 14 13:50:06 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2456         * read.c (read_makefile): Set IN_IGNORED_DEFINE for "override
2457         define" when IGNORING is true.
2459         * compatMakefile (distclean): Remove config.status and build.sh.
2461 Wed Jan 13 16:01:12 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2463         * Version 3.62.28.
2465         * misc.c (xmalloc, xrealloc): Cast result of malloc/realloc to
2466         (char *).
2468         * arscan.c (ar_scan) [AIAMAG]: Cast read arg to (char *).
2470         * variable.c (define_automatic_variables): Override SHELL value for
2471         origin o_env_override as well as o_env.
2473         * GNUmakefile (build.sh.in): Don't replace %globobjs%.  Instead,
2474         add the names of the glob objects (w/subdir) to %objs%.
2475         * build.template (globobjs): Removed.
2476         Take basename of $objs before linking.
2478 Tue Jan 12 12:31:06 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2480         * Version 3.62.27.
2482         * configure.in (AC_OUTPUT): Also edit build.sh.
2483         * build.template: New file.
2484         * GNUmakefile (build.sh.in): New rule to create it from build.template.
2485         (make-$(version).tar.Z): Depend on build.sh.in.
2487         * main.c (die): Call print_data_base if -p.
2488         (main): Don't call it here.
2490         * compatMakefile (defines): Add @DEFS@.  configure should turn this
2491         into -DHAVE_CONFIG_H.
2493 Mon Jan 11 14:39:23 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2495         * Version 3.62.26.
2497         * misc.c (init_access): Surround with #ifdef GETLOADAVG_PRIVILEGED.
2498         ({make,user,child}_access) [! GETLOADAVG_PRIVILEGED]: Make no-op.
2499         * compatMakefile (install_setgid): New var, set by configure.
2500         (install): Install setgid $(group) only if $(install_setgid) is true.
2502 Fri Jan  8 15:31:55 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2504         * job.c (load_too_high): If getloadavg fails with errno==0, give a
2505         message saying that load limits are not supported.
2507         * vpath.c (construct_vpath_list): Rewrote path deletion code to
2508         not try to use PATH's next link after freeing PATH.
2510         * main.c (define_makeflags): Rewritten; now handles string-valued
2511         option, and has no arbitrary limits.
2512         (switches): Set `toenv' flag for -I and -v.
2514         * main.c (decode_env_switches): Cast return value of alloca to char *.
2516         * misc.c (child_access) [HAVE_SETREUID, HAVE_SETREGID]: Use
2517         setre[gu]id in place of set[gu]id.
2519 Wed Jan  6 15:06:12 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2521         * main.c (main): Define MAKEOVERRIDES, MAKE, and MAKE_COMMAND with
2522         origin o_default.
2524         * make.h [POSIX]: Don't test this to use ANSI_STRING.
2525         Testing STDC_HEADERS should be sufficient.
2527         * job.h: Declare start_waiting_jobs.
2529         * read.c (read_makefile): Add missing parens in if stmt that find
2530         conditional directives.
2532         * main.c (main): Declare init_dir.
2533         * implicit.c (pattern_search): Always use two % specs in a
2534         DEBUGP2, and always pass two non-nil args.
2535         Cast field width args to int.
2536         Add missing parens in !RULE->subdir if stmt.
2537         * function.c (expand_function, patsubst_expand): Add parens around
2538         assignments inside `while' stmts.
2539         * commands.c (print_commands): Cast field width args to int.
2541         * read.c (do_define): Cast return value of alloca to (char *).
2543         * main.c (init_switches): New function, broken out of decode_switches.
2544         (decode_switches): Take new arg ENV.  If set, ignore non-option
2545         args; print no error msgs; ignore options with clear `env' flags.
2546         (decode_env_switches): Rewritten to chop envar value into words
2547         and pass them to decode_switches.
2548         (switches): Set `env' flag for -I and -v.
2550         * dir.c (init_dir): Cast free to __glob_closedir_hook's type.
2552 Tue Jan  5 14:52:15 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2554         * Version 3.62.25.
2556         * job.c [HAVE_SYS_WAIT || !USG]: Don't #include <sys/time.h> and
2557         <sys/resource.h>.  <sys/time.h> interacts badly with <time.h>, and
2558         we don't need these anyway.
2560         * configure.in (AC_HAVE_FUNCS): Check for setre[gu]id.
2561         * misc.c ({user,make}_access): Test #ifndef HAVE_SETRE[GU]ID, not
2562         #ifdef POSIX || USG.  SunOS 4.1 is supposedly POSIX.1 compliant,
2563         but its set[gu]id functions aren't; its setre[gu]id functions work.
2565         * misc.c ({user,make,child}_access): Give name of caller in error msgs.
2567         * job.c (load_too_high): Say "cannot enforce load limit" in error msg.
2569         * configure.in: Call AC_PROG_CC.
2570         * compatMakefile (CC): Define to @CC@ (autoconf magic).
2572         * compatMakefile: Add .NOEXPORT magic target.
2574 Mon Jan  4 17:00:03 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2576         * main.c (print_version): Updated copyright to include 93.
2578 Thu Dec 31 12:26:15 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2580         * make.h [_AIX]: Don't declare alloca.
2582 Tue Dec 29 13:45:13 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2584         * Version 3.62.24.
2586         * compatMakefile (objs): Add signame.o.
2587         (srcs): Add signame.[ch].
2589         * compatMakefile (srcs): Add config.h.in.
2590         (remote.o): Add -I. before -I$(srcdir).
2592 Mon Dec 28 15:51:26 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2594         * Version 3.62.23.
2596         * read.c (readline): Fatal when LEN==0, indicating a line starting
2597         with a NUL.
2598         (readline): Take new arg LINENO, for use in error msg.
2599         (read_makefile, do_define): Pass it.
2601         * compatMakefile (glob/libglob.a): Pass -DHAVE_CONFIG_H in CPPFLAGS.
2602         (.c.o): Add -I. before -I$(srcdir).
2604 Wed Dec 23 12:12:04 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2606         * read.c (read_makefile): Accept and ignore a rule with no targets.
2608         * compatMakefile (ALLOCA_SRC): New variable.
2609         (srcs): Include its value.
2611         * read.c (struct conditional): Renamed member `max_ignoring' to
2612         `allocated'; added new member `seen_else'.
2613         (conditional_line): Initialize seen_else flag when starting an `if...';
2614         set it when we see an `else'; fatal if set when we see `else'.
2615         (read_makefile): Fatal "missing `endif'" if there are any pending
2616         conditionals, not just if we are still ignoring.
2618 Tue Dec 22 15:36:28 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2620         * compatMakefile (manext): Set to 1, not l.
2621         ($(mandir)/$(instname).$(manext)): Use $(srcdir) for make.man in cmds.
2623         * file.c (file_hash_enter): Don't call uniquize_deps here.
2624         * read.c (record_files): Likewise.
2625         * implicit.c (pattern_search): Likewise.
2626         * commands.c (set_file_variables): Call it only here.
2628         * default.c (default_variables) [__convex__]: FC=fc.
2630         * variable.c (target_environment): Expand the values of recursively
2631         expanded variables when putting them into the environment.
2632         * expand.c (recursively_expand): Made global.
2633         * make.h (recursively_expand): Declare it.
2635         * remake.c (check_dep): Set FILE->command_state to cs_deps_running
2636         when a dep's command_state is cs_running or cs_deps_running.
2638         * read.c (read_makefile): Changed error msg for spurious cmds to
2639         not say "first target".
2641 Sun Dec 20 17:56:09 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
2643         * configure.in: Do AC_CONFIG_HEADER right after AC_INIT.
2644         * make.h (HAVE_CONFIG_H): #include "config.h", then #define this.
2645         * compatMakefile (config.h, configure, config.h.in): New rules.
2646         (defines): Removed @DEFS@.
2648 Thu Dec 17 16:11:40 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2650         * compatMakefile (realclean): Just depend on distclean; no cmds.
2651         (distclean): Do what realclean did before; also remove Makefile and
2652         config.h; don't remove configure.
2653         (info, dvi): New targets; depend on make.{info,dvi}.
2654         (doc): Removed target.
2655         (MAKEINFO, TEXI2DVI): New vars.
2656         (make.info, make.dvi): Use them instead of explicit cmds.
2658 Wed Dec 16 16:25:24 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2660         * configure.in: Added fcntl.h to AC_HAVE_HEADERS.  getloadavg cares.
2662 Wed Dec  9 15:21:01 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2664         * main.c (long_option_aliases): Add --new-file alias for -W.
2666         * default.c (default_variables): Change all C++ to CXX and C++FLAGS
2667         to CXXFLAGS.
2669         * read.c (do_define): Expand the variable name before using it.
2671         * main.c (main): Define variable "MAKE_COMMAND" to argv[0];
2672         define "MAKE=$(MAKE_COMMAND) $(MAKEOVERRIDES)" always.
2674         * remake.c (library_search): Search for libNAME.a in cwd; look in
2675         vpath before looking in standard dirs, not after.
2676         Changed order of std dirs to: /lib, /usr/lib, ${prefix}/lib.
2678 Mon Nov 23 14:57:34 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2680         * default.c (default_pattern_rules, default_terminal_rules): Added
2681         brackets around initializers.
2683         * variable.c (try_variable_definition): Don't check for LINE[0]=='\t'.
2684         (try_variable_definition): Expand the name before defining the var.
2686         * job.c (init_siglist): Removed function.
2687         Removed decl of `sys_siglist'.
2688         * make.h [! HAVE_SYS_SIGLIST]: #include "signame.h".
2689         [HAVE_SYS_SIGLIST && !SYS_SIGLIST_DECLARED]: Declare sys_siglist
2690         only under these conditions.
2691         * main.c (main): Don't declare init_siglist.
2692         (main) [! HAVE_SYS_SIGLIST]: Call signame_init instead of init_siglist.
2694 Wed Nov 18 14:52:51 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2696         * read.c (record_files): Don't try to append to FIRSTDEPS if it's
2697         nil; instead just set it to MOREDEPS.
2699 Mon Nov 16 17:49:17 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2701         * vpath.c (construct_vpath_list): Initialize P to DIRPATH before
2702         loop that sets MAXELEM.
2704 Fri Nov 13 18:23:18 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2706         * Version 3.62.22.
2708 Thu Nov 12 15:45:31 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2710         * job.c (start_job_command): Under -n, increment files_remade after
2711         processing (i.e., printing) all command lines.
2713 Tue Nov 10 15:33:53 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2715         * read.c (record_files): Append new deps if this rule has no
2716         commands; prepend them to existing deps if this rule has no commands.
2718         * dir.c (open_dirstream): Return nil if DIR->contents->files is nil.
2720         * read.c (parse_file_seq): Removed last arg STRIP.  Always strip `./'s.
2721         (read_makefile): Changed callers.
2722         * function.c (string_glob): Likewise.
2723         * rule.c (install_pattern_rule): Likewise.
2725 Mon Nov  9 17:50:16 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2727         * remake.c (files_remade): Made global.
2728         (notice_finished_file): Don't increment files_remade here; this
2729         function gets called in many situations where no remaking was in
2730         fact done.
2731         * job.c (reap_children): Do it here instead, when we know that
2732         actual commands have been run for the file.
2733         * make.h (files_remade): Declare it.
2735 Thu Nov  5 18:26:10 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2737         * vpath.c (construct_vpath_list): Allow blanks as well as colons to
2738         separate elts in the search path.
2740         * read.c (read_makefile): Don't fatal on extra tokens in `vpath'.
2741         The search path can contain spaces now.
2743 Tue Nov  3 20:44:32 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2745         * compatMakefile (check): New target; no-op.
2747         * file.c (file_hash_enter): Mod OLDHASH by FILE_BUCKETS after
2748         testing for OLDHASH==0 but before using the value.
2749         (rename_file): Don't mod OLDHASH by FILE_BUCKETS before passing it
2750         to file_hash_enter.
2752         * file.c (rename_file): Notice when OLDFILE->cmds came from
2753         default.c, and don't try to print ->filename in that case.
2755 Sun Oct 25 01:48:23 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2757         * remake.c (update_file): Don't process F->also_make here.
2758         (notice_finished_file): Don't process FILE->also_make if no attempt
2759         to update FILE was actually made.
2760         Fixed to call f_mtime directly to refresh their modtimes.
2762 Sat Oct 24 22:08:59 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2764         * read.c (find_percent): Don't increment P again after skipping
2765         an escaped %.
2767         * expand.c (variable_expand): In call to patsubst_expand, don't
2768         find `%'s ourselves; let that function do it.
2770         * read.c (read_makefile: record_waiting_files): Don't call
2771         record_files if FILENAMES is nil.
2772         (read_makefile): All alternatives in the parsing, except for rule
2773         lines, fall through to the end of the loop.  At the end of the
2774         loop, do record_waiting_files so we notice later spurious cmds.
2776 Fri Oct 23 15:57:37 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2778         * variable.c (define_automatic_variables): Free old value of SHELL
2779         before replacing it.
2781 Thu Oct 15 18:57:56 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2783         * compatMakefile (.c.o): Add -I$(srcdir)/glob to flags.
2785         * dir.c (open_dirstream): Cast return value to __ptr_t.
2787         * default.c (default_variables: "GET") [_IBMR2]: Use USG defn.
2789         * make.h (MAXPATHLEN): Moved out of #ifndef POSIX.
2790         (GET_PATH_MAX): Moved from #ifdef POSIX to #ifdef PATH_MAX #else.
2791         Define as (get_path_max ()).
2792         [! PATH_MAX] (NEED_GET_PATH_MAX): Define.
2793         [! PATH_MAX] (get_path_max): Declare fn.
2794         * misc.c [NEED_GET_PATH_MAX] (get_path_max): New function.
2796 Mon Oct 12 13:34:45 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2798         * Version 3.62.21.
2800         * job.c (sys_siglist): Only declare #ifndef SYS_SIGLIST_DECLARED.
2801         * make.h [! HAVE_SYS_SIGLIST && HAVE__SYS_SIGLIST]: #define
2802         SYS_SIGLIST_DECLARED.
2804         * dir.c (file_impossible): When initializing DIR->contents, set
2805         DIR->contents->dirstream to nil.
2807         * compatMakefile (GLOB): Define new variable.
2808         (objs): Use it, rather than glob/libglob.a explicitly.
2810         * read.c (parse_file_seq): When stripping "./", handle cases like
2811         ".///foo" and "./////".
2812         * file.c (lookup_file, enter_file): Likewise.
2814 Sun Oct 11 17:00:35 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2816         * dir.c (struct dirstream, {open,read}_dirstream): New
2817         data type and functions to read a directory sequentially.
2818         (init_dir): New function to hook it into glob.
2819         * main.c (main): Call init_dir.
2821         * compatMakefile (objs): Added glob/libglob.a.
2822         * configure.in: Remove code to test for glob.
2824 Fri Oct  9 12:08:30 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2826         * read.c (record_files): Generalized test for NAME pointing
2827         somewhere into F->name.
2829         * variable.c (define_variable_in_set): Free old value when replacing.
2831         * read.c (do_define): Free the linebuffer before returning.
2832         (record_files): When clearing .SUFFIXES deps, free their data.
2833         (multi_glob): Free OLD and its data when replacing it with results
2834         of glob run.
2836         * commands.c (set_file_variables): Use alloca in place of xmalloc
2837         for temp space for $^, $?, et al.
2839         * dir.c (struct directory): New member `contents' replaces `files'
2840         and `dirstream'.
2841         (struct directory_contents): New type.
2842         (directories_contents): New hash table.
2843         (dir_struct_file_exists_p): Take a struct directory_contents.
2844         (dir_file_exists_p): Pass it the `contents' member of the dir found.
2845         (dir_struct_file_exists_p): Renamed to dir_contents_file_exists_p;
2846         made static.  Return 0 if DIR is nil (meaning it couldn't be stat'd).
2847         (dir_file_exists_p, find_directory): Change all callers.
2848         (file_impossible): Use DIR->contents, initializing it if nil.
2849         (print_dir_data_base): Use DIR->contents, and print out device and
2850         inode numbers with each directory.
2852         * Changes for performance win from John Gilmore <gnu@cygnus.com>:
2853         * dir.c (DIRECTORY_BUCKETS): Increase to 199.
2854         (DIRFILE_BUCKETS): Decrease to 107.
2855         (find_directory): Allocate and zero a multiple of
2856         sizeof (struct dirfile *), not of sizeof (struct dirfile).
2857         (dir_struct_file_exists_p): New function, nearly all code from
2858         dir_file_exists_p.
2859         (dir_file_exists_p): Just call find_directory+dir_struct_file_exists_p.
2860         * vpath.c (selective_vpath_search): Remove redundant
2861         dir_file_exists_p call.
2863         * configure.in: Comment out glob check; always use our code.
2865 Fri Oct  2 19:41:20 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2867         * make.h [! HAVE_SYS_SIGLIST && HAVE__SYS_SIGLIST]: #define
2868         HAVE_SYS_SIGLIST; after doing #define sys_siglist _sys_siglist, we
2869         do have it.
2871 Wed Sep 30 19:21:01 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2873         * main.c (main): Don't do -w automatically if -s.
2875 Tue Sep 29 21:07:55 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2877         * main.c (printed_version): Move variable inside print_version.
2878         (print_version): Return immediately if printed_version is set.
2879         (die): Don't test printed_version here.
2880         (decode_switches): Under -v, do print_version before giving usage.
2881         (DESCRIPTION_COLUMN): New macro.
2882         (decode_switches): Use it when printing the usage message.
2883         Leave at least two spaces between options and their descriptions.
2885 Fri Sep 25 13:12:42 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2887         * Version 3.62.20.
2889 Wed Sep 16 16:15:22 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2891         * read.c (read_makefile): Save errno value from trying to open
2892         FILENAME, and restore it before erring; otherwise we get the errno
2893         value from the last elt of the search path.
2895 Tue Sep 15 15:12:47 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2897         * main.c (long_option_aliases): Add --stop for -S.
2899         * read.c (word1eq): Do strncmp before dereferencing someplace that
2900         may be out in space.
2902 Wed Sep  9 15:50:41 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2904         * remake.c (notice_finished_file): If all the command lines were
2905         recursive, don't do the touching.
2907         * job.c (start_job_command): Don't check for + here.
2908         * commands.c (chop_commands): Do it here instead.
2910         * default.c (default_terminal_rules): Prepend + to cmds for RCS.
2912 Wed Sep  2 17:53:08 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2914         * compatMakefile (objs): Include $(ALLOCA).
2916         * make.h [CRAY]: Move #define signal bsdsignal to before #includes.
2918 Thu Aug 27 17:45:43 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
2920         * read.c (default_include_directories): Add INCLUDEDIR first.
2921         * compatMakefile (includedir): Define.
2922         (defines): Add -D for INCLUDEDIR="$(includedir)".
2924         * read.c (read_makefile): Grok multiple files in `include';
2925         globbing too.
2927         * remake.c (library_search): New function.
2928         (library_file_mtime): Remove function.
2929         (f_mtime): Use library_search instead of library_file_mtime.
2930         * compatMakefile (libdir): Define.
2931         (defines): Add -D for LIBDIR="$(libdir)".
2932         * make.texinfo (Libraries/Search): Document change.
2934         * file.c (rename_file): Fix file_hash_enter call with missing arg.
2936 Wed Aug 26 17:10:46 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2938         * Version 3.62.19.
2940         * main.c (main): Set command_state to cs_finished for temp files
2941         made for stdin makefiles.
2943         * main.c (decode_switches): Don't tell getopt to return non-option
2944         args in order.
2945         Ignore an argument of `-'.
2947 Thu Aug 20 13:36:04 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2949         * job.c (start_job_command): If (touch_flag && !RECURSIVE), ignore
2950         the command line and go to the next.
2951         (notice_finished_file): Under -t, touch FILE.
2952         * remake.c (remake_file): Don't touch it here.
2954 Wed Aug 19 16:06:09 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2956         * function.c (pattern_matches): Use temporary for strlen (WORD)
2957         instead of two function calls.
2959         * compatMakefile (LOAD_AVG): Remove variable and comments.
2961 Tue Aug 18 14:58:58 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2963         * make.texinfo (Running): Node renamed to `make Invocation'.
2965 Fri Aug 14 12:27:10 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2967         * arscan.c (ar_name_equal): Don't compare [MAX-3..MAX] if
2968         NAMELEN != MEMLEN.
2970 Thu Aug 13 17:50:09 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2972         * Version 3.62.18.
2974         * main.c: Don't #include <time.h>; make.h already does.
2976 Mon Aug 10 17:03:01 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2978         * implicit.c (pattern_search): Fixed copying of suffix when building
2979         also_make elts.
2981         * function.c (expand_function: `shell'): Make sure BUFFER is
2982         null-terminated before replacing newlines.
2984         * compatMakefile (mandir): Use man$(manext), not always manl.
2986 Sun Aug  2 01:42:50 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
2988         * rule.c (new_pattern_rule): Not static.
2989         * rule.h: Declare it.
2991         * file.c (file_hash_enter): New function, most code from rename_file.
2992         (rename_file): Call it.
2993         * file.h (file_hash_enter): Declare it.
2995         * dep.h: Doc fix.
2997 Thu Jul 30 15:40:48 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
2999         * main.c (decode_switches): Handle usage_and_exit when building
3000         long options vector.
3002         * default.c (default_terminal_rules): Make RCS rules use $(CHECKOUT,v).
3003         (default_variables): Define CHECKOUT,v (hairy).
3005         * make.h [!HAVE_SYS_SIGLIST && HAVE__SYS_SIGLIST]: #define
3006         sys_siglist to _sys_siglist.
3008 Sun Jul 26 16:56:32 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3010         * NEWS: Add header and tail copyright info like Emacs NEWS.
3012         * make.h [ANSI_STRING]: Don't #define index, rindex, bcmp, bzero,
3013         bcopy if already #define'd.
3014         [STDC_HEADERS] (qsort, abort, exit): Declare here.
3015         [! __GNU_LIBRARY__ && !POSIX]: Not here.
3017         * make.h [_AIX]: #pragma alloca first thing.
3019         * job.c (start_waiting_job): Set the command_state to cs_running
3020         when we queue a job on waiting_jobs.
3022 Fri Jul 24 02:16:28 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3024         * variable.c (define_automatic_variables): Use "" instead of nil
3025         for empty value.
3027 Thu Jul 23 22:31:18 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3029         * Version 3.62.17.
3031         * main.c (struct command_switch.type): Add alternative usage_and_exit.
3032         (command_switches): Add -h/--help.
3034 Thu Jul 16 14:27:50 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3036         * GNUmakefile (make-$(version).tar.Z): Include NEWS, not CHANGES.
3037         * README.template: Mention NEWS.
3038         * CHANGES: Renamed to NEWS.
3040         * main.c [! STDC_HEADERS] [sun]: Don't declare exit.
3042 Tue Jul 14 18:48:41 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3044         * main.c (main): Set -o files' command_states to cs_finished.
3046         * rule.c (count_implicit_rule_limits): Decrement num_pattern_rules
3047         when tossing a rule.
3049         * main.c (main): Use alloca only in simple local var assignment,
3050         for braindead SGI compiler.
3052         * rule.c (print_rule_data_base): Barf if num_pattern_rules is
3053         inconsistent with the number computed when listing them.
3055 Mon Jul 13 17:51:53 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
3057         * commands.c (set_file_variables): For $? and $^ elts that are archive
3058         member refs, use member name only.
3060 Fri Jul 10 00:05:04 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3062         * variable.h (struct variable.export): Add new alternative v_ifset.
3063         * variable.c (target_environment): Check for it.
3064         (define_automatic_variables): Set it for MAKEFILES.
3066 Thu Jul  9 21:24:28 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3068         * compatMakefile (objs): Remove getloadavg.o; $(extras) gets it.
3069         (remote.o): Use $(srcdir)/remote.c, not $remote.c<.
3070         (distclean, mostlyclean): New targets.
3072 Tue Jul  7 19:12:49 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3074         * Version 3.62.16.
3076         * compatMakefile (config.status): Remove rule.
3078         * job.c (start_waiting_job): Free C after using C->file, not before.
3080 Sat Jul  4 20:51:49 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3082         * commands.c, job.c, main.c, make.h, remote-cstms.c: Use #ifdef
3083         HAVE_* instead of #ifndef *_MISSING.
3084         * configure.in: Use AC_HAVE_FUNCS instead of AC_MISSING_FUNCS (gone).
3086 Thu Jul  2 18:47:52 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3088         * main.c (main): makelevel>0 or -C implies -w.
3090 Tue Jun 30 20:50:17 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3092         * file.c, job.c, function.c: Don't #include <errno.h>.
3093         make.h: Do it here instead.
3094         * arscan.c (ar_member_touch): Don't declare errno.
3096 Thu Jun 25 17:06:55 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
3098         * GNUmakefile (make-$(version).tar.Z): Depend on INSTALL, configure.in.
3100         * remake.c (update_file): If commands or deps are running after
3101         update_file_1 returns, break out of the :: rule (->prev) loop and
3102         just return.
3104         * job.c (job_next_command): New function; code from start_job.
3105         (start_job_command): Renamed from start_job.  Call job_next_command
3106         and recurse for empty command lines and -n.
3107         (start_waiting_job): Call start_job_command, not start_job.
3108         (new_job): Call job_next_command to prime the child structure, and
3109         then call start_waiting_job.
3110         (reap_children): Use job_next_command and start_job_command.
3111         (start_waiting_job): Call start_remote_job_p here, and store its
3112         result in C->remote.  If zero, check the load average and
3113         maybe put C on waiting_jobs.
3114         (start_job_command): Test CHILD->remote rather than calling
3115         start_remote_job_p.  Don't do load avg checking at all here.
3117         * main.c (main): Don't handle SIGILL, SIGIOT, SIGEMT, SIGBUS,
3118         SIGSEGV, SIGFPE or SIGTRAP.
3120         * compatMakefile (glob/libglob.a): Don't pass srcdir to sub-make.
3121         configure will set it in glob/Makefile.
3123 Wed Jun 24 19:40:34 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3125         * dir.c [DIRENT] (direct): Don't define to dirent.
3126         [! DIRENT] (direct): Define to dirent.
3127         (dir_file_exists_p): Use struct dirent instead of struct direct.
3129         * make.h (getcwd): No space between macro and ( for args!
3131         * job.c (start_job): Don't put the job on waiting_jobs if
3132         job_slots_used==0.
3134         * make.texinfo (Missing): Shortened title.
3136 Tue Jun 23 18:42:21 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3138         * file.c (remove_intermediates): Print "rm" commands under -n.
3140 Mon Jun 22 16:20:02 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
3142         * Version 3.62.15.
3144 Fri Jun 19 16:20:26 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3146         * arscan.c [M_UNIX]: #undef M_XENIX.
3148 Wed Jun 17 17:59:28 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
3150         * default.c (default_terminal_rules): Put @ prefix on RCS cmds.
3152 Tue Jun 16 19:24:17 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3154         * compatMakefile (getloadavg.o): Removed special rule.
3155         (CFLAGS): Don't include $(defines).
3156         (.c.o): Define suffix rule.
3157         (glob/libglob.a): Pass CPPFLAGS=$(defines) to submake.
3158         (GETOPT_SRC, srcs, tagsrcs): Prefix files with $(srcdir)/.
3160         * arscan.c (ar_name_equal): Moved local vars inside #if'd block.
3162         * make.h (max): Removed.
3163         * expand.c (variable_buffer_output): Don't use it.
3165         * compatMakefile (INSTALL): Define.
3166         (Makefile): New rule to make from Makefile.in.
3167         (srcdir): Define.
3168         (VPATH): Define.
3169         (getloadavg.o, remote.o): Use autoconf $foo< hack.
3171         * commands.c (fatal_error_signal): Removed return.
3173 Mon Jun 15 17:42:51 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3175         * Version 3.62.14.
3177         * make.texinfo (Summary): New node.
3178         (Special Targets): Mention .EXPORT_ALL_VARIABLES here.
3180         * variable.c (max): Moved to make.h.
3182         * compatMakefile (objs, srcs): Added ar & arscan.
3184         * job.c (start_waiting_job): New function, 2nd half of new_job.
3185         (new_job): Call it.
3186         (start_waiting_jobs): New function.
3187         * remake.c (update_goal_chain): Call start_waiting_jobs at the top
3188         of the main loop.
3189         * compatMakefile (objs, srcs): Removed load, added getloadavg.
3191 Fri Jun 12 19:33:16 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
3193         * job.c (load_too_high): New function.  Uses getloadavg.
3194         (waiting_jobs): New variable.
3195         (start_job): Don't call wait_to_start_job.  Instead, if
3196         load_too_high returns nonzero, add the child to the
3197         `waiting_jobs' chain and return without starting the job.
3199 Thu Jun 11 00:05:28 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
3201         * expand.c (variable_buffer_output): Made global again.
3202         * variable.h: And declare it.
3204         * arscan.c (PORTAR): Define for all systems if PORT5AR is not defined.
3205         (AR_NAMELEN, AR_TRAILING_SLASH): Removed.
3206         (ar_scan): Don't use it.  Don't #ifdef AR_TRAILING_SLASH; just look
3207         for a slash in the archive at run time.
3208         (ar_name_equal): Rewrote .o hacking to not use AR_NAMELEN, and to
3209         cope with trailing-slash and non-trailing-slash archives.
3211         * main.c (main) [! SETVBUF_REVERSED]: Test this instead of USGr3 et al.
3212         [SETVBUF_REVERSED]: Always allocate a buffer ourselves.
3214         * load.c (load_average) [sgi]: Use sysmp call.
3216         * compatMakefile (INSTALL_DATA, INSTALL_PROGRAM): Define.
3217         ($(bindir)/$(instname), $(mandir)/make.$(manext)): Use them.
3219         * make.h [HAVE_VFORK_H]: #include <vfork.h>.
3220         (vfork, VFORK_NAME): Don't define.
3221         * job.c (start_job): Use "vfork" in place of VFORK_NAME.
3223         * make.h [HAVE_LIMITS_H, HAVE_SYS_PARAM_H]: If #define'd, #include
3224         the each file.  Rearranged PATH_MAX hacking.
3225         * job.c: Rearranged NGROUPS_MAX hacking.
3227         * remake.c (fstat, time): Don't declare.
3229         * compatMakefile (defines): Value is @DEFS@.
3230         (LOADLIBES): Value is @LIBS@.
3231         (extras): Value is @LIBOBJS@.
3232         (ARCHIVES, ARCHIVES_SRC, ALLOCASRC): Removed.
3233         * arscan.c, ar.c: Surround body with #ifndef NO_ARCHIVES.
3235         * misc.c [! HAVE_UNISTD_H]: Test instead of !POSIX to decl get*id.
3237         * make.h [GETCWD_MISSING]: Test instead of !USG && !POSIX et al.
3238         (getcwd): Just declare if present.  If not, declare as a macro
3239         using getwd, and declare getwd.
3240         [PATH_MAX] (GET_PATH_MAX): #define to PATH_MAX.
3241         * main.c (main, log_working_directory): Use getcwd instead of getwd.
3243         * main.c (main) [SETLINEBUF_MISSING]: Test this instead of USG.
3245         * make.h (SIGHANDLER, SIGNAL): Removed.
3246         (RETSIGTYPE): Define if not #define'd.
3247         * main.c (main): Use signal in place of SIGNAL.
3249         * main.c [SYS_SIGLIST_MISSING]: Test instead of USG.
3251         * job.c (search_path) [GETGROUPS_MISSING]: Test instead of USG.
3252         [HAVE_UNISTD_H]: Test instead of POSIX to not decl getgroups.
3254         * main.c [! HAVE_UNISTD_H]: Test instead of !POSIX to decl chdir.
3255         [! STDC_HEADERS]: Test instead of !POSIX to decl exit & atof.
3257         * job.c (child_handler), commands.c (fatal_error_signal): Return
3258         RETSIGTYPE instead of int.
3259         * main.c (main): Declare fatal_error_signal and child_handler here
3260         to return RETSIGTYPE; removed top-level decl of former.
3262         * commands.c (fatal_error_signal), job.c (unblock_sigs, start_job),
3263         main.c [SIGSETMASK_MISSING]: Test this instead of USG.
3265 Wed Jun 10 22:06:13 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
3267         * job.c [HAVE_WAITPID]: Test this instead of USG.
3268         [! HAVE_UNISTD_H]: Test this instead of !POSIX to declare misc fns.
3269         (GID_T): Don't #define.
3270         (search_path): Use gid_t instead of GID_T.
3271         [GETDTABLESIZE_MISSING, SYS_SIGLIST_MISSING, DUP2_MISSING]: Test
3272         these individually instead of USG for all.
3273         * make.h (ctime): Don't declare.  #include time.h instead.
3274         [HAVE_UNISTD_H]: #include <unistd.h> and #define POSIX #ifdef
3275         _POSIX_VERSION.
3276         * dir.c [__GNU_LIBRARY__] (D_NAMLEN): Define to use d_namlen member.
3277         * make.h [NEED_MEMORY_H]: Only include memory.h #ifdef this.
3279         * arscan.c: Removed #ifdef mess about string.h et al.
3280         Just #include make.h instead.
3281         * make.h (fstat, atol): Declare.
3283         * commands.c (fatal_error_signal): Don't use sigmask to check for
3284         propagated signals; use ||s instead.
3285         (PROPAGATED_SIGNAL_MASK): Removed.
3286         (fatal_error_signal) [POSIX]: Use sigprocmask in place of sigsetmask.
3288         * variable.c (variable_buffer, variable_buffer_length,
3289         initialize_variable_output, variable_output): Moved to expand.c;
3290         made all static.
3291         (struct output_state, save_variable_output,
3292         restore_variable_output): Removed.
3293         * expand.c (initialize_variable_output): Put a NUL at the beginning
3294         of the new buffer after allocating it.
3295         (allocated_variable_expand_for_file): Don't use
3296         {save,restore}_variable_output.  Do it by hand instead, keeping
3297         state on the stack instead of malloc'ing it.
3298         (allocated_variable_expand): Removed.
3299         * variable.h (allocated_variable_expand): Define here as macro.
3300         (variable_buffer_output, initialize_variable_output,
3301         save_variable_output, restore_variable_output): Removed decls.
3303         * read.c (conditional_line): For an if cmd, if any elt of the
3304         conditionals stack is ignoring, just push a new level that ignores
3305         and return 1; don't evaluate the condition.
3307 Thu Jun  4 21:01:20 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
3309         * main.c (main): Put #ifdef's around frobbing SIGSYS and SIGBUS.
3311         * job.c (getdtablesize): Don't declare or #define if already #define'd.
3313 Wed Jun  3 23:42:36 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
3315         * file.c (snap_deps): If `.EXPORT_ALL_VARIABLES' is a target, set
3316         export_all_variables.
3317         * make.texinfo (Variables/Recursion): Document .EXPORT_ALL_VARIABLES.
3319 Tue Jun  2 21:08:35 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
3321         * Version 3.62.13.
3323         * commands.c (set_file_variables): Calculate length for ^D and ?D
3324         individually, making sure to give them at least enough space for "./".
3326         * make.h [CRAY]: #define signal to bsdsignal.
3328         * default.c (default_variables) [CRAY]: Define PC, SEGLDR,
3329         CF77PPFLAGS, CF77PP, CFT, CF, and FC.
3331         * arscan.c (AR_HDR_SIZE): Define to sizeof (struct ar_hdr), if it
3332         wasn't defined by <ar.h>.
3334 Thu May 28 00:56:53 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
3336         * Version 3.62.12.
3338 Tue May 26 01:26:30 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
3340         * rule.c (new_pattern_rule): Initialize LASTRULE to nil, not
3341         pattern_rules.
3343 Mon May 25 19:02:15 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
3345         * main.c (decode_switches): Initialize all the long_option elt members.
3347 Thu May 21 16:34:24 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
3349         * make.texinfo (Text Functions): Correct filter-out description.
3351 Tue May 19 20:50:01 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
3353         * compatMakefile (realclean): Don't remove backup files.
3355         * main.c (decode_switches): Allocate ARGC+1 elts in `other_args'.
3357 Sun May 17 16:38:48 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
3359         * Version 3.62.11.
3361 Thu May 14 16:42:33 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
3363         * job.c (reap_children): Don't die if wait returns EINTR.
3365 Wed May 13 18:28:25 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
3367         * job.c (reap_children): Always run the next command for a
3368         successful target.  If we are going to die, we don't want to leave
3369         the target partially made.
3371 Tue May 12 00:39:19 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
3373         * job.c (construct_command_argv_internal): After loop, if we only
3374         have one word, check it for being a shell command.
3376         * main.c (decode_switches): Allocate ARGC slots in other_args to
3377         begin with, so we never need to worry about growing it.
3378         If we get a non-option arg and POSIXLY_CORRECT is in the
3379         environment, break out of the loop.  After the loop, add all remaining
3380         args to other_args list.
3382         * main.c (decode_switches): For positive_int and floating switches
3383         when optarg is nil, use next arg if it looks right (start with a
3384         digit, or maybe decimal point for floating).
3386         * variable.c (define_automatic_variables): Always set SHELL to
3387         default if it comes from the environment.  Set its export bit.
3388         * make.texinfo (Environment): Document change.
3390 Mon May 11 00:32:46 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
3392         * Version 3.62.10.
3394         * compatMakefile (tags, TAGS): Use vars for cmds.
3395         (ETAGS, CTAGS): Define.
3397         * main.c (decode_switches): If a switches elt has a nil long_name,
3398         make the long option name elt be "".
3399         Fixed loop to not ignore all the options.
3401         * make.texinfo (Option Summary): Added long options.
3403         * main.c (switches): Changed -m's description to "-b".
3404         (decode_switches): When printing the usage message, don't print
3405         switches whose descriptions start with -.
3406         When constructing the list of names for switch -C, search the
3407         switches vector for switches whose descriptions are "-C".
3409         * main.c (switches): Call -S --no-keep-going, not --dont-keep-going.
3410         Call -I --include-dir, not --include-path.
3411         (long_option_aliases): Added --new == -W, --assume-new == -W,
3412         --assume-old == -o, --max-load == -l, --dry-run == -n, --recon == -n,
3413         --makefile == -f.
3415         * main.c (switches): Removed bogus "silent" elt.
3416         (long_option_aliases): Define new var.
3417         (decode_switches): Add long_option_aliases onto the end of the long
3418         options vector created for getopt_long.
3419         Look through long_option_aliases for extra names to list
3420         in usage message.
3422 Sat May  9 00:21:05 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
3424         * main.c (log_working_directory): Fixed to properly not print the
3425         leaving message when we haven't printed the entering message.
3427 Fri May  8 21:55:35 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
3429         * main.c (struct command_switch): Added elts `long_name',
3430         `description', and `argdesc'.
3431         (switches): Added initializers for new members.
3432         (decode_switches): Rewritten to use getopt_long.
3433         * compatMakefile (GETOPT, GETOPT_SRC): Define.
3434         (objs, srcs): Include them.
3436         * job.c (child_died): Renamed to dead_children; made static.
3437         (child_handler): Increment dead_children instead of setting child_died.
3438         (reap_children): Decrement dead_children instead of clearing
3439         child_died.  The point of all this is to avoid printing "waiting
3440         for unfinished jobs" when we don't actually need to block.
3441         This happened when multiple SIGCHLDs before reap_children was called.
3443         * job.c (reap_children): If ERR is set, so we don't call start_job
3444         on the child being reaped, instead set its command_state to
3445         cs_finished.
3446         (reap_children, child_handler, new_job): I added several
3447         debugging printf's while fixing this.  I left them in if (debug_flag)
3448         because they may be useful for debugging this stuff again.
3450 Wed May  6 22:02:37 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
3452         * read.c (read_makefile): v_export is not 1.
3454 Mon May  4 17:27:37 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3456         * Version 3.62.9.
3458         * variable.c (export_all_variables): New variable.
3459         (target_environment): Export variables whose `export' member is
3460         v_default if export_all_variables is set and their names are benign.
3461         * variable.h: Declare export_all_variables.
3462         * read.c (read_makefile): If export or unexport is given with no
3463         args, set or clear export_all_variables, respectively.
3465         * variable.c (target_environment): Exclude MAKELEVEL in the loop,
3466         so it isn't duplicated when we add it at the end.
3468 Sun May  3 17:44:48 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
3470         * Version 3.62.8.
3472         * variable.h (struct variable): Added new member `export'.
3473         * variable.c (define_variable_in_set): Initialize it to v_default.
3474         (target_environment): Don't check for .NOEXPORT.
3475         Export variables whose `export' member is v_default and that would
3476         have been exported under .NOEXPORT, and variables whose `export'
3477         member is v_export.
3478         (try_variable_definition): Return the variable defined.
3479         * variable.h (try_variable_definition): Changed decl.
3480         * read.c (read_makefile): Recognize `export' and `unexport' directives.
3482 Fri May  1 11:39:38 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
3484         * main.c (main) [POSIX]: Reversed args to sigaddset.
3486 Thu Apr 30 17:33:32 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
3488         * job.c [POSIX || !USG] (unblock_sigs): New fn.
3489         (start_job): Block signals before forking.
3490         (new_job): Unblock signals after putting the new child on the chain.
3491         * main.c (main) [POSIX]: Use sigset_t fatal_signal_set instead of
3492         int fatal_signal_mask.
3494         * load.c [sgi] (LDAV_CVT): Define.
3496 Wed Apr 29 17:15:59 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
3498         * Version 3.62.7.
3500         * load.c (load_average) [sgi]: Clear the high bit of the address
3501         from the symbol table before looking it up in kmem.
3503         * misc.c (fatal, makefile_fatal): Put *** in fatal error messages.
3504         (remake_file): No longer needed in message here.
3506         * main.c (die): Call reap_children with BLOCK==1.
3508 Tue Apr 28 20:44:35 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
3510         * rule.c (freerule): Don't set LASTRULE->next if LASTRULE is nil.
3512 Sun Apr 26 15:09:51 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
3514         * rule.c (count_implicit_rule_limits): Initialize LASTRULE to nil,
3515         not to head of chain.  Extract next ptr before we might do
3516         freerule, and use that for next iteration.
3517         (freerule): Still do next ptr frobbing if LASTRULE is nil.
3519 Tue Apr 21 03:16:29 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
3521         * job.c (child_error): Removed extra %s from error msg format.
3523         * Version 3.62.6.
3525         * job.c (reap_children): Don't start later commands in a sequence
3526         if ERR is nonzero.
3528         * job.c (new_job): Always call reap_children with BLOCK==0 first thing.
3530         * job.c (reap_children): New function; work that used to be done in
3531         child_handler.
3532         (child_died): New global var.
3533         (child_handler): Now just sets child_died.
3534         (wait_for_children): Removed.
3535         (unknown_children_possible, block_signals, unblock_signals,
3536         push_signals_blocked_p, pop_signals_blocked_p): Removed.
3537         (child_execute_job): Removed call to unblock_signals.
3538         (new_job): Removed calls to push_signals_blocked_p and
3539         pop_signals_blocked_p.
3540         * job.h: Declare reap_children, not wait_for_children.
3541         * commands.c (fatal_error_signal), job.c (new_job),
3542         load.c [LDAV_BASED] (wait_to_start_job), main.c (die),
3543         remake.c (update_goal_chain), function.c (expand_function: `shell'):
3544         Changed wait_for_children calls to reap_children.
3545         Some needed to be loops to wait for all children to die.
3546         * commands.c (fatal_error_signal), main.c (main,
3547         log_working_directory), function.c (expand_function): Removed calls
3548         to push_signals_blocked_p and pop_signals_blocked_p.
3549         * job.h: Removed decls.
3551         * job.h: Added copyright notice.
3553 Wed Apr 15 02:02:40 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3555         * job.c (child_error): No *** for ignored error.
3557 Tue Apr 14 18:31:21 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3559         * implicit.c (DEBUGP2): Use do ... while (0) instead of if ... else to
3560         avoid compiler warnings.
3562         * read.c (parse_file_seq): Don't remove ./ when it is followed by a
3563         blank.
3565 Mon Apr 13 21:56:15 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3567         * make.h (DEBUGPR): Use do ... while (0) instead of if ... else to
3568         avoid compiler warnings.
3570         * remake.c (notice_finished_file): Run file_mtime on the also_make
3571         files, so vpath_search can happen.
3573         * GNUmakefile (tests): Use perl test suite from csa@sw.stratus.com.
3574         (alpha-files): Include test suite tar file.
3576 Fri Apr  3 00:50:13 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
3578         * Version 3.62.5.
3580 Wed Apr  1 05:31:18 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3582         * remake.c (update_file, update_file_1): Do check_renamed on elts
3583         of dep chains when traversing them.  Something unrelated might have
3584         renamed one of the files the dep chain points to.
3586         * file.c (rename_file): If FILE has been renamed, follow its
3587         `renamed' ptr, so we get to the final real FILE.  Using the renamed
3588         ones loses because they are not in the hash table, so the removal
3589         code loops infinitely.
3591         * read.c (read_all_makefiles): Clobber null terminator into
3592         MAKEFILES expansion, so string passed to read_makefile is properly
3593         terminated.
3595 Mon Mar 30 20:18:02 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
3597         * commands.c (set_file_variables): $* for archive member with
3598         explicit cmds is stem of member, not of whole `lib(member)'.
3600 Thu Mar 26 15:24:38 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
3602         * Version 3.62.4.
3604 Tue Mar 24 05:20:51 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3606         * rule.c (new_pattern_rule): Rules are identical only if all their
3607         targets match (regardless of order).
3609 Wed Mar 11 13:49:54 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
3611         * remake.c (remake_file): Changed error "no way to make" to "no
3612         rule to make".  Fiat Hugh.
3614         * make.texinfo (Last Resort): Describe %:: rules and new .DEFAULT
3615         behavior.
3617         * remake.c (update_file_1): Only use .DEFAULT cmds if FILE is not a
3618         target.
3620 Tue Mar 10 18:13:13 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
3622         * remote-stub.c, remote-cstms.c (start_remote_job): Take new arg,
3623         environment to pass to child.
3624         * job.c (start_job): Pass it.
3626 Mon Mar  9 19:00:11 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3628         * file.c (enter_file): Also strip ./s here, to get command-line
3629         target names.
3631         * remote-cstms.c: Add comment telling people to leave me alone.
3633         * compatMakefile (manpage install): Remove target before copying.
3635 Tue Mar  3 18:43:21 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3637         * make.texinfo (Missing): Renamed to "Incompatibilities and ...".
3638         Added paragraph describing $? incompatibility with Unix and POSIX.2.
3640 Sun Mar  1 15:50:54 1992  Roland McGrath  (roland@nutrimat.gnu.ai.mit.edu)
3642         * function.c (expand_function: `shell'): Don't declare fork or pipe.
3643         Use vfork instead of fork.
3645 Tue Feb 25 22:05:32 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
3647         * make.texinfo (Chained Rules): Clarify .PRECIOUS to save
3648         intermediate files.
3650         * load.c [sun] (LDAV_CVT): Define to divide by FSCALE.
3652 Sun Feb 16 02:05:16 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
3654         * Version 3.62.3.
3656 Sat Feb 15 17:12:20 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
3658         * compatMakefile (makeinfo): Use emacs batch-texinfo-format fn.
3660 Fri Feb 14 00:11:55 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
3662         * read.c (read_makefile): Correctly handle define & endef in ifdefs.
3664         * read.c (record_files): Pass arg for %s in error msg.
3666         * main.c (main) [__IBMR2, POSIX]: Use correct (a la USGr3) setvbuf
3667         call.
3669 Wed Feb 12 12:07:39 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
3671         * make.texinfo (Libraries/Search): Say it does /usr/local/lib too.
3673 Sun Feb  9 23:06:24 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3675         * read.c (read_makefile): Check for extraneous `endef' when ignoring.
3677 Thu Feb  6 16:15:48 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3679         * Version 3.62.2.
3681 Tue Feb  4 20:04:46 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3683         * job.c (construct_command_argv_internal): Correctly ignore
3684         whitespace after backslash-NL.
3686 Fri Jan 31 18:30:05 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3688         * compatMakefile: Ignore errors from chgrp and chmod when installing.
3690 Wed Jan 29 18:13:30 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
3692         * main.c (main): When setting MAKELEVEL in the env to re-exec,
3693         allocate space so as not to clobber past the end of the old string.
3695         * make.h [HAVE_ALLOCA_H]: Include <alloca.h>
3696         * compatMakefile (defines): Document HAVE_ALLOCA_H.
3698 Mon Jan 20 13:40:05 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
3700         * make.h [VFORK_MISSING]: Use fork instead.
3701         * compatMakefile (defines): Document same.
3703         * job.c (construct_command_argv_internal): Don't create an empty
3704         arg if backslash-NL is at beginning of word.
3706 Sun Jan 19 16:26:53 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
3708         * main.c [DGUX]: Call setvbuf as for USGr3.
3710         * job.c (construct_command_argv_internal): Notice correctly that
3711         backslash-NL is the end of the arg (because it is replaced with a
3712         space).
3714 Thu Jan 16 18:42:38 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
3716         * job.c (construct_command_argv_internal): If SHELL is nil, set it
3717         to default_shell before proceeding.
3719         * make.h [sgi]: No alloca.h, after all.
3721 Wed Jan 15 12:30:04 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
3723         * read.c (multi_glob): Cons up the chain of the results of glob
3724         from back to front, so it comes out in forward order.
3726         * job.c (construct_command_argv_internal): Don't eat char following
3727         backslash-NL.
3729 Mon Jan 13 19:16:56 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
3731         * Version 3.62.1.
3733         * default.c (default_variables) [ultrix]: GET=get, like USG.
3735         * job.c (construct_command_argv_internal): Remove tabs following
3736         backslash-NL combos in the input line, so they don't show up when
3737         that line is printed.
3739         * read.c (read_makefile): Don't collapse_continuations the line on
3740         input; do it on the copy we do remove_comments on.
3741         For rule lines, collapse_continuations the line after chopping
3742         ";cmds" off the end, so we don't eat conts in the cmds.
3743         Give error for ";cmds" with no rule.
3744         * job.c (construct_command_argv_internal): Eat backslash-NL combos
3745         when constructing the line to recurse on for slow, too.
3747 Sat Jan 11 02:20:27 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
3749         * file.c (enter_file): Don't strip leading `./'s.
3750         * read.c (parse_file_seq): Take new arg STRIP; if nonzero, do it here.
3751         * default.c (set_default_suffixes), function.c (string_glob),
3752         read.c (read_makefile), rule.c (install_pattern_rule): Change callers.
3754         * default.c (default_variables) [_IBMR2]: FC=xlf
3756         * job.c (construct_command_argv_internal): Turn backslash-NL and
3757         following whitespace into a single space, rather than just eating
3758         the backslash.
3760         * make.texinfo (Copying): @include gpl.texinfo, rather than
3761         duplicating its contents.
3763 Fri Nov  8 20:06:03 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3765         * job.c (construct_command_argv_internal): Make sure not to bother
3766         processing an empty line.
3768         * Version 3.62.0.
3770         * job.c (construct_command_argv_internal): Always recurse for slow;
3771         simple case didn't handle finding newlines.
3773 Tue Nov  5 18:51:10 1991  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
3775         * job.c (construct_command_argv_internal): Set RESTP properly when
3776         slow; don't \ify past a newline.
3778 Fri Nov  1 19:34:28 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
3780         * make.h [sgi]: #include <alloca.h>.
3784 See ChangeLog.1 for earlier changes.