From: simonmar Date: Tue, 18 Sep 2001 08:53:01 +0000 (+0000) Subject: [project @ 2001-09-18 08:53:01 by simonmar] X-Git-Tag: Approximately_9120_patches~959 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=dae2fd8016f4774de6e930dc5875f9f970abb6b0;p=ghc-hetmet.git [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. --- diff --git a/configure.in b/configure.in index f0376d9..d5427d4 100644 --- a/configure.in +++ b/configure.in @@ -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= 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)