[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: expand-before-require bug
From: |
Bruno Haible |
Subject: |
Re: expand-before-require bug |
Date: |
Wed, 28 Jan 2009 23:20:45 +0100 |
User-agent: |
KMail/1.9.9 |
Eric Blake wrote:
> > How about this work-around?
> >
> >
> > -# AC_DEFUN_ONCE(NAME, VALUE)
> > +# AC_DEFUN_ONCE([NAME], VALUE)
> > # --------------------------
>
> Lengthen the separator line by two dashes, then commit.
I disagree. Inside autoconf macro documentation, brackets denote optional
arguments. Examples (from the autoconf doc):
-- Macro: AC_CHECK_FUNC (FUNCTION, [ACTION-IF-FOUND],
[ACTION-IF-NOT-FOUND])
-- Macro: AC_CHECK_HEADER (HEADER-FILE, [ACTION-IF-FOUND],
[ACTION-IF-NOT-FOUND], [INCLUDES = `AC_INCLUDES_DEFAULT'])
So this means that the first argument of AC_DEFUN_ONCE can be empty?!
Brubno
- Re: expand-before-require bug, (continued)