Re: Handling multiple conditions in if statements

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

 



On Thu, Apr 7, 2011 at 12:02, Daily, Jeff A <jeff.daily@xxxxxxx> 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

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf



[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux