]> git.ipfire.org Git - thirdparty/libtool.git/commit
libtool: fold if into a compound OR statement when more readable
authorGary V. Vaughan <gary@gnu.org>
Tue, 2 Oct 2012 11:52:40 +0000 (18:52 +0700)
committerGary V. Vaughan <gary@gnu.org>
Tue, 2 Oct 2012 14:07:34 +0000 (21:07 +0700)
commit8f0ee8aeeb474f717b073d18febe49351fa05f18
tree038c0399d65ded7d6cd85a906077476df44f8866
parent9a4cac834246b57f8a7c4883be4ad40345521b89
libtool: fold if into a compound OR statement when more readable

* build-aux/ltmain.m4sh (func_mode_link): For readability, use
'test string = "$var" || { stuff; }' in preference to
'if test string != "$var"; then stuff; fi'.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
build-aux/ltmain.m4sh