summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@cardoe.com>2016-12-02 08:43:03 -0600
committerDoug Goldstein <cardoe@cardoe.com>2016-12-02 11:22:57 -0600
commite39c8d6dc8d55a4b8681d52d58305645ceefdf0d (patch)
tree49d7f4e5fe8e8b2f52d3747d4d70feeaf2e47e50 /configure
parentAuto merge of #37918 - flodiebold:separate-bodies, r=nikomatsakis (diff)
downloadgrust-e39c8d6dc8d55a4b8681d52d58305645ceefdf0d.tar.gz
grust-e39c8d6dc8d55a4b8681d52d58305645ceefdf0d.tar.bz2
grust-e39c8d6dc8d55a4b8681d52d58305645ceefdf0d.tar.xz
configure: only req CMake if we're building LLVM
CMake is only necessary if LLVM is going to be built and not in any other case. Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index 5311bf4b06..e49b081a3d 100755
--- a/configure
+++ b/configure
@@ -848,7 +848,10 @@ then
848fi 848fi
849 849
850# For building LLVM 850# For building LLVM
851probe_need CFG_CMAKE cmake 851if [ -z "$CFG_LLVM_ROOT" ]
852then
853 probe_need CFG_CMAKE cmake
854fi
852 855
853# On MacOS X, invoking `javac` pops up a dialog if the JDK is not 856# On MacOS X, invoking `javac` pops up a dialog if the JDK is not
854# installed. Since `javac` is only used if `antlr4` is available, 857# installed. Since `javac` is only used if `antlr4` is available,