mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
Remove tabs from configure script
This commit is contained in:
parent
aafed3ece5
commit
bea3ec34dd
19
configure
vendored
19
configure
vendored
@ -469,8 +469,8 @@ then
|
|||||||
PV_MINOR=${PV_MAJOR_MINOR#* }
|
PV_MINOR=${PV_MAJOR_MINOR#* }
|
||||||
if [ "$PV_MAJOR" -lt "$MIN_PV_MAJOR" ] || [ "$PV_MINOR" -lt "$MIN_PV_MINOR" ]
|
if [ "$PV_MAJOR" -lt "$MIN_PV_MAJOR" ] || [ "$PV_MINOR" -lt "$MIN_PV_MINOR" ]
|
||||||
then
|
then
|
||||||
step_msg "pandoc $PV_MAJOR.$PV_MINOR is too old. Need at least $MIN_PV_MAJOR.$MIN_PV_MINOR. Disabling"
|
step_msg "pandoc $PV_MAJOR.$PV_MINOR is too old. Need at least $MIN_PV_MAJOR.$MIN_PV_MINOR. Disabling"
|
||||||
BAD_PANDOC=1
|
BAD_PANDOC=1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -544,7 +544,6 @@ then
|
|||||||
putvar CFG_ENABLE_CLANG
|
putvar CFG_ENABLE_CLANG
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
if [ -z "$CFG_ENABLE_CLANG" -a -z "$CFG_GCC" ]
|
if [ -z "$CFG_ENABLE_CLANG" -a -z "$CFG_GCC" ]
|
||||||
then
|
then
|
||||||
err "either clang or gcc is required"
|
err "either clang or gcc is required"
|
||||||
@ -558,12 +557,12 @@ then
|
|||||||
LLVM_VERSION=$($LLVM_CONFIG --version)
|
LLVM_VERSION=$($LLVM_CONFIG --version)
|
||||||
|
|
||||||
case $LLVM_VERSION in
|
case $LLVM_VERSION in
|
||||||
(3.3|3.3svn|3.2|3.2svn)
|
(3.3|3.3svn|3.2|3.2svn)
|
||||||
msg "found ok version of LLVM: $LLVM_VERSION"
|
msg "found ok version of LLVM: $LLVM_VERSION"
|
||||||
;;
|
;;
|
||||||
(*)
|
(*)
|
||||||
err "bad LLVM version: $LLVM_VERSION, need >=3.0svn"
|
err "bad LLVM version: $LLVM_VERSION, need >=3.0svn"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -571,7 +570,7 @@ if [ ! -z "$CFG_ENABLE_CLANG" ]
|
|||||||
then
|
then
|
||||||
if [ -z "$CFG_CLANG" ]
|
if [ -z "$CFG_CLANG" ]
|
||||||
then
|
then
|
||||||
err "clang requested but not found"
|
err "clang requested but not found"
|
||||||
fi
|
fi
|
||||||
CFG_CLANG_VERSION=$("$CFG_CLANG" \
|
CFG_CLANG_VERSION=$("$CFG_CLANG" \
|
||||||
--version \
|
--version \
|
||||||
|
Loading…
Reference in New Issue
Block a user