Paul Smith [Tue, 21 Sep 2004 05:39:04 +0000 (05:39 +0000)]
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 [Tue, 21 Sep 2004 04:00:31 +0000 (04:00 +0000)]
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 [Sun, 16 May 2004 19:16:52 +0000 (19:16 +0000)]
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 [Thu, 4 Mar 2004 13:42:51 +0000 (13:42 +0000)]
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 [Wed, 21 Jan 2004 06:32:59 +0000 (06:32 +0000)]
Many bug fixes etc.
- Apply a fix for the "thundering herd" problem when using "-j -l".
This also fixes bug #4693.
- Fix bug #7257: allow functions as ifdef arguments
- Fix bug #4518: make sure we print all double-colon rules with -p.
- Upgrade to autconf 2.58/automake 1.8/gettext 0.13.1
- Various doc cleanups, etc.
Paul Smith [Thu, 8 Jan 2004 03:17:08 +0000 (03:17 +0000)]
Enhancements to the documentation (fixes bugs #1772 and 4898).
Add "!" to the list of shell escape characters: POSIX sh allows it to be
used to negate the return value of the command.
Paul Smith [Mon, 3 Nov 2003 22:04:09 +0000 (22:04 +0000)]
Added MINGW32 changes.
This commits a number of changes from Earnie Boyd that allows GNU make
to build for MINGW32 systems. Only missing from this commit are the
changes to configure.in etc.; I'm waiting for Earnie to sign papers for
those new files.
Also not here is any README.mingw32 etc. which would explain how to use
this port.
Paul Smith [Thu, 31 Jul 2003 13:04:32 +0000 (13:04 +0000)]
Updated for autoconf 2.57, automake 1.7.6, and gettext 0.12.1.
Fixed problems with the dist target (adding missing files).
Workaround for a bug in gettext 0.12.1 po/Makefile.in.in where distclean
wasn't cleaning everything, which caused distcheck to fail.
Paul Smith [Fri, 2 May 2003 01:44:59 +0000 (01:44 +0000)]
- Fix bug #1405: allow multiple pattern-specific variables to match a target.
- Fix some uncleanliness about the implementation of patterns-specific vars.
- Some enhancements to the OS/2 port.
Paul Smith [Mon, 24 Mar 2003 23:14:15 +0000 (23:14 +0000)]
Add support for OS/2, contributed by Andreas Buening <andreas.buening@nexgo.de>
Also a small patch from Hartmut Becker <Hartmut.Becker@compaq.com> for VMS.
Paul Smith [Thu, 30 Jan 2003 07:49:17 +0000 (07:49 +0000)]
Fix bug #2238: the read.c:eval() function was not entirely reentrant.
Apply patch #1022: fix a memory corruption on very long target-specific
variable definition lines.
Paul Smith [Thu, 30 Jan 2003 05:22:52 +0000 (05:22 +0000)]
Portability fix for glob.h building in FreeBSD ports system.
Implement a fix for bug # 2169: too many OSs, even major OSs like Solaris,
don't properly implement SA_RESTART: important system calls like stat() can
still fail when SA_RESTART is set. So, forget the BROKEN_RESTART config
check and get rid of atomic_stat() and atomic_readdir(), and implement
permanent wrappers for EINTR checking on various system calls (stat(),
fstat(), opendir(), and readdir() so far).
Paul Smith [Mon, 14 Oct 2002 21:54:04 +0000 (21:54 +0000)]
Convert the source code to use ANSI C style function definitions and
enable the automake ansi2knr capability.
Right now this doesn't quite build using a K&R compiler because of a
problem with the loadavg test program, but the rest of the code works. I'm
asking the automake list about this problem.
Paul Smith [Sat, 5 Oct 2002 13:45:47 +0000 (13:45 +0000)]
Fix core dump on malformed variable line (Debian bug #81656)
Allow SysV-style variable references to use {} in addition to ().
Add variable.h to the POTFILES.in since it has a translatable string.
Paul Smith [Tue, 10 Sep 2002 22:23:20 +0000 (22:23 +0000)]
A few test bug fixes:
* Never use "touch" in make rules; it breaks on most sub-second
supporting systems. Use echo "" > $@ instead.
* Forgot to close test makefiles before using them!
All the above worked fine on Linux but failed miserably on Solaris.
Paul Smith [Sat, 10 Aug 2002 01:27:16 +0000 (01:27 +0000)]
Update to a new version of automake and gettext.
Invent a new macro HAVE_DOS_PATHS and change various instances of:
#if defined(WINDOWS) || defined(__MSDOS__)
to use the new macro instead. This should help make the OS/2 port
cleaner, as well.
Invent a cvs-clean maintainer target that tries to get the workspace
back to the state it was in after a CVS checkout.
New language.
Paul Smith [Thu, 11 Jul 2002 06:38:57 +0000 (06:38 +0000)]
Install Greg McGary's patches to port the id-utils hashing functions to
GNU make. Also he provides some other performance fixups after doing
some profiling of make on large makefiles.
Modify the test suite to allow the use of Valgrind to find memory problems.
Paul Smith [Mon, 8 Jul 2002 13:05:02 +0000 (13:05 +0000)]
Various cleanups reported by people using the alpha release.
Incorporate "order-only" prerequisites patch. Wrote a test for it.
The test shows what might be a bug in the code; I need to look at it
more closely (anyway it doesn't behave as I expected). Also I haven't
done the docs yet.
Paul Smith [Mon, 8 Jul 2002 02:26:47 +0000 (02:26 +0000)]
Major updates in preparation for 3.80.
New version of the manual, put into the doc subdir.
Enhancements: $(eval ...) and $(value ...) functions, various bug
fixes, etc. See the ChangeLog.
More to come.
Paul Smith [Mon, 22 Apr 2002 04:35:19 +0000 (04:35 +0000)]
Updates for new tools. Everything works now building on Linux,
including creating make packages. I'll try some other systems tomorrow.
Also added a new translation: Croatian. Thanks!
Paul Smith [Sun, 21 Apr 2002 23:57:24 +0000 (23:57 +0000)]
Update GNU make to use Autoconf 2.53, Automake 1.6.1, Gettext 0.11.1.
We're using Gettext's "external" feature to avoid including the intl
code in the GNU make distribution.
Paul Smith [Sat, 20 Apr 2002 19:25:54 +0000 (19:25 +0000)]
Updates to translaations.
Fix an assert() in an obscure use of -q
Handling of double-colon timestamp updates was broken in a bizarre way.
Store arguments to $(call ...) functions in simple variables, not recursive
variables.