Remove a warning (./configure: 1140: [: unexpected operator) when built with --disable-manage-submodules

This commit is contained in:
Sylvestre Ledru 2014-06-05 15:17:59 +02:00
parent f2821f2c29
commit fec04d387b

2
configure vendored
View File

@ -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