autoconf-patches
[Top][All Lists]
Advanced

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

Re: proposed autoconf patches for AS_BASENAME, AS_DIRNAME


From: Akim Demaille
Subject: Re: proposed autoconf patches for AS_BASENAME, AS_DIRNAME
Date: 19 Oct 2001 19:30:15 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)

| I wrote it with m4_ifval first, but I found it harder to read that
| way, so I changed it to use the shell before I installed it.
| 
| I found it harder to read for the same reason that I find
| 
|        if (x)
|        y;
|    #if FOO
|        else if (z)
|        w;
|    #endif
| 
| harder to read than
| 
|        if (x)
|        y;
|        else if (FOO && z)
|        w;
| 
| Agreed, it's just a style thing.

And I understand very well your viewpoint.  We lack some M4 macro to
express || or if/fi, and that case, it would be cleaner, but overkill :)



reply via email to

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