[Top][All Lists]

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

Re: Manual Example

From: Thomas 'Tom' R. Treadway III
Subject: Re: Manual Example
Date: Tue, 30 May 2006 10:03:15 -0700

Is there a way to have commas in the text of AS_HELP_STRING?
For example:
AS_HELP_STRING([--with-HDF5=INC,LIB],[Location of HDF5 include files and libraries])


On May 26, 2006, at 4:45 AM, Ralf Wildenhues wrote:

silly me...

* Ralf Wildenhues wrote on Fri, May 26, 2006 at 01:39:04PM CEST:

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

Thomas R. Treadway
Computer Scientist
Lawrence Livermore Nat'l Lab
7000 East Avenue, L-550
Livermore, CA 94550-0611

reply via email to

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