[m-dev.] diff: fix readline problem on kryten
Fergus Henderson
fjh at cs.mu.OZ.AU
Thu Oct 14 15:21:53 AEST 1999
Estimated hours taken: 0.75
Fix a problem with the readline autoconfiguration that
caused compilation to fail on kryten.cs.mu.oz.au.
trace/mercury_trace_readline.c:
If the readline library was found, but the header files weren't,
then declare the stuff we need manually.
Workspace: /tmp/fjh/test_mercury_kryten/mercury
Index: trace/mercury_trace_readline.c
===================================================================
RCS file: /home/staff/zs/imp/mercury/trace/mercury_trace_readline.c,v
retrieving revision 1.1
diff -u -r1.1 mercury_trace_readline.c
--- 1.1 1999/03/30 05:45:53
+++ mercury_trace_readline.c 1999/10/03 12:34:03
@@ -22,6 +22,9 @@
#ifndef MR_NO_USE_READLINE
#ifdef HAVE_READLINE_READLINE
#include "readline/readline.h"
+ #else
+ FILE *rl_instream;
+ FILE *rl_outstream;
#endif
#ifdef HAVE_READLINE_HISTORY
#include "readline/history.h"
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list