[Top][All Lists]

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

Re: Manual Example

From: Ralf Wildenhues
Subject: Re: Manual Example
Date: Fri, 26 May 2006 13:45:04 +0200
User-agent: Mutt/1.5.11

silly me...

* Ralf Wildenhues wrote on Fri, May 26, 2006 at 01:39:04PM CEST:
> AC_ARG_ENABLE([debug],
>     AS_HELP_STRING([--enable-debug], [Turn on debugging]),


      [AS_HELP_STRING([--enable-debug], [Turn on debugging])],

and with argument:

      [AS_HELP_STRING([--enable-debug@<:@=value@:>@], [Turn on debugging])],

(Autoconf-2.60 will get the spacing right.)

>     [case $enableval in
>       yes) debug=true ;;
>       no)  debug=false ;;
>       *) AC_MSG_ERROR([bad value $enableval for --enable-debug]) ;;
>     esac], [debug=false])
> AM_CONDITIONAL([DEBUG], [test "x$debug" = xtrue])

reply via email to

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