summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2021-03-11 09:26:32 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-04-05 20:40:30 -0400
commit54247fb145dd8f662c6d273bef6f8ba9db24ab87 (patch)
treef109eba0c449a5d52ef06ab16c8119544eb0adc4
parent3483c3de2aa9c1a48d2e8a9271eadc5e3f4da70d (diff)
downloadhaskell-54247fb145dd8f662c6d273bef6f8ba9db24ab87.tar.gz
./configure: Indicate that GHC=… should be a full path
and not just the name on the binary on the `$PATH`.
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index bcda0b1ffb..0684673b7c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -90,10 +90,10 @@ dnl use either is considered a Feature.
dnl ** What command to use to compile compiler sources ?
dnl --------------------------------------------------------------
-AC_ARG_VAR(GHC,[Use as the path to GHC [default=autodetect]])
+AC_ARG_VAR(GHC,[Use as the full path to GHC. [default=autodetect]])
AC_PATH_PROG([GHC], [ghc])
AC_ARG_WITH([ghc],
- AS_HELP_STRING([--with-ghc=ARG], [Use ARG as the path to ghc (obsolete, use GHC=ARG instead) [default=autodetect]]),
+ AS_HELP_STRING([--with-ghc=ARG], [Use ARG as the full path to ghc (obsolete, use GHC=ARG instead) [default=autodetect]]),
AC_MSG_ERROR([--with-ghc=$withval is obsolete (use './configure GHC=$withval' or 'GHC=$withval ./configure' instead)]))
AC_SUBST(WithGhc,$GHC)