GHCi off by default?

Seth Kurtzberg seth@cql.com
Sun, 1 Sep 2002 23:40:59 -0700


Simon,

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

There is some code in mk/config.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)" ""
GhcWithInterpreter=YES
ifeq "$(HaveLibDL)" "YES"
SRC_HC_OPTS += -ldl
endif
#else
#GhcWithInterpreter=NO
#endif

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.
1-480-661-1849