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


Reply via email to