[project @ 2003-11-15 19:37:13 by panne]
authorpanne <unknown>
Sat, 15 Nov 2003 19:37:15 +0000 (19:37 +0000)
committerpanne <unknown>
Sat, 15 Nov 2003 19:37:15 +0000 (19:37 +0000)
Cleaned up the mechanism for building the unix package

configure.ac
mk/config.mk.in

index 49d7a07..242e4fb 100644 (file)
@@ -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()
 
index 5271ce5..cac676c 100644 (file)
@@ -407,6 +407,10 @@ X_LIBS=@X_LIBS@
 #
 DotnetSupport=@DotnetSupport@
 
+# Build unix package?
+#
+GhcLibsWithUnix=@GhcLibsWithUnix@
+
 ################################################################################
 #
 #              happy project