autoconf
[Top][All Lists]
Advanced

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

Re: AC_ARG_ENABLE: problem with the output of configure --help


From: Andreas Schwab
Subject: Re: AC_ARG_ENABLE: problem with the output of configure --help
Date: Sat, 31 Mar 2007 11:34:40 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux)

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 ])
> fi

You 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.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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