summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-02-09 17:34:36 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-02-12 19:54:43 -0500
commit28683137a59607dfdac6add35aefc8676b7fa864 (patch)
treee5e189fdf441e043c4cd49898b8d67f2412bb0bd /distrib
parenta08f463bcc9727d91cec4c6e952ad0f5bbc3fbf9 (diff)
downloadhaskell-28683137a59607dfdac6add35aefc8676b7fa864.tar.gz
configure: Document CLANG, LLC, and OPT variables
Diffstat (limited to 'distrib')
-rw-r--r--distrib/configure.ac.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/distrib/configure.ac.in b/distrib/configure.ac.in
index e064a5d81c..dd0eb2edae 100644
--- a/distrib/configure.ac.in
+++ b/distrib/configure.ac.in
@@ -128,12 +128,14 @@ LlvmVersion=@LlvmVersion@
dnl ** Which LLVM llc to use?
dnl --------------------------------------------------------------
+AC_ARG_VAR(LLC,[Use as the path to LLVM's llc [default=autodetect]])
FIND_LLVM_PROG([LLC], [llc], [$LlvmVersion])
LlcCmd="$LLC"
AC_SUBST([LlcCmd])
dnl ** Which LLVM opt to use?
dnl --------------------------------------------------------------
+AC_ARG_VAR(OPT,[Use as the path to LLVM's opt [default=autodetect]])
FIND_LLVM_PROG([OPT], [opt], [$LlvmVersion])
OptCmd="$OPT"
AC_SUBST([OptCmd])