X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=configure.in;h=be31d6907f3dc9ae5eb61c71a50ed5821cc1d8b0;hb=003bc7cbbec233a047ce899b0ec6ebd2816752ed;hp=91bd16167e49da54f872b1fa57f8474555479faf;hpb=72efdb49a4f3562d2d4dd11792f5ca09db249162;p=ghc-hetmet.git diff --git a/configure.in b/configure.in index 91bd161..be31d69 100644 --- a/configure.in +++ b/configure.in @@ -434,6 +434,20 @@ if test x"$EnableWin32DLLs" = "xYES" ; then AC_DEFINE(HAVE_WIN32_DLL_SUPPORT) fi +dnl ** Building a Win32-friendlier compiler? +dnl -------------------------------------------------------------- +AC_ARG_ENABLE(minimal-unix-deps, +[ --enable-minimal-unix-deps + Build a compiler that minimizes dependencies on Unix-like tools + under Win32, allowing the user to operate the compiler without + having to install Cygwin toolchain (say). (You still need + that toolchain to build GHC from sources though). +], +[MinimalUnixDeps=YES], +[MinimalUnixDeps=NO] +) +AC_SUBST(MinimalUnixDeps) + dnl ** Enable the building of the OpenGL/GLUT binding in hslibs? dnl -------------------------------------------------------------- AC_ARG_ENABLE(hopengl, @@ -479,12 +493,12 @@ AC_SYS_INTERPRETER() dnl ** look for `perl', but only in /bin on Windows case $HostOS_CPP in cygwin32|mingw32) - AC_CHECK_PROG(PerlCmd,perl,/bin/perl,,/bin) - if test -z "$PerlCmd"; then - echo "You must install the version of Perl shipped with GHC" - echo "(or a compatible one) in /bin." - exit 1 - fi + AC_CHECK_PROG(PerlCmd,perl,/bin/perl,,/bin) + if test -z "$PerlCmd"; then + echo "You must install the version of Perl shipped with GHC" + echo "(or a compatible one) in /bin." + exit 1 + fi ;; *) AC_PATH_PROG(PerlCmd,perl)