autoconf
[Top][All Lists]
Advanced

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

AM_CONDITIONAL


From: Russell Shaw
Subject: AM_CONDITIONAL
Date: Mon, 15 Aug 2005 03:21:43 +1000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050802 Debian/1.7.10-1

Hi,
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='#'
else
  ENABLE_GTK_DOC_TRUE='#'
  ENABLE_GTK_DOC_FALSE=
fi

Isn't this backward? When enable_gtk_doc = yes, then this will be
*false* in the makefile:

if ENABLE_GTK_DOC_TRUE
...




reply via email to

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