Re: AC_DEFUN_ONCE and conditional dependencies

2012-07-02 Thread Eric Blake
On 07/02/2012 07:20 PM, Bruno Haible wrote: > Hi Eric, > > How can we fix this? > > I'm thinking about two macros AC_DEFUN_ONCE_IFNEEDED, AC_REQUIRE_IFNEEDED Again, avoiding the AC_ namespace unless Autoconf 2.80 adds this methods might be wise, we'd be safer with the names gl_DEFUN_ONCE_IFNEED

AC_DEFUN_ONCE and conditional dependencies

2012-07-02 Thread Bruno Haible
Hi Eric, I wrote: > But I have two issues with AC_DEFUN_ONCE. > ... > More generally, this would lead to the coding convention that all macros > gl_FUNC_FOO for a single function foo() would be an AC_DEFUN_ONCE. My second issue with AC_DEFUN_ONCE is that this coding convention would defeat parts