automake-patches
[Top][All Lists]
Advanced

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

Re: [Fwd: Doc problem]


From: Ralf Corsepius
Subject: Re: [Fwd: Doc problem]
Date: Tue, 09 Nov 2004 16:34:25 +0100

On Tue, 2004-11-09 at 12:08, cedric pinson wrote:
> From: cedric pinson <address@hidden>
> To: address@hidden
> Subject: Doc problem
> Date: Mon, 08 Nov 2004 13:19:03 +0100
> 
> Hello,
> I had a problem to pass a option from configure to my makefile. I have 
> followed the doc about AM_CONDITIONAL with this scheme:
>       if COND_OPT
>         MAYBE_OPT = opt
>       endif
>       SUBDIRS = src $(MAYBE_OPT)
> 
> but when I ran automake i have an error about the variable MAYBE_OPT 
> (MAYBE_OPT is undefined). To resolve that we have added this code:
>       if COND_OPT
>         MAYBE_OPT = opt
>       else
>         MAYBE_OPT =
>       endif
>       SUBDIRS = src $(MAYBE_OPT)
> And all seems to be ok. It's not a big problem but when we follow the 
> documentation it doesnot work. So this is a patch for the documentation.
> 
> But maybe i am wrong and the documentation explains in detail this 
> behaviour.
Which version of automake are you using?

The symptom you describe matches a deficiency in out-dated versions of
automake that had been made functional a long time ago.

Ralf







reply via email to

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