GHCi off by default?

Seth Kurtzberg
Sun, 1 Sep 2002 23:40:59 -0700


I noticed that when I build ghc-5.04 from source, the resulting executables 
have interactive mode disabled.

There is some code in mk/ that appears backwards to me (although 
according to the accompanying comment it is not backwards):

#ifneq "$(findstring $(HostOS_CPP), mingw32 cygwin32 linux solaris2 freebsd 
netbsd openbsd)" ""
ifeq "$(HaveLibDL)" "YES"
SRC_HC_OPTS += -ldl

This appears to turn GHCi off for mingw32, cygwin32, linux, solaris2, freebsd, 
netbsd, and openbsd.

Should that be #ifeq instead of #ifneq?  Or am in misinterpreting?

Seth Kurtzberg
M. I. S. Corp.