Hi Stepan,

On Monday 10 January 2005 06:00 am, Stepan Kasal wrote:

> So it's usually enough to  write
....
> Well, I'd use
> 
> if [some-shell-script-test]
> then
>   ...
>   AM_CONDITIONAL([XXX], [true])
> else
>   ...
>   AM_CONDITIONAL([XXX], [false])
> fi

This is more-or-less exactly what is going on, except that
the "some-shell-script-test" includes (but is not exactly
limited to) some compile-and-link macros.  However, upon
reading the docs some more, they explicitly state to not do
this.  Is that overcaution in the docs?  Should one actually
do the following?

> if [some-shell-script-test]
> then
>   ...
>   set_XXX=true
> else
>   ...
>   set_XXX=false
> fi
> AM_CONDITIONAL([XXX], [${set_XXX}])


Reply via email to