Commit Graph

  • d525f4dd72 (union wait check): If WEXITSTATUS and WTERMSIG are defined, just use int. Roland McGrath 1995-01-15 13:23:03 +00:00
  • bd19554ea7 (Foreach Function): Correccion de gramatica espanola. Roland McGrath 1995-01-13 06:30:39 +00:00
  • fffc384bfc (default_variables) [__hpux]: Remove special definition of ARFLAGS. Existence of the `f' flag is not consistent across HPUX versions; and one might be using GNU ar anyway. Roland McGrath 1995-01-11 00:14:53 +00:00
  • afd1d69e7d (clean): Don't remove Info files. Roland McGrath 1995-01-10 11:30:56 +00:00
  • c1305a1a18 ($(bindir)/make): Fix typo in echo. Roland McGrath 1995-01-10 11:29:08 +00:00
  • 43d5fbfc88 Fix typo in comment. Roland McGrath 1995-01-10 11:28:12 +00:00
  • a4642a6a57 (check): Remove gratuitous target declaration. Roland McGrath 1995-01-10 11:27:24 +00:00
  • 11ca7f1ead (ETAGS, CTAGS): Don't use -t. Roland McGrath 1995-01-07 16:59:15 +00:00
  • 4aa992616f Include config.h first. Roland McGrath 1995-01-07 16:57:36 +00:00
  • ab0fb2fa6f (ar_name_equal) [cray]: Subtract 1 like [__hpux]. Roland McGrath 1995-01-07 16:55:30 +00:00
  • e1dd3bfa4a (decode_switches): For --help, print usage to stdout. Roland McGrath 1995-01-07 16:38:08 +00:00
  • 86238ec9d3 install, uninstall, installdirs should not alter the build dir. Richard M. Stallman 1995-01-04 19:37:36 +00:00
  • 2e9779fdb4 (update_file_1): Do set_command_state (FILE, cs_not_started) only if old state was deps_running. 3.72.3 Roland McGrath 1994-12-05 17:42:13 +00:00
  • b61a13463d (start_waiting_job): Use set_command_state. Roland McGrath 1994-11-29 01:10:47 +00:00
  • d3b9c35c8f (CPPFLAGS): New variable. (prefix, exec_prefix): Set from @...@. (compilation loop): Pass $CPPFLAGS to compiler. Roland McGrath 1994-11-28 23:06:28 +00:00
  • c50b75b439 (build.sh.in): Make it executable. Roland McGrath 1994-11-28 23:02:42 +00:00
  • 7376280c33 (globfiles): Add configure.in, configure. Roland McGrath 1994-11-28 22:02:23 +00:00
  • 3c767901f6 (make-$(version).tar): Rename install.sh to install-sh. 3.72.2 Roland McGrath 1994-11-28 20:54:38 +00:00
  • c6dfff5f1b (prefix, exec_prefix): Set. (CPPFLAGS): Filter out @...@. ($(ARCH)/glob/libglob.a): Don't pass down variables. Roland McGrath 1994-11-28 20:51:40 +00:00
  • 74540a1e91 Abbreviate copyright years. Roland McGrath 1994-11-28 20:50:45 +00:00
  • 5159db0aa4 (AC_OUTPUT): Don't write glob/Makefile. Roland McGrath 1994-11-28 20:48:43 +00:00
  • e495d2380d (AC_CHECK_SYMBOL): Use AC_DEFINE_UNQUOTED. Roland McGrath 1994-11-28 20:28:26 +00:00
  • 1ed34a0118 Don't check for ranlib. Roland McGrath 1994-11-28 20:20:43 +00:00
  • e8f64b2c88 (notice_finished_file): Only mark also_make's as updated if really ran cmds. Roland McGrath 1994-11-23 03:42:34 +00:00
  • 4867409da2 Put dnls before random whitespace. Roland McGrath 1994-11-15 11:32:39 +00:00
  • f801fc3521 (CPPFLAGS): New variable, set from @CPPFLAGS@. (RANLIB): Variable removed. (prefix, exec_prefix): Set these from @...@. (.c.o): Use $(CPPFLAGS). (glob/libglob.a): Don't pass down variables to sub-make. glob/Makefile should be configured properly by configure. (distclean): Remove config.log and config.cache (autoconf stuff). Roland McGrath 1994-11-13 10:02:19 +00:00
  • b2c0446e71 Explain reason for new filesystem layout. David J. MacKenzie 1994-11-11 04:33:24 +00:00
  • 8f98ceb724 Add #undef HAVE_UNION_WAIT. Roland McGrath 1994-11-08 02:09:49 +00:00
  • dea9990bc8 Converted to Autoconf v2. Roland McGrath 1994-11-08 02:08:24 +00:00
  • e4c43aab3e Test HAVE_DIRENT_H, HAVE_SYS_DIR_H, HAVE_NDIR_H instead of DIRENT, SYSDIR, NDIR. Roland McGrath 1994-11-08 00:14:50 +00:00
  • e55ed78080 (prefix, exec_prefix): Set these from @...@. (CPPFLAGS): New variable, set from @CPPFLAGS@. (compiling loop): Pass $CPPFLAGS before $CFLAGS. Roland McGrath 1994-11-07 23:42:58 +00:00
  • ca54a0b991 Initial revision Roland McGrath 1994-11-07 23:40:44 +00:00
  • e25e2fb7f5 (define_makeflags): When no flags, set WORDS to zero. Roland McGrath 1994-11-07 18:57:56 +00:00
  • 1a886b6359 (define_makeflags): Terminate properly when FLAGSTRING is empty. Roland McGrath 1994-11-06 23:33:55 +00:00
  • b511712f25 (rcs-mark-{alpha,beta}): Let make do the globbing instead of sh. Roland McGrath 1994-11-04 21:08:52 +00:00
  • 30fcca501f Remove `DRAFT' from edition. 3.72 Roland McGrath 1994-11-04 20:23:23 +00:00
  • 806dc4f7c4 (Variables/Recursion): Fix typo. 3.71.5 Roland McGrath 1994-11-01 08:40:19 +00:00
  • c0163410d2 (start_job_command): When ARGV is nil, only set update_state and call notice_finished_file if job_next_command returns zero. Roland McGrath 1994-11-01 08:34:10 +00:00
  • eac1e9ee66 Doc .DELETE_ON_ERROR. Doc new MAKEFLAGS/MAKEOVERRIDES. Doc .IGNORE/.SILENT with deps. Roland McGrath 1994-11-01 08:29:31 +00:00
  • 8ad5af7c28 (start_job_command): Call notice_finished_file for empty command line. Roland McGrath 1994-11-01 06:18:07 +00:00
  • 857d7ad256 (snap_deps): Set COMMANDS_SILENT for .SILENT, not COMMANDS_NOERROR. Roland McGrath 1994-10-27 06:02:43 +00:00
  • 612a29e0dd [alliant && i860] (FSCALE): Move defn before #ifndef FSCALE. Roland McGrath 1994-10-27 00:34:56 +00:00
  • 462304918c (snap_deps): Set command_flags bits in all :: entries. Roland McGrath 1994-10-26 02:49:21 +00:00
  • 9d36c92adb (snap_deps): Fix last change. Roland McGrath 1994-10-24 23:44:16 +00:00
  • 640c4ecd99 (posix_pedantic): Declare it. Roland McGrath 1994-10-24 23:11:57 +00:00
  • 07f09cfd88 (main): Move checks .IGNORE, .SILENT, .POSIX to snap_deps. Roland McGrath 1994-10-24 22:57:07 +00:00
  • d37c9ba18a (snap_deps): Check .IGNORE, .SILENT, .POSIX here instead of in main. If .IGNORE has deps, OR COMMANDS_NOERROR into their command_flags and don't set -i. Likewise .SILENT. Roland McGrath 1994-10-24 22:56:27 +00:00
  • cc8d6cf343 (start_job_command): In FLAGS initialization, OR in CHILD->file->command_flags. Roland McGrath 1994-10-24 22:50:01 +00:00
  • 4b17f0982b (struct file): New member `command_flags'. Roland McGrath 1994-10-24 22:47:43 +00:00
  • dc576b2051 (Automatic Dependencies): Improve recommended sed command. Mention -MM flag to gcc. Roland McGrath 1994-10-24 05:05:43 +00:00
  • a543a2ae9f (Commands): Add warning about "blank" line starting with a tab. Roland McGrath 1994-10-17 00:02:27 +00:00
  • 0e352e4bf7 (switches): Bump flag values for --no-print-directory and --warn-undefined-variables, so neither is 1 (which indicates a nonoption argument). Roland McGrath 1994-10-16 05:01:46 +00:00
  • 3f8bde0f25 (main): Add missing code in .IGNORE test. Roland McGrath 1994-10-16 03:39:35 +00:00
  • 4308542cb1 Document $+ and $(+D), $(+F). Roland McGrath 1994-10-10 08:10:13 +00:00
  • e622fcf22e (define_automatic_variables): Define +D and +F. Roland McGrath 1994-10-10 08:08:58 +00:00
  • 1766b7fa59 (main): Define hidden automatic variable with command vars, and MAKEOVERRIDES to a reference to that. (define_makeflags): If posix_pedantic, write a reference to that instead. Roland McGrath 1994-10-01 08:07:35 +00:00
  • fa999783d7 (posix_pedantic): New variable. (main): Set posix_pedantic if .POSIX is a target. Fix .IGNORE and .SILENT hecks to require is_target. Roland McGrath 1994-09-30 01:04:54 +00:00
  • e97d6632b5 Comment fix. Roland McGrath 1994-09-29 19:52:49 +00:00
  • e3d013a79a (set_file_variables): Define new automatic variable $+, like $^ but before calling uniquize_deps. Roland McGrath 1994-09-29 08:23:25 +00:00
  • 9807a2869f (reap_children): Call delete_child_targets for non-signal error if .DELETE_ON_ERROR is a target. Roland McGrath 1994-09-29 04:14:20 +00:00
  • e9521d3447 [alliant && i860] (LOAD_AVE_TYPE, FSCALE, NLIST_STRUCT): Define. Roland McGrath 1994-09-28 21:00:06 +00:00
  • c62ca42327 (reap_children): Don't change C->file->command_state when dying. Test it only after calling start_job_command for a new command line. When no more cmds, just set C->file->update_status. (start_job_command): When the last line is empty or under -n, set C->file->update_status. (start_waiting_job): Grok cs_not_started after start_job_command as success. (new_job): Set C->file->update_status when there are no cmds. (job_next_command): When out of lines, don't set CHILD->file->update_status or CHILD->file->command_state. Roland McGrath 1994-09-26 23:02:40 +00:00
  • 2feb36f620 (quote_as_word): Actually test DOUBLE_DOLLARS, instead of always doubling. Roland McGrath 1994-09-26 22:45:08 +00:00
  • f40918e005 (quote_as_word): Renamed from shell_quote. Take new arg; if nonzero, also double $s. (main): Define MAKEOVERRIDES from command_variables here. (define_makeflags): Don't use command_variables here; instead write a reference $(MAKEOVERRIDES) in MAKEFLAGS. Make vars recursive. Roland McGrath 1994-09-26 22:37:10 +00:00
  • b13a443fa7 [__MSDOS__]: Fixed typo. Roland McGrath 1994-09-26 22:20:56 +00:00
  • e938a511be (selective_vpath_search): Reset EXISTS when stat fails. Roland McGrath 1994-09-26 22:16:51 +00:00
  • a96d572aa6 remove CONFIG_BROKETS David J. MacKenzie 1994-09-26 21:57:54 +00:00
  • 990c39d973 REMOVE CONFIG_BROKETS David J. MacKenzie 1994-09-26 21:56:21 +00:00
  • 24d37fb493 remove CONFIG_BROKETS David J. MacKenzie 1994-09-26 21:52:40 +00:00
  • 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