# First off, a distrib sanity check..
AC_INIT(mk/config.mk.in)
+dnl * Declare subdirectories that have a private configure script
+dnl
+dnl After the toplevel configuration is complete, the script will recurse into
+dnl these subdirectories (the use of cache values makes repeated checks cheap)
+AC_CONFIG_SUBDIRS(ghc)
+
# -------------------------------------------------------------------------
# Prepare to generate the following header files
#
AC_SUBST(exeext)
+AC_PATH_PROG(GHC,ghc)
+AC_PATH_PROGS(NHC,nhc nhc98)
+AC_PATH_PROG(HBC,hbc)
+
dnl --------------------------------------------------------------
dnl * Project specific configuration options
dnl --------------------------------------------------------------
recent version of GHC, but you could always try...)
],
[WithHc="$withval"],
-[WithHc="ghc"]
+[WithHc=$GHC]
)
AC_SUBST(WithHc)