From: panne Date: Sat, 15 Nov 2003 19:37:15 +0000 (+0000) Subject: [project @ 2003-11-15 19:37:13 by panne] X-Git-Tag: Approx_11550_changesets_converted~248 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=7ca6e18319483cd198c6d74dbfef8b7de734ed98;p=ghc-hetmet.git [project @ 2003-11-15 19:37:13 by panne] Cleaned up the mechanism for building the unix package --- diff --git a/configure.ac b/configure.ac index 49d7a07..242e4fb 100644 --- a/configure.ac +++ b/configure.ac @@ -661,6 +661,16 @@ dnl -------------------------------------------------------------- dnl * General configuration checks dnl -------------------------------------------------------------- +dnl ** Can the unix package be built? +dnl -------------------------------------------------------------- + +if test x"$TargetPlatform" = x"i386-unknown-mingw32"; then + GhcLibsWithUnix=NO +else + GhcLibsWithUnix=YES +fi +AC_SUBST([GhcLibsWithUnix]) + dnl ** does #! work? AC_SYS_INTERPRETER() diff --git a/mk/config.mk.in b/mk/config.mk.in index 5271ce5..cac676c 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -407,6 +407,10 @@ X_LIBS=@X_LIBS@ # DotnetSupport=@DotnetSupport@ +# Build unix package? +# +GhcLibsWithUnix=@GhcLibsWithUnix@ + ################################################################################ # # happy project