[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_DEFUN_ONCE and maintainability
From: |
Eric Blake |
Subject: |
Re: AC_DEFUN_ONCE and maintainability |
Date: |
Mon, 02 Jul 2012 19:25:12 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 |
On 07/02/2012 07:22 PM, Bruno Haible wrote:
> Hi Paul,
>
>> How about the name AC_DEF_ONCE instead?
>
> Yes, this name is equally good, possibly better than AC_ONCE.
Technically, the AC_ namespace is reserved for autoconf, and introducing
a new AC_ name (whether AC_ONCE or AC_DEF_ONCE) in gnulib but not
documented in the autoconf manual may provide a point of confusion to
future readers.
Could we instead go with a gnulib namespace convention, especially since
it will be 00gnulib.m4 that defines the macro? Something like:
gl_DEFUN -> synonym for AC_DEFUN
gl_DEFUN_ONCE -> synonym for AC_DEFUN_ONCE in autoconf 2.64+, or our
wrapper that works around the bugs of autoconf 2.59-2.63
gl_DEF_ONCE -> our new wrapper that Bruno is proposing
--
Eric Blake address@hidden +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature