Paul Smith wrote: > On Wed, 2008-04-23 at 17:11 +0200, Arthur Carlson wrote: >> $ make SWITCH=on a >> >> makefile:10: *** missing `endif'. Stop. > > This is a bug in GNU make 3.80. You should upgrade to 3.81.
Interesting factoid: This bug is[*] also fixed (or perhaps was never exposed) in remake[**], which is still based on the 3.80 sources. So if you wanted a working make that could handle the syntax shown, but don't want any of the backwardly-incompatible changes in behaviour that were introduced in 3.81 relative to 3.80[***], installing remake would be a suitable workaround. cheers, DaveK [*] - At least, as far as I have seen, the symptoms do not manifest; I have not been through the source code to try and understand for absolutely certain why not. [**] - http://bashdb.sourceforge.net/remake/ [***] - I forget exactly what the incompatible changes were, but I'm fairly sure there were one or two. They're listed in the NEWS file. They may not matter to you for your purposes, in which case this whole email is moot. -- Can't think of a witty .sigline today.... _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make