bug-inetutils
[Top][All Lists]
Advanced

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

[bug-inetutils] Re: inetutils-1.8 released


From: Simon Josefsson
Subject: [bug-inetutils] Re: inetutils-1.8 released
Date: Tue, 18 May 2010 21:57:50 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)

"Alfred M. Szmidt" <address@hidden> writes:

>    > If you do the following in a Makefile.am:
>    >
>    > | ifdef foo
>    > | bar = frob
>    > | endif
>    >
>    > You get an error like:
>    >
>    > | Makefile.am:3: endif without if
>
>    I see.  You need to use 'if', not 'ifdef', and the symbol needs to be
>    declared using AM_CONDITIONAL.
>
> That doesn't explain why though, which is what I'm interested in.  The
> `if' construct is automakeism and gets expanded during ./configure,
> whilst ifdef is makeism and is dynamic.

I don't think everything that works in a Makefile necessarily works in a
Makefile.am, and extensions like ifdef could be one such case.

/Simon



reply via email to

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