[prev in list] [next in list] [prev in thread] [next in thread]
List: autoconf
Subject: Re: AM_CONDITIONAL
From: Ralf Wildenhues <Ralf.Wildenhues () gmx ! de>
Date: 2005-08-14 18:24:14
Message-ID: 20050814182414.GA3034 () uni-bonn ! de
[Download RAW message or body]
Hi Russell,
* Russell Shaw wrote on Sun, Aug 14, 2005 at 07:21:43PM CEST:
> In configure.in, i have:
>
> AM_CONDITIONAL(ENABLE_GTK_DOC, test x$enable_gtk_doc = xyes)
>
> and it gets turned into:
>
> if test x$enable_gtk_doc = xyes; then
> ENABLE_GTK_DOC_TRUE=
> ENABLE_GTK_DOC_FALSE='#'
*snip*
>
> Isn't this backward? When enable_gtk_doc = yes, then this will be
> *false* in the makefile:
Nope. It may seem so, but it's not, because this:
> if ENABLE_GTK_DOC_TRUE
| bla
| else
| blubb
| endif
will turn into
| @ENABLE_GTK_DOC_TRUE@bla
| @ENABLE_GTK_DOC_FALSE@blubb
in Makefile.in. However, strictly speaking this is an implementation
detail you should not have to worry about at all (and should not rely
on either).
Cheers,
Ralf
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic