From 7ca6e18319483cd198c6d74dbfef8b7de734ed98 Mon Sep 17 00:00:00 2001 From: panne Date: Sat, 15 Nov 2003 19:37:15 +0000 Subject: [PATCH] [project @ 2003-11-15 19:37:13 by panne] Cleaned up the mechanism for building the unix package --- configure.ac | 10 ++++++++++ mk/config.mk.in | 4 ++++ 2 files changed, 14 insertions(+) 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 -- 1.7.10.4