diff: Fix missing #defines in mercury_conf.h.in

Tyson Dowd trd at cs.mu.OZ.AU
Thu Apr 1 13:39:37 AEST 1999


Hi,

Here's a quick fix.

===================================================================


Estimated hours taken: 0.3

Fix a bug where trace/mercury_trace_readline.c was failing to include
the necessary header files.

runtime/mercury_conf.h.in:
	Add HAVE_READLINE_READLINE and HAVE_READLINE_HISTORY to this
	configuration file.


Index: runtime/mercury_conf.h.in
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_conf.h.in,v
retrieving revision 1.12
diff -u -r1.12 mercury_conf.h.in
--- mercury_conf.h.in	1999/03/30 05:45:38	1.12
+++ mercury_conf.h.in	1999/04/01 03:37:03
@@ -266,8 +266,15 @@
 **	readline library for the command-line prompt.
 **	The autoconfiguration script sets this if it can't find a termcap
 **	library.
+**
+** HAVE_READLINE_READLINE
+** HAVE_READLINE_HISTORY
+**	Defined if the header files readline/readline.h and
+**	readline/history.h are available.
 */
 #undef  MR_NO_USE_READLINE
+#undef  HAVE_READLINE_READLINE
+#undef  HAVE_READLINE_HISTORY
 
 /*---------------------------------------------------------------------------*/
 


-- 
The quantum sort: 
	while (!sorted) { do_nothing(); }
Tyson Dowd   <tyson at tyse.net>   http://tyse.net/



More information about the developers mailing list