Skip to content
Browse files

Getting back to with-hc, plus fixing the code.

Turns out the documentation and code were indeed different, but the error was
in the code that expected a --with-ghc flag. Now both point to --with-hc.
  • Loading branch information...
1 parent 51ae231 commit 90923f3d1cc28a0291798b78d474fda3997a9186 @passalaqua passalaqua committed Apr 16, 2013
Showing with 7 additions and 7 deletions.
  1. +5 −5 EHC/configure
  2. +2 −2 EHC/configure.ac
View
10 EHC/configure
@@ -822,7 +822,7 @@ with_uuagc_ehc_sem_options
with_shuffle_options
with_cabal_config_options
with_ehc_unixtool_prefix
-with_ghc
+with_hc
with_ghc_ehc_options
with_haddock
with_uuagc
@@ -1499,7 +1499,7 @@ Optional Packages:
configure when compiling EHC.
--with-ehc-unixtool-prefix=<additional prefix for unixtools (already with absolute pathnames) used by ehc>
Additional prefix for unixtools used by ehc.
- --with-ghc=<haskell compiler>
+ --with-hc=<haskell compiler>
Use a command different from 'ghc' to compile with
GHC.
--with-ghc-ehc-options=<haskell compiler options for compiling ehc>
@@ -3525,9 +3525,9 @@ TOPLEVEL_SYSTEM_ABSPATH_PREFIX="$toplevelSystemAbsolutePathPrefix"
### 'with' option for Haskell compiler, by default ghc
-# Check whether --with-ghc was given.
-if test "${with_ghc+set}" = set; then :
- withval=$with_ghc; ghcCmd="$withval"
+# Check whether --with-hc was given.
+if test "${with_hc+set}" = set; then :
+ withval=$with_hc; ghcCmd="$withval"
else
if test "$GHC" = ""; then
View
4 EHC/configure.ac
@@ -316,8 +316,8 @@ esac
AC_SUBST(TOPLEVEL_SYSTEM_ABSPATH_PREFIX, "$toplevelSystemAbsolutePathPrefix")
### 'with' option for Haskell compiler, by default ghc
-AC_ARG_WITH(ghc,
-[AS_HELP_STRING([--with-ghc=<haskell compiler>],[Use a command different from 'ghc' to compile with GHC.])],
+AC_ARG_WITH(hc,
+[AS_HELP_STRING([--with-hc=<haskell compiler>],[Use a command different from 'ghc' to compile with GHC.])],
[ ghcCmd="$withval" ],
[
if test "$GHC" = ""; then

0 comments on commit 90923f3

Please sign in to comment.
Something went wrong with that request. Please try again.