|
From: | Vincent Torri |
Subject: | Re: AC_ARG_ENABLE: problem with the output of configure --help |
Date: | Sat, 31 Mar 2007 11:47:11 +0200 (CEST) |
On Sat, 31 Mar 2007, Andreas Schwab wrote:
Vincent Torri <address@hidden> writes:if test "x$2" = "xno" ; then AC_ARG_ENABLE(ecore-[]DOWN, AS_HELP_STRING( [--enable-ecore-[]DOWN], [enable the ecore_[]DOWN module. [[default=disabled]]] ), [ want_ecore_[]DOWN=$enableval ], [ want_ecore_[]DOWN=no ]) else AC_ARG_ENABLE(ecore-[]DOWN, AS_HELP_STRING( [--disable-ecore-[]DOWN], [disable the ecore_[]DOWN module. [[default=enabled]]] ), [ want_ecore_[]DOWN=$enableval ], [ want_ecore_[]DOWN=yes ]) fiYou cannot influence the generation of the configure script at runtime for obvious reasons. The expansion of the right AC_ARG_ENABLE must be selected by m4 conditionals.
Indeed, it works well with ifelse. Thank you Vincent
[Prev in Thread] | Current Thread | [Next in Thread] |