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>
This commit is contained in:
Doug Goldstein 2016-12-02 08:43:03 -06:00
parent f50dbd580f
commit e39c8d6dc8
No known key found for this signature in database
GPG Key ID: A2BC03DC87ED1BD4

5
configure vendored
View File

@ -848,7 +848,10 @@ then
fi fi
# For building LLVM # For building LLVM
probe_need CFG_CMAKE cmake if [ -z "$CFG_LLVM_ROOT" ]
then
probe_need CFG_CMAKE cmake
fi
# On MacOS X, invoking `javac` pops up a dialog if the JDK is not # On MacOS X, invoking `javac` pops up a dialog if the JDK is not
# installed. Since `javac` is only used if `antlr4` is available, # installed. Since `javac` is only used if `antlr4` is available,