From: Loic Dachary Date: Thu, 19 Dec 2013 12:40:06 +0000 (+0100) Subject: autogen: test compare strings with != not -ne X-Git-Tag: v0.75~73^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f193925aa59efb18691dd9c768096fa41127fa4c;p=ceph.git autogen: test compare strings with != not -ne Signed-off-by: Loic Dachary --- diff --git a/do_autogen.sh b/do_autogen.sh index bc6749e9e5dd..ea498d863ac0 100755 --- a/do_autogen.sh +++ b/do_autogen.sh @@ -79,7 +79,7 @@ if [ "${debug_level}" -ge 3 ]; then -Wno-missing-field-initializers -Wno-missing-declarations" fi if [ "${debug_level}" -ge 4 ]; then - if [ "${CXX}" -ne "clang++" ]; then + if [ "${CXX}" != "clang++" ]; then CXXFLAGS="${CXXFLAGS} -Wstrict-null-sentinel -Woverloaded-virtual" else CXXFLAGS="${CXXFLAGS} -Woverloaded-virtual"