]> git.proxmox.com Git - qemu.git/commit - rules.mak
rules.mak: New string testing functions
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 13 Sep 2013 17:25:52 +0000 (18:25 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 16 Oct 2013 16:21:00 +0000 (18:21 +0200)
commit9ef622e31e7168a9a2c80f95d245c2ad156e3fa7
tree0c511c47b0f3eafdcb297b829e34ebe708cb21dd
parent837a2e267f9c01cd9204d5b701712d6d26a5220e
rules.mak: New string testing functions

Add new string testing functions which return a y/n result:
 eq : are two strings equal (ignoring leading/trailing space)?
 ne : are two strings unequal?
 isempty : is a string empty?
 notempty : is a string non-empty?

Based on an idea by Ákos Kovács <akoskovacs@gmx.com>.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
rules.mak