autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AC_DEFUN Syntax


From: Ralf Wildenhues
Subject: Re: AC_DEFUN Syntax
Date: Sun, 6 Sep 2009 11:42:30 +0200
User-agent: Mutt/1.5.20 (2009-08-09)

Hello Husam,

* Husam Senussi wrote on Sun, Sep 06, 2009 at 11:00:58AM CEST:
> I had problem building make files for existing project because
> autconf was falling, we had look around I found
> the autoconf was falling because macro definition which looks like this
> 
> AC_DEFUN([NAME],
>       [
>               some code
>       ],
>       [
>               more code
>       ])
> 
> 
> but from what I understand the correct syntax based on 2.64
> documentation the syntax should be
> 
> AC_DEFUN([Name],
>       [
>               some code
>       ])

Yes.  The latter is the public API.  The third argument is currently
used by some code, but is not part of the public API, so you should
not use it.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]