Commit Graph

  • c1e20276cb (getloadavg): Add OSF_ALPHA support. Richard M. Stallman 1994-09-17 00:16:57 +00:00
  • 9f71eaf6b5 Include <assert.h> and use assert instead of printfs and abort. Roland McGrath 1994-09-10 15:04:57 +00:00
  • 03cd08cca2 (decode_switches): Loop until optind hits ARGC, not just until getopt_long returns EOF. Initialize C to zero before loop; in loop if C is EOF, set optarg from ARGV[optind++], else call getopt_long. (decode_env_switches): Use variable_expand instead of allocated_variable_expand. Allocate a fresh buffer to copy split words into; scan characters by hand to break words and debackslashify. (shell_quote): New function. (define_makeflags): Allocate doubled space for switch args, and command variable names and values; use shell_quote to quote those things. Roland McGrath 1994-09-10 07:01:10 +00:00
  • dc44a79020 Add HAVE_SYS_SIGLIST and HAVE__SYS_SIGLIST. 3.71.2 Roland McGrath 1994-09-09 07:16:54 +00:00
  • 8ed6e13cfe (Archive Suffix Rules): Remove Next pointer. Roland McGrath 1994-09-09 06:59:08 +00:00
  • b321e0f535 (decode_switches): The non-option return from getopt is 1, not 0. (command_variables): New type and variable. (decode_switches, decode_env_switches): After making a variable definition, record the struct variable pointer in the command_variables chain. (define_makeflags): If ALL, write variable definitions for command_variables. Roland McGrath 1994-09-09 06:45:51 +00:00
  • c1433e9495 (other_args): Variable removed. (goals, lastgoal): New static variables (moved from auto in main). (main): Don't process OTHER_ARGS at all. Don't set variable MAKEOVERRIDES at all; define MAKE to just $(MAKE_COMMAND). (init_switches): Prepend a - (return in order) instead of a + (require order). (decode_switches): Don't set OTHER_ARGS at all. Grok '\0' return from getopt_long as non-option argument; try variable definition and (if !ENV) enter goal targets here. (decode_env_switches): Use allocated_variable_expand to store value. Use find_next_token to simplify word-splitting loop. Don't prepend a dash to uninterpreted value. Instead, if split into only one word, try variable definition and failing that prepend a dash to the word and pass it to decode_switches as a single arg. Roland McGrath 1994-09-09 05:37:40 +00:00
  • e4a94e0210 (notice_finished_file): Only recheck modtimes if FILE->command_state was cs_running on entry (meaning the commands actually just ran). (update_file_1): Whenever we set FILE->update_status, call notice_finished_file instead of just set_command_state. Roland McGrath 1994-09-07 07:06:46 +00:00
  • 9e97330bcb (start_job_command): Whenever we set CHILD->file->update_status, call notice_finished_file instead of just set_command_state. Roland McGrath 1994-09-07 07:02:23 +00:00
  • 4969b416b8 (set_command_state): Actually set FILE->command_state. Roland McGrath 1994-09-07 00:31:13 +00:00
  • 0bd0301ae3 (set_command_state): Fix typo. Roland McGrath 1994-09-07 00:24:10 +00:00
  • ff6efbadf5 (set_command_state): Declare D. Roland McGrath 1994-09-07 00:17:57 +00:00
  • 0b3317d2e1 Add missing ". Roland McGrath 1994-09-07 00:15:23 +00:00
  • ca5a872280 Changed all assignments of command_state members to calls to set_command_state. Roland McGrath 1994-09-07 00:04:49 +00:00
  • 4244f182f2 (set_command_state): New function. Roland McGrath 1994-09-07 00:02:25 +00:00
  • be6e6d74bb Declare set_command_state. Roland McGrath 1994-09-06 23:48:36 +00:00
  • 4c0fef3dd7 (init_switches): Put a + first in options. Roland McGrath 1994-09-06 23:13:43 +00:00
  • d3b65c3cb7 entered into RCS Richard M. Stallman 1994-08-21 17:29:57 +00:00
  • bc48185f8e Formerly make-stds.texi.~29~ gnu 1994-08-10 05:41:00 +00:00
  • 6fcf219fa7 Initial revision Roland McGrath 1994-07-25 23:47:05 +00:00
  • d2e23eefd2 Added trailing CRs. Roland McGrath 1994-07-25 23:46:16 +00:00
  • 55162a6730 Changed all uses of ':' to PATH_SEPARATOR_CHAR. Roland McGrath 1994-07-25 23:34:32 +00:00
  • 021ea7e61c (directory_before_chdir): New variable, moved out of main (was local). (main) [__MSDOS__]: Look for \ or : to delimit last component of PROGRAM. Don't frob ARGV[0] before setting MAKE_COMMAND variable. (die): Change back to `directory_before_chdir' before dying. Roland McGrath 1994-07-25 23:33:26 +00:00
  • f663464925 (PATH_SEPARATOR_CHAR): Macro removed (now in make.h). Roland McGrath 1994-07-25 23:28:08 +00:00
  • 5d435e0859 (PATH_SEPARATOR_CHAR): New macro; differing defns for [__MSDOS__] and not. Roland McGrath 1994-07-25 23:27:48 +00:00
  • a2ab31ba62 [__MSDOS__]: Include <process.h>. (PATH_SEPARATOR_CHAR): New macro; differing defns for [__MSDOS__] and not. [__MSDOS__] (dos_pid, dos_status, dos_bname, dos_bename, dos_batch_file): New variables. (reap_children) [__MSDOS__]: Don't call wait; just examine those vars. (unblock_sigs) [__MSDOS__]: Do nothing. (start_job_command) [__MSDOS__]: Use spawnvpe instead of vfork and exec. (load_too_high) [__MSDOS__]: Always return true. (search_path) [__MSDOS__]: Check for : or / in FILE to punt. Use PATH_SEPARATOR_CHAR instead of ':'. (construct_command_argv_internal) [__MSDOS__]: Wholly different values for sh_chars and sh_cmds. Wholly new code to handle shell scripts. Roland McGrath 1994-07-25 23:23:03 +00:00
  • da2ea1ea7f (expand_function: `shell') [__MSDOS__]: Wholly new implementation. Roland McGrath 1994-07-25 23:06:00 +00:00
  • 21a1b3b255 [__MSDOS__] (dosify): New function. (dir_contents_file_exists_p) [__MSDOS__]: Call it on FILENAME and process the result instead of FILENAME itself. (file_impossible_p) [__MSDOS__]: Likewise. Part of MSDOS/GO32 port from DJ Delorie <dj@ctron.com>. Roland McGrath 1994-07-25 23:01:19 +00:00
  • c8e76a708e [__MSDOS__]: Define GCC_IS_NATIVE. (default_suffix_rules) [__MSDOS__]: Use y_tab.c' instead of y.tab.c'. (default_variables) [GCC_IS_NATIVE]: Set CC and CXX to gcc', YACC to bison -y', and LEX to `flex'. Part of MSDOS/GO32 port from DJ Delorie <dj@ctron.com>. Roland McGrath 1994-07-25 22:54:09 +00:00
  • 461cffc4e9 Initial revision Roland McGrath 1994-07-25 22:48:06 +00:00
  • cdd25d1fb3 (fatal_error_signal) [__MSDOS__]: Just remove intermediates and exit. Part of MSDOS/GO32 port from DJ Delorie <dj@ctron.com>. Roland McGrath 1994-07-25 22:47:14 +00:00
  • 9a3666d550 (set_file_variables): Add parens in length computation in .SUFFIXES dep loop to quiet compiler warning. From Jim Meyering. Roland McGrath 1994-07-25 22:09:25 +00:00
  • 90dffad2cc (read_makefile): Free FILENAME if we allocated it. From Jim Meyering. Roland McGrath 1994-07-25 22:07:41 +00:00
  • c1f2ef6d09 Update ISBN number to 1-882114-50-7 for edition 0.46. Use new macro ISBN set at top of file. Roland McGrath 1994-07-20 12:30:52 +00:00
  • 51250a676d Split a shell command line in @example to avoid overfull hbox. Roland McGrath 1994-07-08 18:33:15 +00:00
  • d2461a2409 (Goals): Say that only first target in first rule is default goal. (Archive Pitfalls): New node. Roland McGrath 1994-07-05 21:27:09 +00:00
  • fdea69c5fa (selective_vpath_search): Use safe_stat in place of stat. Roland McGrath 1994-07-04 21:56:24 +00:00
  • 7c7552336d (construct_include_path): Use safe_stat in place of stat. Roland McGrath 1994-07-04 21:55:13 +00:00
  • 535dcf6a22 (search_path): Use safe_stat in place of stat. Roland McGrath 1994-07-04 21:54:18 +00:00
  • 84091971f9 (find_directory): Use safe_stat in place of stat. Roland McGrath 1994-07-04 21:53:25 +00:00
  • 61da194af9 (delete_target): Use safe_stat in place of stat. Roland McGrath 1994-07-04 21:52:28 +00:00
  • 30c1465265 (ar_member_touch) [EINTR]: Do EINTR looping around fstat. Roland McGrath 1994-07-04 21:51:49 +00:00
  • b574b8ea5a (name_mtime): Use safe_stat in place of stat. (touch_file) [EINTR]: Do EINTR looping around fstat. Roland McGrath 1994-07-04 21:50:03 +00:00
  • 710e8e6f6f (safe_stat): New function, EINTR-safe wrapper around stat. Roland McGrath 1994-07-04 21:46:58 +00:00
  • 4a8a7637f3 (read_makefile): Check for a shell command first, and then strip leading tabs before further checking if it's not a shell command line. Roland McGrath 1994-06-24 10:34:03 +00:00
  • 6348923799 Fix typo in last change. Roland McGrath 1994-06-24 10:22:37 +00:00
  • 660a23d649 [__arm]: Undefine POSIX. [!__GNU_LIBRARY__ && !POSIX && !_POSIX_VERSION]: Don't declare system functions that return int. Roland McGrath 1994-06-24 09:45:35 +00:00
  • 5bd9836fba (construct_command_argv_internal): After swallowing a backslash-newline combination, if INSTRING is set goto string_char (new label) for normal INSTRING handling code. Roland McGrath 1994-06-24 09:40:13 +00:00
  • 0cb47363e1 Put #include of errno.h and decl of errno before #ifndef HAVE_GETLOADAVG. Roland McGrath 1994-06-04 05:24:48 +00:00
  • fff5a9ece0 Don't check for sys_siglist and _sys_siglist with AC_HAVE_FUNCS. Instead use two AC_COMPILE_CHECKs. Roland McGrath 1994-06-04 05:11:12 +00:00
  • e3a24fc596 [emacs]: Block input around the garbage reclamation. Include blockinput.h. Richard M. Stallman 1994-06-02 17:45:40 +00:00
  • bb38b0c253 [!__GNU_LIBRARY__ && !POSIX]: Also test #ifndef _POSIX_VERSION for these declarations. Roland McGrath 1994-05-23 22:25:30 +00:00
  • d2ed03e72a [GETLOADAVG_PRIVILEGED] [POSIX]: Remove bogus #ifndefs around #undefs of HAVE_SETREUID and HAVE_SETREGID. Roland McGrath 1994-05-23 22:20:30 +00:00
  • e72213687f [GETLOADAVG_PRIVILEGED] [POSIX]: Don't test [HAVE_SETUID] and [HAVE_SETGID]. Every system has those, and configure doesn't check for them. 3.71 Roland McGrath 1994-05-21 20:28:10 +00:00
  • 491d66a916 [_POSIX_VERSION]: Don't #define POSIX #ifdef ultrix. Roland McGrath 1994-05-21 20:27:18 +00:00
  • f4fb1be3d8 (loadavg): Depend on and use loadavg.c instead of getloadavg.c. (loadavg.c): Link or copy it from getloadavg.c. (distclean): Remove loadavg.c. Roland McGrath 1994-05-21 20:26:33 +00:00
  • 10abeb4a08 (AC_MACRODIR): Don't define it. [AC_MACRODIR]: Protect deps using it with ifdef. Roland McGrath 1994-05-19 00:35:53 +00:00
  • a369402d11 Correct update date updated in last change. 3.70.4 Roland McGrath 1994-05-17 03:50:09 +00:00
  • fe3962cf54 Update update date for last change. Roland McGrath 1994-05-17 03:46:27 +00:00
  • cf76b42f2b [GETLOADAVG_PRIVILEGED] [! POSIX]: Undefine HAVE_SETEUID and HAVE_SETEGID. Roland McGrath 1994-05-17 03:09:02 +00:00
  • fb088e4526 (SCCS_GET_MINUS_G check): Put -G flag before file name. Roland McGrath 1994-05-17 02:59:57 +00:00
  • f2804372bd (default_terminal_rules): In SCCS rules, put $(SCCS_OUTPUT_OPTION) before $<. On some systems -G is grokked only before the file name. Roland McGrath 1994-05-17 02:58:49 +00:00
  • c25db14264 (Overriding Makefiles): Don't suggest using .DEFAULT; that loses if the target file exists. Instead recommend the combination of a match-anything rule and a force target. Roland McGrath 1994-05-11 01:42:43 +00:00
  • e83c7d40cd (construct_command_argv_internal): Swallow backslash-newline combinations inside '' strings too. Roland McGrath 1994-05-10 20:27:17 +00:00
  • 65d0cd98a9 (do_define): Call collapse_continuations on each line before all else. Roland McGrath 1994-05-05 08:15:00 +00:00
  • ec505152e0 (AC_MACRODIR): Change default back. Roland McGrath 1994-05-02 23:45:18 +00:00
  • 0d2488a804 Note that dirs in VPATH, vpath can be separated by blanks as well as colons. Roland McGrath 1994-05-02 23:00:39 +00:00
  • bc5f054132 (config.h.in): Use $(AC_MACRODIR) in dep. Roland McGrath 1994-05-02 22:32:54 +00:00
  • e812d40f9f (AC_MACRODIR): Define if undefined. (ACFLAGS, configure, config.h.in): Use that value. Roland McGrath 1994-05-02 22:29:56 +00:00
  • b12c639bb2 (ARCH==hp300): Disabled customs. Roland McGrath 1994-04-25 23:37:12 +00:00
  • dd841ded6f (construct_command_argv_internal): Notice newline inside '' string when RESTP is non-null. Roland McGrath 1994-04-25 23:31:55 +00:00
  • 3c9e8b266a (update_goal_chain): Reset FILE to G->file after the double-colon loop so it is never null for following code. 3.70.3 Roland McGrath 1994-04-22 21:58:26 +00:00
  • e6bce5ef88 (read_makefile): Fix override define' parsing to skip whitespace after define' properly. Roland McGrath 1994-04-22 21:57:47 +00:00
  • bdff21b09a (srcdir): Define as @srcdir@; don't reference $(VPATH). (glob/Makefile): New target. Roland McGrath 1994-04-22 21:33:25 +00:00
  • 408e868fd2 (Using Variables): Fixed @xref node to `Automatic'. 3.70.2 Roland McGrath 1994-04-21 22:39:51 +00:00
  • cf63c0c966 (dist): Depend on rcs-mark first. (rcs-mark): New target. (rcs-mark-alpha, rcs-mark-beta): Use $(version-); append : to name for -N. (version-): New variable, removes dots (RCS doesn't like) from $(version). Roland McGrath 1994-04-21 22:35:15 +00:00
  • d2e496cc01 (Using Variables): Fix menu item to `Automatic'. Roland McGrath 1994-04-21 22:23:37 +00:00
  • ac336f7a9c Undo last change; reverted to revision 1.22. Roland McGrath 1994-04-21 22:14:01 +00:00
  • 8f581d3bc0 (parse_file_seq): Fix typo in last change. Remove unused variable. Roland McGrath 1994-04-21 21:28:59 +00:00
  • b2522ec319 (chop_commands): Fix braino in last change (failed to initialize IDX for loop). Roland McGrath 1994-04-21 21:28:02 +00:00
  • 117d4e0f36 (remove_comments): Use find_char_unquote. Roland McGrath 1994-04-21 21:18:04 +00:00
  • 9b0a99a051 (find_char_unquote): Declare it. Roland McGrath 1994-04-21 20:37:39 +00:00
  • 5c807f5457 (find_char_unquote): New function, generalized from find_percent. (find_percent, find_semicolon, parse_file_seq): Use that. Roland McGrath 1994-04-21 20:36:47 +00:00
  • 7eeab2fbe1 (chop_commands): Use find_char_unquote to find newlines. Roland McGrath 1994-04-21 20:16:42 +00:00
  • f6716d5e74 (pattern_search): Always allocate new storage for FILE->stem. It is not safe to store STEM's address because it might be auto storage. Roland McGrath 1994-04-21 03:48:00 +00:00
  • be451f6d29 Check for seteuid and setegid. Roland McGrath 1994-04-21 02:41:56 +00:00
  • eb0dbf1993 [HAVE_SETEUID]: Declare seteuid. [HAVE_SETEGID]: Declare setegid. (make_access, user_access) [HAVE_SETEUID]: Use seteuid. [HAVE_SETEGID]: Use setegid. Roland McGrath 1994-04-21 02:41:36 +00:00
  • 5ebd380d7a Clarify -q exit status. (Running): Enumerate possible exit status values (0, 1, 2). Roland McGrath 1994-04-21 02:33:10 +00:00
  • cbfe6d75f6 (update_goal_chain): Set STATUS to FILE->update_status, to preserve whether it's 2 for error or 1 for -q trigger. When STATUS gets nonzero and -q is set, always stop immediately. Roland McGrath 1994-04-21 02:15:37 +00:00
  • 716e804b5b (main, decode_switches): Die with 2 for errors. (main): Accept 2 return from update_goal_chain and die with that. Roland McGrath 1994-04-21 02:08:28 +00:00
  • 4848c19870 (fatal, makefile_fatal): Die with 2; 1 is reserved for -q answer. Roland McGrath 1994-04-21 02:01:24 +00:00
  • bca4e882ba (reap_children): Die with 2 for error. (start_job_command): Set update_status to 2 for error. Set it to 1 when we would run a command and question_flag is set. Roland McGrath 1994-04-21 02:00:20 +00:00
  • eb08818828 (read_makefile): Don't mark makefiles as precious. Just like other targets, they can be left inconsistent and in need of remaking by aborted commands. Roland McGrath 1994-04-21 01:39:36 +00:00
  • b86e35d2a6 (Automatic Dependencies): Mention here that deps preclude intermediate files. Roland McGrath 1994-04-21 01:35:11 +00:00
  • f5b14eee67 (Wildcard Pitfall): Fixed typo. Roland McGrath 1994-04-21 01:21:39 +00:00
  • 118439508b (Bugs): Take my bloody e-mail address out of the manual and tell them to send misc. questions to the bug address. Roland McGrath 1994-04-21 00:59:00 +00:00
  • f875c95115 (Archive Members): Don't say archive file must exist. Instead, in ar cmds example, use `c' flag and mention it is needed if archive doesn't exist. (Archive Update): Fix typo: foo.o -> file.o. Roland McGrath 1994-04-21 00:55:18 +00:00
  • f2c10dedf0 (read_makefile): Write no error msg for -include file. Roland McGrath 1994-04-20 22:42:32 +00:00
  • 37c95f6d39 (dist-flavor): New variable, default to alpha. (dist): Depend on rcs-mark-$(dist-flavor). (rcs-mark-beta): New target. Roland McGrath 1994-04-20 22:25:09 +00:00
  • 22846c7022 (Using Variables): Add paragraph that xrefs to Automatic Variables. Add Automatic Variables item to the menu. Roland McGrath 1994-04-20 22:21:51 +00:00