[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cross-compilation guesses (5)
From: |
Bruno Haible |
Subject: |
Re: cross-compilation guesses (5) |
Date: |
Wed, 02 May 2012 23:17:34 +0200 |
User-agent: |
KMail/4.7.4 (Linux/3.1.10-1.9-desktop; KDE/4.7.4; x86_64; ; ) |
Jim Meyering wrote:
> However, I would find the above code easier to read if it were
> written on fewer lines:
>
> case "$host_os" in
> *-gnu*) $1 ;; # Guess yes on glibc systems.
> *) $2 ;; # If we don't know, assume the worst.
> esac
Will it also work if $1 or $2 contains an m4 comment (dnl something)
or ends in a shell comment (# something)?
Also, I like to put comments about statements before the statements,
not afterwards.
Bruno