Anonymous | Login | 2024-10-15 01:02 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||
ID | Category | Severity | Type | Date Submitted | Last Update | ||
0000373 | [1003.1(2008)/Issue 7] Shell and Utilities | Objection | Omission | 2011-01-28 15:01 | 2024-06-11 08:53 | ||
Reporter | eblake | View Status | public | ||||
Assigned To | ajosey | ||||||
Priority | normal | Resolution | Accepted | ||||
Status | Closed | ||||||
Name | Eric Blake | ||||||
Organization | Red Hat | ||||||
User Reference | ebb.make | ||||||
Section | make | ||||||
Page Number | 2914 | ||||||
Line Number | 95787 | ||||||
Interp Status | --- | ||||||
Final Accepted Text | |||||||
Summary | 0000373: make should allow dash in macro names | ||||||
Description |
The current standard specifically excludes - from portable make macro names; however, existing implementation practice shows that pretty much all vendors support this as an extension. Dash is the only character in the portable filename character set that is missing from the list of valid macro names, and adding this extension allows some additional flexibility in constructing macro names based on file names. See for example this survey: http://lists.gnu.org/archive/html/bug-autoconf/2011-01/msg00036.html [^] > dashes in > - GNU make, > - dmake 4.12, > - smake 1.2.1, > - the vendor 'make' in > - MacOS X, > - FreeBSD 6.4, > - OpenBSD 4.4, > - NetBSD 5.0, > - AIX 5.1, > - HP-UX 10.20, > - IRIX 6.5 (also pmake, smake), > - OSF/1 5.1, > - Solaris 2.6 (also dmake), > and found that all support it. The test was this Makefile: > > ================== Makefile =================== > FOO-BAR = yellow_dog > FOO_BAR = green_cat > > all : $(FOO-BAR) > > $(FOO-BAR) : greet_dog > > $(FOO_BAR) : greet_cat > > greet_dog: > echo hello my dog > > greet_cat: > echo hello my cat > ================================================ |
||||||
Desired Action |
At line 95787 [XCU make EXTENDED DESCRIPTION - Macros], change: "solely of periods, underscores, digits, and alphabetics from the portable character set" to: "solely of characters from the portable filename character set" |
||||||
Tags | issue8 | ||||||
Attached Files | |||||||
|
Relationships | |||||||||||||
|
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |