autoconf
[Top][All Lists]
Advanced

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

Re: Handling multiple conditions in if statements


From: Adam Mercer
Subject: Re: Handling multiple conditions in if statements
Date: Thu, 7 Apr 2011 13:01:53 -0500

On Thu, Apr 7, 2011 at 12:02, Daily, Jeff A <address@hidden> wrote:

> Try a case statement.  I use the m4sh version e.g.
>
> AS_CASE([$build_os],
>        [*linux*], [AS_ECHO(["case for linux"])],
>        [AS_ECHO(["other platforms"])])

Thanks, I didn't think about case. Thats seems the most appropriate
way to handle this.

Cheers

Adam



reply via email to

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