[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 <[email protected]>
>
> 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 [email protected] +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
