Commit dae2fd80 authored by simonmar's avatar simonmar

[project @ 2001-09-18 08:53:01 by simonmar]

Don't check for an installed GHC if the user said --with-ghc=... or
GHC=... ./configure.
parent 5ab52492
......@@ -346,17 +346,19 @@ dnl use either is considered a Feature.
dnl ** What command to use to compile compiler sources ?
dnl --------------------------------------------------------------
if test "$GHC" = ""; then
AC_PATH_PROG(GHC,ghc)
fi
AC_ARG_WITH(ghc,
[ --with-ghc=<haskell compiler>
Use a command different from 'ghc' to compile GHC-specific Haskell code
(including GHC itself).
],
[WithGhc="$withval"],
[WithGhc=$GHC]
[ WithGhc="$withval" ],
[
if test "$GHC" = ""; then
AC_PATH_PROG(GHC,ghc)
fi
WithGhc=$GHC
]
)
AC_SUBST(WithGhc)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment