summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjaortega <jaortega>2000-11-18 21:12:54 +0000
committerjaortega <jaortega>2000-11-18 21:12:54 +0000
commitf731595f43e2b2d204218efd0e2042312cc33a9d (patch)
treeb5eed566f6e79da8c7ef8836bf2e8c28091a787f
parentcf46fd449bd2b7a6ff41ac174c46af5ac41eb509 (diff)
downloadmdk-f731595f43e2b2d204218efd0e2042312cc33a9d.tar.gz
mdk-f731595f43e2b2d204218efd0e2042312cc33a9d.tar.bz2
missing check for ncurses added to configure.in
-rw-r--r--ChangeLog11
-rw-r--r--THANKS3
-rw-r--r--configure.in9
3 files changed, 13 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 8f09252..a89b27c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,10 +1,13 @@
Version 0.1.1
+ * Bug fix: local symbols are now handled properly (see
+ samples/stress{1,2}.mixal)
* Bug fix: unary - on future refs is handled now (see
- samples/stress3.mixal).
+ samples/stress3.mixal).
* Bug fix: future refs to labels defined with the EQU directive
- are correctly handled now (see samples/stress4.mixal).
- * configure.in check for readline falls back to -lreadline
- to fix configuration problem in Mandrake 7.0.
+ are correctly handled now (see samples/stress4.mixal).
+ * Bug fix: configure.in checks for ncurses, needed by readline
+ * mix_vm.c (mix_vm_run): overflow of the location pointer checked:
+ the vm halts if this happens.
Version 0.1
* initial revision \ No newline at end of file
diff --git a/THANKS b/THANKS
index 0570db2..e90601f 100644
--- a/THANKS
+++ b/THANKS
@@ -8,6 +8,9 @@ a list of these people. Help me keep it complete and exempt of errors.
* Philip Ellis King <pking@pdq.net> kindly provided MIXAL test programs
pinpointing bugs in the first MDK release, and useful discussions as well.
+* Agustin Navarro <anp@cantv.net> tested the installation on Mandrake and
+ discovered a bug in the configuration process.
+
* MDK was inspired by Darius Bacon's MIXAL program <djello@well.sf.ca.us>
which can be installed in Debian 2.3 as the package "mixal".
diff --git a/configure.in b/configure.in
index 3ff5d91..12d178d 100644
--- a/configure.in
+++ b/configure.in
@@ -31,12 +31,9 @@ test "x$prefix" = xNONE && prefix=$ac_default_prefix
AC_DEFINE_UNQUOTED(LOCALEDIR, "${prefix}/share/locale")
dnl Check for readline and history
-AC_CHECK_LIB(readline, completion_matches, ,
- [AC_MSG_WARN(Cannot find GNU readline lib... using default flag)
- LIBS="$LIBS -lreadline"])
-AC_CHECK_LIB(history, add_history, ,
- [AC_MSG_WARN(Cannot find GNU history lib... using default flag)
- LIBS="$LIBS -lhistory"])
+AC_CHECK_LIB(ncurses, initscr, , AC_MSG_ERROR(Cannot find ncurses lib))
+AC_CHECK_LIB(readline, readline, , AC_MSG_ERROR(Cannot find GNU readline lib))
+AC_CHECK_LIB(history, add_history, , AC_MSG_ERROR(Cannot find GNU history lib))
dnl Check for glib
AM_PATH_GLIB(1.2.0,