Closed Bug 780126 Opened 13 years ago Closed 8 years ago

pymake doesn't handle recursively-defined macros

Categories

(Firefox Build System :: General, defect)

x86_64
Linux
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mhagger, Unassigned)

Details

(Whiteboard: [pymake])

Attachments

(1 file)

Using GNU make, it is possible to define recursive macros. See [1] for an explanation of why one would want to use this feature. The attachment is an example. It defines a macro "recursive" that takes a list argument. It evaluates to the first word from its argument list, followed by an "x", followed by the result of invoking itself recursively on the rest of the list. An "$(if ...)" construct is used to end the recursion. The output of running GNU make with this Makefile is 1 x 2 x 3 x 4 x 5 x Pymake, on the other hand, rejects the construct with make.py[0]: Entering directory '/home/mhagger/jpk/proj/jpkspm' Recursively setting variable 'recursive' and no other output. Pymake should implement the same behavior as GNU make. [1] http://softwareswirl.blogspot.de/2009/10/gnu-make-trick-for-handling-long-lists.html
Whiteboard: [pymake]
Mass close of pymake-related bugs.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: