cvs commit: fptools/ghc/compiler/ghci InteractiveUI.hs

Julian Seward (Intl Vendor) v-julsew@microsoft.com
Tue, 24 Apr 2001 04:11:20 -0700


| >     ghc/compiler/ghci    InteractiveUI.hs=20
| >   Log:
| >   Generate a plausible value for NO_READLINE.
|=20
| When neither HAVE_READLINE_4_2 nor HAVE_READLINE_4 is=20
| defined, it doesn't necessarily mean that readline is not=20
| available, only that it has version < 4.0 if available. Is it=20
| intentional that InteractiveUI defines NO_READLINE in this=20
| case and doesn't check HAVE_READLINE_LIBS instead?

Marcin

I could not find any place in the entire source tree which
Generated a value for NO_READLINE.  I was attempting to
build GHCi with the interactive system on Win32, but because
NO_READLINE was not defined, the build failed expecting
readline to be available.  I see you have a better=20
Understanding of the readline config mechanisms than I do
-- maybe you can suggest the correct way to derive a value
for NO_READLINE in InteractiveUI.hs?

J