From fec04d387bb932b766469ef0e862961a79c93987 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Thu, 5 Jun 2014 15:17:59 +0200 Subject: [PATCH] Remove a warning (./configure: 1140: [: unexpected operator) when built with --disable-manage-submodules --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 38cf29652e5..e3cf990d47c 100755 --- a/configure +++ b/configure @@ -1136,7 +1136,7 @@ do CXXFLAGS=$LLVM_CXXFLAGS LDFLAGS=$LLVM_LDFLAGS - if [ "$CFG_DISABLE_LIBCPP" != 1 ] && [ "$CFG_USING_CLANG" == 1 ]; then + if [ -z "$CFG_DISABLE_LIBCPP" ] && [ -n "$CFG_USING_CLANG" ]; then LLVM_OPTS="$LLVM_OPTS --enable-libcpp" fi