Commit Graph

  • afc4906aca Some test updates for Windows. Handle SHELL set on the command line properly for windows. Paul Smith 2006-03-08 20:15:08 +00:00
  • 8af9389f87 Fix a potential core dump when merging aliases. Might fix bug #15818. Revert intermediate file free code. Suppress some warnings in VMS builds. Paul Smith 2006-02-21 05:21:19 +00:00
  • 08bfd86103 Move the copyright info to the end of the NEWS file, otherwise automake's GNITS check doesn't think we have updated it (only scans the first 15 lines). Paul Smith 2006-02-20 03:34:02 +00:00
  • 6e0527913c - Memory cleanups, found with valgrind. - Fix handling of special targets like .SUFFIX for VMS insensitive targets. - Don't make temporary batch files for -n. Make sure batch files are created in text mode. Paul Smith 2006-02-20 02:14:00 +00:00
  • bde826b18a Make sure we don't introduce a circularity into the variable set linked list. Fixes Savannah bug #15757. Paul Smith 2006-02-17 13:29:52 +00:00
  • 0806a403d6 Fix Savannah bug #106: keep separate track of which variable we are expanding, and use that info when generating error messages instead of the file info, where appropriate. Paul Smith 2006-02-15 23:54:42 +00:00
  • 86af3872a9 Some memory leak cleanups (found with valgrind). Paul Smith 2006-02-14 15:42:17 +00:00
  • df267b31c5 Fix bug #11183. Paul Smith 2006-02-13 23:38:36 +00:00
  • a6bdc58385 Last of the copyright updates. Paul Smith 2006-02-11 22:16:04 +00:00
  • 24338ec929 More copyright/license updates. Paul Smith 2006-02-11 20:00:39 +00:00
  • 586daef9bc Update copyright and license notices on all files. Added new file strcache.c to various non-UNIX makefiles and build scripts. Paul Smith 2006-02-11 19:02:21 +00:00
  • 5a7a42cfce - New code capability: a read-only string cache. Start of solution for Savannah bug #15182, but not much uses it yet. Coming shortly. - Added short-circuiting $(and ..) and $(or ...) functions. Paul Smith 2006-02-10 05:29:00 +00:00
  • d0c4e92f11 Fixed Savannah bug #15641. Boris Kolpackov 2006-02-08 17:29:07 +00:00
  • ce9c63b32b Updates to Windows stuff from Markus Mauhart. Paul Smith 2006-02-06 16:41:49 +00:00
  • a4e3523fe4 Fix Savannah bugs # 15341, 15534, and 15533. Rewrite large chunks of the "Commands" section of the manual to better describe then backslash-newline handling, the SHELL variable, etc. Paul Smith 2006-02-06 16:21:59 +00:00
  • 7a8549f5dd Fix a bug where a variable could be used without being initialized in W32. Paul Smith 2006-02-01 13:31:25 +00:00
  • 4cd3539024 Various updates, mainly to the Windows port, from Eli Zaretskii and Markus Maurhart. Paul Smith 2006-02-01 07:54:22 +00:00
  • 64e16d6c00 Various changes getting ready for the release of 3.81. Paul Smith 2006-01-04 14:45:16 +00:00
  • 3d0d9e5d75 Fixed record_target_var to initialize variable's export field with v_default instead of leaving it "initialized" by whatever garbage happened to be on the heap. Boris Kolpackov 2005-12-14 13:11:18 +00:00
  • 4bd6db9df1 Update the make.1 man page. Use rm -f instead of rm in the test scripts. Fixes bug #15085. Paul Smith 2005-12-13 14:44:17 +00:00
  • 3bcb608bda Extend .SECONDEXPANSION to implicit rules. Final fix for bug #13781. Paul Smith 2005-12-11 15:41:17 +00:00
  • 0e6c4f5b0e Fixed bug #13022 by setting is_target flag on files that this implicit pattern rule also makes. Boris Kolpackov 2005-12-09 16:46:19 +00:00
  • a34b85490d Fixed bug #14334 by propagate the change of modification time to all the double-colon entries only if it is the last one to be updated. Boris Kolpackov 2005-12-07 11:33:38 +00:00
  • 1fd3f9d79c Implemented the flavor function which returns the flavor of a variable ('simple', 'recursive', or 'undefined'). Boris Kolpackov 2005-11-17 07:27:28 +00:00
  • 3dd1faa5c8 Implemented the .INCLUDE_DIRS special variable. It expands to a list of directories that make searches for included makefiles. Boris Kolpackov 2005-11-14 15:31:13 +00:00
  • 82103b1a49 Fix a crash I introduced last-minute. Try to avoid extraneous rebuilds of template files. Paul Smith 2005-10-26 16:06:30 +00:00
  • 11095a90f1 Make second expansion optional (partial implementation). Paul Smith 2005-10-24 13:01:39 +00:00
  • 66459baee2 Make sure to assign a boolean value to a 1-bit bitfield. Reported on the bug-make mailing list. Paul Smith 2005-09-26 05:16:31 +00:00
  • 5ee856d96d Try using POSIX::getcwd to find the working directory wherever it exists. This should help the tests run more accurately on Windows (hopefully...) Paul Smith 2005-08-31 13:38:17 +00:00
  • 0ffd22cb44 Preserve the backslash that's printed by echo. Paul Smith 2005-08-29 18:45:31 +00:00
  • f7598efb67 Fix make.h preprocessor directive to work better with Windows compilers. Fix some regression tests to (hopefully) work better on Windows. Paul Smith 2005-08-29 14:11:00 +00:00
  • 6636dc1d5c If we're on a DOS/W32/OS2 system and we're not using a unixy shell, don't follow POSIX backslash/newline conventions. Paul Smith 2005-08-25 04:40:10 +00:00
  • bf58e35105 Wrapped calls to $(wildcard ) with $(sort) so that the resulting order is no longer filesystem-dependant. Boris Kolpackov 2005-08-13 19:24:49 +00:00
  • e437226241 Fixed Savannah bug #13881. Boris Kolpackov 2005-08-10 10:21:13 +00:00
  • b237dff775 - Fixed a bug reported by Michael Matz regarding handling of parallel jobs after a failed job. - Enhancements to WINDOWS32 code from Eli Zaretskii. - Add Microsoft Project files from J. Grant. Paul Smith 2005-08-08 05:08:00 +00:00
  • a53903e4c3 Add Indonesian translation. Paul Smith 2005-07-15 05:05:32 +00:00
  • 1e9dc3ce45 Various minor updates and code cleanups. Paul Smith 2005-07-12 04:35:13 +00:00
  • 0e30f46a62 Various fixes and updates from testers of the beta3 release (mostly Windows and OS/2 changes). Paul Smith 2005-07-04 03:50:59 +00:00
  • 7dfa2461c3 Cleaned up some problems found with the tests running on a powerful Solaris system with an EMC NFS storage solution. Still get some odd errors here unfortunately related to sub-second timestamps that I just can't figure out. It all works if we run the tests in /tmp instead though :-/. Paul Smith 2005-06-27 22:18:47 +00:00
  • 261d7b44fa Make sure timestamp problems don't cause the -W test to fail. Paul Smith 2005-06-27 18:53:46 +00:00
  • b581e1350f Fixes for some Windows/MSC compile issues. wget command line option seems to have changed? Paul Smith 2005-06-27 15:40:56 +00:00
  • a36cfed31a Date update. Paul Smith 2005-06-27 01:01:54 +00:00
  • da1b137e38 Fix strerror() handling for systems which set ANSI_STRING. Don't print errors if "include" is specified with no arguments. New test suite for the $(shell ...) function. Paul Smith 2005-06-27 01:01:07 +00:00
  • d6a7894d3a Fix Savannah bug # 1332: handle backslash-newline pairs in command scripts according to POSIX rules. Paul Smith 2005-06-26 03:31:29 +00:00
  • f388233b03 Fix Savannah bug # 13478. If -L is given, take the latest mtime for a symlink even if it is "dangling" (it doesn't resolve to a real file). Paul Smith 2005-06-25 23:00:17 +00:00
  • 6cdaff0948 Fix Savannah bug #1454: skip over semicolons (and comments) inside variable references in target definition lines. Paul Smith 2005-06-25 21:30:13 +00:00
  • 1dd9ed1c05 Fix -W foo yielding infinite recursion in some cases of re-exec. Added a -W test suite. Paul Smith 2005-06-25 20:00:24 +00:00
  • 978819e1d6 Add a new variable: MAKE_RESTARTS, to count how many times make has re-exec'd. When rebuilding makefiles, unset -B if MAKE_RESTARTS is >0. Paul Smith 2005-06-25 18:57:28 +00:00
  • 467115baae Fix Savannah bug # 1328: if stdout is redirected to a full filesystem, we check for this and exit with an error. The closeout.c version from gnulib pulls in too much other stuff, and gnulib requires an ANSI C 89 compliant compiler, while GNU make (so far) still wants to work on K&R. Paul Smith 2005-06-12 22:22:07 +00:00
  • 974d14ac4f Fixes for VMS from Hartmut Becker. Paul Smith 2005-06-10 20:16:28 +00:00
  • dd30b0552f Fix Savannah bug #11913: ensure that scopes such as foreach, etc. take precedence over the global scope when they're used in a global context (such as an eval). Paul Smith 2005-06-09 19:19:20 +00:00
  • af88a3550a Fixed Savannah bugs #13216 and #13218. Boris Kolpackov 2005-05-31 20:54:30 +00:00
  • e50e0fdf88 Implement new "if... else if... endif" semantics. Paul Smith 2005-05-13 12:45:30 +00:00
  • 26d8d00cb7 Fixes to allow "make dist" etc. to work again. Paul Smith 2005-05-10 01:38:18 +00:00
  • e4c14a675c Document the secondary expansion method. Also, some other documentation cleanups. Paul Smith 2005-05-08 16:50:58 +00:00
  • 9d5b5bd2f5 Fix problems with losing tokens in the jobserver, reported by Grant Taylor. There are two forms of this: first, it was possible to lose tokens when using -j and -l at the same time, because waiting jobs were not checked when determining whether any jobs were outstanding. Second, if you had an exported recursive variable that contained a $(shell ...) function there is a possibility to lose tokens, since a token was taken but the child list was not updated until after the shell function was complete. Paul Smith 2005-05-03 13:57:20 +00:00
  • 49ee105c68 Fix performance degradation introduced by the second expansion feature. I did this by adding intelligence into the algorithm such that the second expansion was only actually performed when the prerequisite list contained at least one "$", so we knew it is actually needed. Paul Smith 2005-04-13 03:16:33 +00:00
  • 3daf8df6ee Fix some Savannah bugs. Updates to docs (still need more work here) and NEWS file. New language. Paul Smith 2005-04-08 12:51:20 +00:00
  • 4923580e3a Fixed Savannah bug #12320. Boris Kolpackov 2005-03-15 15:31:47 +00:00
  • d584d0c1c6 Fixed Savannah bug #12267. Boris Kolpackov 2005-03-10 09:14:09 +00:00
  • 18251c4633 Fixed Savannah bug #12266. Boris Kolpackov 2005-03-09 19:21:34 +00:00
  • 2860d3b247 Fixed Savannah bug #12202. Boris Kolpackov 2005-03-04 14:31:09 +00:00
  • 28078b517a - Missing docs for $| - Update NEWS and AUTHORS files. - Fix support request #103195. - Apply patch #3679 - Fix handling of sys_siglist in autoconf/etc. Paul Smith 2005-03-04 12:52:32 +00:00
  • cb2f200269 Fixed stem termination and stem triple-expansion bugs. Boris Kolpackov 2005-03-03 17:39:48 +00:00
  • 0759af440a Fixed Savannah bug #12180. Boris Kolpackov 2005-03-01 08:01:05 +00:00
  • a2232470c2 - Fix bug #7144 (infinite loop sometimes with -q and double-colon rules) - Resolve support request #103195 (rationalize wordlist fn arguments) Paul Smith 2005-02-28 09:41:25 +00:00
  • d2516343bc * New feature: -L option * New function: $(info ...) * Disallow $(eval ...) to create prereq relationships inside command scripts (caused core dumps) * Try to allow more tests to succeed in Windows/DOS by sanitizing CRLF and \ * Various bug fixes and code cleanups (see the ChangeLog entry) Paul Smith 2005-02-28 07:48:22 +00:00
  • 93bd1bd93c Implementation of the .DEFAULT_TARGET special variable. Boris Kolpackov 2005-02-27 22:24:30 +00:00
  • 659fc6b55e Implementation of the second expansion in explicit rules, static pattern rules and implicit rules. Boris Kolpackov 2005-02-27 21:40:23 +00:00
  • 9d153cc1b1 Add configure operations to support MINGW on Windows. Paul Smith 2005-02-26 01:41:48 +00:00
  • 6d995b036e Update NEWS file. Paul Smith 2005-02-16 05:38:10 +00:00
  • e8ca9b8eb1 Add a patch from Paul Eggert that's been lying around in my directory for a long time, disabling stack size limits where possible. Paul Smith 2005-02-16 05:03:42 +00:00
  • c90f47e832 Flush stdout after printing directory info. Fix references to MINGW #define constants. Remove WINDOWS32 ifdef from sub_proc.h. Only add variables to the command line for recursion once. New features in run_make_test: #PWD# and #MAKEPATH# replacements. Test the multi-variable fix in the recursion regression test. Paul Smith 2005-02-10 00:10:57 +00:00
  • 939167cfc1 Add a new Irish (ga) translation. Fixed the CVS download URL to be simplified. Fixed the .texi doc download: the ftp site was decommed so use CVS. Paul Smith 2005-02-09 21:28:00 +00:00
  • 1ce563a181 Add a Finnish translation. Update the URL for the GNU translation site in maintMakefile; the old one stopped working. Paul Smith 2005-02-01 23:02:17 +00:00
  • dff0be9e68 Handle build.sh in a better way (recommendation from the automake mailing list). Paul Smith 2004-12-06 15:03:45 +00:00
  • 6c21790595 Fix bug with SHELL handling: make sure the variable struct is initialized. Paul Smith 2004-12-05 18:09:31 +00:00
  • 6c9e53d648 Fix problems with README and build.sh Paul Smith 2004-11-30 20:58:52 +00:00
  • 49ca261bd5 Implemented realpath' and abspath' built-in functions. Boris Kolpackov 2004-11-30 19:51:24 +00:00
  • be6a8bc869 Fix bug #10252: Remove any trailing slashes from -C arguments (WINDOWS32). Paul Smith 2004-11-29 01:35:13 +00:00
  • 539f513773 Fix for bug #1276: Handle SHELL according to POSIX requirements. Paul Smith 2004-11-28 23:11:23 +00:00
  • d27cac1598 Fix WINDOWS32 bug #11155 with patch from Alessandro Vesely. Paul Smith 2004-11-28 16:58:51 +00:00
  • e8e4c19873 Patch for command line parsing for VMS from Hartmut Becker. Paul Smith 2004-11-12 21:30:20 +00:00
  • 547abfa13e New $(lastword ) built-in function: implementation, documentation and tests. Boris Kolpackov 2004-10-21 17:42:24 +00:00
  • 71fd6bfa1c Apply patch from Alessandro Vesely for WINDOWS32-specific bug # 9748. Paul Smith 2004-10-06 13:09:22 +00:00
  • b0d67e0e15 Moved expansion of simple pattern-specific variables from the rebuild stage to the read stage. Boris Kolpackov 2004-10-05 16:56:14 +00:00
  • fb6410f435 Implemented dontcare flag inheritance when rebuilding makefiles. Boris Kolpackov 2004-09-28 18:13:55 +00:00
  • 341312cc57 bugfix for exported pattern-specific variables Boris Kolpackov 2004-09-27 18:09:52 +00:00
  • 29d78ddb28 Update the test template. A few fixes in run_make_test(). Rename implicit_prereq_eval to patternrules, to be the start of a suite of tests of pattern rules. Paul Smith 2004-09-22 04:36:17 +00:00
  • 73e7767ffc Fixed bug in implicit rule prerequisite evaluation code. Added test. Boris Kolpackov 2004-09-21 20:23:12 +00:00
  • 6e51d9c90a Some code cleanups and efficiency enhancements. As far as I can tell none of these have impacts that are visible to the user (although in some cases that appears to be nothing more than dumb luck :-/). Paul Smith 2004-09-21 13:51:58 +00:00
  • 704c60cec0 Remove sindex() and replace with strstr(). Windows: allow users to set SHELL to cmd.exe and have it behave as if no UNIX shell were found. Paul Smith 2004-09-21 12:07:12 +00:00
  • 9714e501fb Add some more unit tests for variable flavors. Allow run_make_tests() to be invoked with an undef makefile string, in which case it re-uses the previous string. Paul Smith 2004-09-21 05:39:04 +00:00
  • 0799ce730d Fix some bugs in variable pattern substitution (e.g. $(VAR:A=B)), reported by Markus Mauhart <qwe123@chello.at>. One was a simple typo; to fix the other we call patsubst_expand() for all instances of variable substitution, even when there is no '%'. We used to call subst_expand() with a special flag set in the latter case, but it didn't work properly in all situations. Easier to just use patsubst_expand() since that's what it is. Paul Smith 2004-09-21 04:00:31 +00:00
  • 08c8105c54 Various enhancements - OS/2 Patches - OpenVMS updates - Sanitize the handling of -include/sinclude with and without -k - Fix the setting of $< for order-only rules. Paul Smith 2004-05-16 19:16:52 +00:00
  • e334942e57 Numerous updates and bug fixes. A number of W32 cleanups from J.Grant. A number of OS/2 cleanups from Andreas Buening. Various random bug fixes. Paul Smith 2004-03-22 15:11:48 +00:00
  • f305a52c02 Don't use __STDC__; some compilers don't set it properly. Use autoconf's test to set HAVE_ANSI_COMPILER and check that instead. Paul Smith 2004-03-06 08:05:17 +00:00
  • 213ccc2234 More maintainer rules. Paul Smith 2004-03-06 08:00:17 +00:00
  • e3e3f15ebc Updates to automate generation of GNU upload artifacts. Fix a problem compiling on old, pre-ANSI systems. getloadavg test is still broken, but make builds. Document a breakage on SunOS 4.x systems. Paul Smith 2004-03-04 13:42:51 +00:00
  • 59306b0223 Fix the origin regression test. Remove sample code from make.h I accidentally left behind. Paul Smith 2004-02-25 19:30:27 +00:00