[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dashes in Makefile macro names
From: |
Eric Blake |
Subject: |
Re: dashes in Makefile macro names |
Date: |
Fri, 28 Jan 2011 08:04:19 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7 |
[adding automake]
On 01/28/2011 04:38 AM, Bruno Haible wrote:
> Hi,
>
> Can you use $(FOO-BAR) in Makefile? It's not portable in POSIX [1]
Then let's get that addressed in POSIX! We're already in the middle of
getting POSIX to support ${var${v}} nested variable expansions, on the
same arguments of multi-implementation portability and ease-of-use for
automake:
http://austingroupbugs.net/view.php?id=336
So I just added another bug report requesting '-' in macro names:
http://austingroupbugs.net/view.php?id=373
> So I think it's time to update the Autoconf documentation by adding a
> sentence. Here's a proposed patch.
>
> 2011-01-28 Bruno Haible <address@hidden>
>
> doc: Don't discourage dashes in Makefile macro names.
> * doc/autoconf.texi (Special Chars in Names): Mention that dashes in
> Makefile macro names are supported.
Looks reasonable to me. But I'll wait for any additional feedback
before pushing, in case anyone else has input on the matter.
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature