Commit Graph

15 Commits

Author SHA1 Message Date
Peter Ross
fc1ce8cf47 Another --use-subdirs bug fix when using sicstus.
Estimated hours taken: 3

Another --use-subdirs bug fix when using sicstus.

scripts/msl.in:
    Detect the special case file 'sp_lib.ql' even when the file name has
    leading directory info.

    Also update the copyright notice.
1998-06-03 01:32:25 +00:00
Fergus Henderson
04b720630b Update the copyright messages so that (a) they contain the correct years
and (b) they say "Copyright (C) ... _The_ University of Melbourne".
1997-07-27 15:09:59 +00:00
Tyson Dowd
9484d33ff9 Rename mc' as mmc'.
Estimated hours taken: 2

Rename `mc' as `mmc'.

Note: we do not change the names of variables such as MCFLAGS, just the
`mc' executable.

configure.in:
	Look for mmc not mc. If you can't find mmc to bootstrap, try for
	mc.

bindist/Mmakefile:
bindist/bindist.configure.in:
doc/Mmakefile:
doc/user_guide.texi:
scripts/Mmake.vars.in:
scripts/Mmakefile:
scripts/msl.in:
tools/expand_params:
tools/optstages:
tools/speedtest:
tools/test_mercury:
	Change references to mc into mmc.
1997-07-15 08:05:15 +00:00
David Jeffery
a044511f1a Added documentation of the new MERCURY_SP_OVERRIDING_LIB_OBJS (etc.)
Estimated hours taken: 0.5

Added documentation of the new MERCURY_SP_OVERRIDING_LIB_OBJS (etc.)
environment variables, and improved documentation of other Prolog related
Mercury environment variables.

scripts/msl.in:
	document MERCURY_SP_OVERRIDING_LIB_OBJS and add documentation for some
	other variables
scripts/mnl.in:
	document MERCURY_NU_OVERRIDING_LIB_OBJS, and add documentation for some
	other variables
1997-05-19 02:17:02 +00:00
David Jeffery
381f5e328c Improved the error messages for map__lookup failure by writing out the types
Estimated hours taken: 4

Improved the error messages for map__lookup failure by writing out the types
of the values and keys.

Also, since the Prologs cannot handle the type_of functions, a `normal'
version of map__lookup has been added to map.nu.nl

To accomodate this, this change implements a mechanism to override
definitions of predicates for particular Prologs. This mechanism makes
explicit which .no or .ql files contain preds overriding others, and so
makes things a bit more robust.

library/map.m:
	Implement the better error messages.
library/map.nu.nl:
	The Prolog version of map__lookup.
library/Mmakefile:
	Set new environment variables, MERCURY_NU_OVERRIDING_LIB_OBJS or
	MERCURY_SP_OVERRIDING_LIB_OBJS to be the files which are to be
	linked, but contain definitions which override others.
scripts/mnl.in:
	Link everything in MERCURY_NU_OVERRIDING_LIB_OBJS last.
scripts/msl.in:
	Link everything in MERCURY_SP_OVERRIDING_LIB_OBJS last.
1997-05-17 03:27:18 +00:00
Fergus Henderson
62377e8bf2 Fix a portability problem: ULTRIX's /bin/sh does not understand
Estimated hours taken: 0.5

scripts/{c2init,mnc,mnl,msc,msl}.in:
	Fix a portability problem: ULTRIX's /bin/sh does not understand
	`shift 2', so I've replaced all occurrences of this with
	`shift; shift'.  (Thanks to Jeff Schultz for the bug report.)
1996-05-13 06:12:48 +00:00
Fergus Henderson
d8c7b37aea Fix bug reported by Peter Szeredi which meant that SICStus debugging
Estimated hours taken: 0.25

Fix bug reported by Peter Szeredi which meant that SICStus debugging
didn't work.

scripts/msl.in:
	Don't link with portray.ql, since that is already part of
	library.sicstus.debug.
1996-02-29 07:14:39 +00:00
Fergus Henderson
f45e884d2c More changes for SICStus 3.
Estimated hours taken: 0.5

More changes for SICStus 3.

scripts/msl.in:
	If we're using SICStus version 3, then we need to
	turn off character escapes.
1996-01-08 08:16:57 +00:00
Fergus Henderson
2cf39d9dbd Add some fixes to get it to work with SICStus version 3.
Estimated hours taken: 1

scripts/msl.in:
	Add some fixes to get it to work with SICStus version 3.
1995-12-28 04:08:26 +00:00
Fergus Henderson
cc7df5f519 If --debug was set, link in portray.ql (which is now useful,
scripts/msl.in:
	If --debug was set, link in portray.ql (which is now useful,
	since it displays strings properly).
1995-10-13 17:25:37 +00:00
Fergus Henderson
15f65f5f1b If enabling fastcode fails, just continue:
scripts/msl.in:
	If enabling fastcode fails, just continue:
	SICStus Prolog doesn't support fastcode on some CPUs (e.g. i386).
1995-10-02 07:54:18 +00:00
Fergus Henderson
8cf86fd1ef Replace all uses of
scripts/*.in:
	Replace all uses of

		... "$@" ...

	with

		case $# in
			0) ... ...
			*) ... "$@" ...
		esac

	since on ULTRIX and OSF, "$@" does the wrong thing if $# is 0.
1995-09-18 07:14:09 +00:00
Fergus Henderson
0f0b70be9e Make the default list of library .ql files empty,
scripts/msl.in:
	Make the default list of library .ql files empty,
	rather than `cd $SPLIBDIR; echo *.ql`.  We normally
	link by loading the named .ql files into library.sicstus.debug
	which has the library .ql files pre-loaded.  The
	the .ql files don't get installed, so `*.ql' did not
	get expanded in the `cd $SPLIBDIR; echo *.ql` command -
	instead it accidentally got expanded later as *.ql in the
	current directory, which was wrong.

	Also, call garbage_collect before saving the state in the debug
	version, since this reduces the size of the executable.
	(We already did this in the non-debug version.)
1995-08-18 16:58:02 +00:00
Fergus Henderson
60bc8f3ef9 Change "#!/bin/sh" to "#! /bin/sh", since the latter is more portable.
scripts/*.in:
	Change "#!/bin/sh" to "#! /bin/sh", since the latter is more portable.
	Add "# @configure_input@" to the start of each file.
1995-05-19 08:17:46 +00:00
Fergus Henderson
76dbe913e2 Rename *.sh as *.in.
scripts:
	Rename *.sh as *.in.
	The scripts are now made by configure, not by make/mmake in the
	scripts directory.
1995-05-12 21:01:34 +00:00