chiark / gitweb /
runlisp
7 months agorunlisp-base.conf (cmucl/run-script): Use `muffle-warning' function.
Mark Wooding [Fri, 13 Sep 2024 13:25:27 +0000 (14:25 +0100)]
runlisp-base.conf (cmucl/run-script): Use `muffle-warning' function.

In place of the unnecessarily complicated handle-rolled version.

10 months agoREADME.org: Mention that `runlisp' can support non-free Lisps.
Mark Wooding [Mon, 17 Jun 2024 12:00:32 +0000 (13:00 +0100)]
README.org: Mention that `runlisp' can support non-free Lisps.

The old text stated rather baldly that, if you wanted to use a non-free
Lisp system, then `cl-launch' was your only option.  This was basically
true when it was written, because that version of `runlisp' had support
for the known Lisp systems baked into the code.  (Even then, I suppose
you could have maintained a fork with the additional support.)

But now, supporting new Lisp systems is just a matter of writing the
necessary configuration runes in a text file.  This is clearly possible
and practical.  It's just that I'm not interested in carrying
configuration for non-free Lisps as part of the `runlisp' distribution.

10 months agoFix a number of random typos in source commentary and documentation.
Mark Wooding [Mon, 17 Jun 2024 10:21:48 +0000 (11:21 +0100)]
Fix a number of random typos in source commentary and documentation.

No code changes at all.

10 months agoREADME.org: Clarify `free software' with a link to the FSF.
Mark Wooding [Mon, 17 Jun 2024 11:52:22 +0000 (12:52 +0100)]
README.org: Clarify `free software' with a link to the FSF.

10 months agotests.at: Wrap an overly long comment line.
Mark Wooding [Mon, 17 Jun 2024 10:54:54 +0000 (11:54 +0100)]
tests.at: Wrap an overly long comment line.

10 months ago*.c: Remove trailing colons from option group headers.
Mark Wooding [Mon, 17 Jun 2024 10:24:12 +0000 (11:24 +0100)]
*.c: Remove trailing colons from option group headers.

This matches my style in actual Lisp programs, at least.

10 months agotests.at: Use the `@%:@' quadrigraph rather than quoting hacks for `#'.
Mark Wooding [Mon, 17 Jun 2024 10:54:21 +0000 (11:54 +0100)]
tests.at: Use the `@%:@' quadrigraph rather than quoting hacks for `#'.

10 months agorunlisp-base.conf: Etch SBCL's idea of where its `home' is.
Mark Wooding [Mon, 17 Jun 2024 10:55:46 +0000 (11:55 +0100)]
runlisp-base.conf: Etch SBCL's idea of where its `home' is.

Older SBCL versions end up believing that their `home' directory is
wherever the image was loaded from, but this is wrong for our dumped
images.

The directory is set by the C runtime code and (rather unpleasantly)
passed through the `SBCL_HOME' environment variable to Lisp, which
retrieves it via the `sb-impl::sbcl-homedir-pathname' function.

On the affected older SBCL versions, when we're dumping an image,
replace `sb-impl::sbcl-homedir-pathname' with a version which just
parrots the pre-dumped value.

Mention in `README.org' that it doesn't describe the actual SBCL
configuration any more.  (Sadness.)

10 months agorunlisp.c: Remove long-removed `-C' option from usage synopsis.
Mark Wooding [Mon, 17 Jun 2024 10:49:36 +0000 (11:49 +0100)]
runlisp.c: Remove long-removed `-C' option from usage synopsis.

This dates back to an earlier time when all configuration was done using
command-line options.  The `-P' option would add one or more Lisp
implementation names to the preferred list; but, because `runlisp'
would collect options from multiple places, it was necessary to be able
to clear the list.  This is what the `-C' option did.  It was removed
as soon as the new configuration-file system was introduced -- which
happened about a week after the initial version was committed.  But
somehow the `-C' option lived on in the usage synopsis.

10 months agorunlisp.c, README.org: Ignore unknown permitted Lisp systems.
Mark Wooding [Mon, 17 Jun 2024 11:51:15 +0000 (12:51 +0100)]
runlisp.c, README.org: Ignore unknown permitted Lisp systems.

This is essential for script portability, and I should have thought
about it much earlier.

10 months agolib.c: Make `search_recursive' be static, as it should be.
Mark Wooding [Mon, 17 Jun 2024 10:23:18 +0000 (11:23 +0100)]
lib.c: Make `search_recursive' be static, as it should be.

13 months agoREADME.org: Use a more principled hack to make emphasis work.
Mark Wooding [Sun, 10 Mar 2024 17:48:21 +0000 (17:48 +0000)]
README.org: Use a more principled hack to make emphasis work.

13 months agolib.c (subst): Make the big table a bit more comprehensible.
Mark Wooding [Mon, 4 Mar 2024 17:32:17 +0000 (17:32 +0000)]
lib.c (subst): Make the big table a bit more comprehensible.

Explain which flag combinations are impossible, and annotate the table
with the corresponding flag settings.

13 months agolib.c (subst): Refer to the correct variable.
Mark Wooding [Mon, 4 Mar 2024 17:31:18 +0000 (17:31 +0000)]
lib.c (subst): Refer to the correct variable.

I don't know what happened here: the code came first by some margin.

13 months agolib.c (subst): Fix local macro deletion.
Mark Wooding [Mon, 4 Mar 2024 17:29:35 +0000 (17:29 +0000)]
lib.c (subst): Fix local macro deletion.

13 months agolib.c: Fix random commentary layout blunder.
Mark Wooding [Mon, 4 Mar 2024 17:28:36 +0000 (17:28 +0000)]
lib.c: Fix random commentary layout blunder.

13 months agorunlisp.1.in: Fix a small formatting blunder.
Mark Wooding [Mon, 4 Mar 2024 16:31:02 +0000 (16:31 +0000)]
runlisp.1.in: Fix a small formatting blunder.

13 months agodebian/runlisp.postinst: Create `debconf' configuration with correct name.
Mark Wooding [Mon, 4 Mar 2024 16:16:16 +0000 (16:16 +0000)]
debian/runlisp.postinst: Create `debconf' configuration with correct name.

13 months agodump-runlisp-image.c (notice_filename): Log a message if verbosity permits.
Mark Wooding [Mon, 4 Mar 2024 16:07:45 +0000 (16:07 +0000)]
dump-runlisp-image.c (notice_filename): Log a message if verbosity permits.

13 months agodump-runlisp-image.c (finish_job): Prevent fresh images from junking!
Mark Wooding [Mon, 4 Mar 2024 16:06:22 +0000 (16:06 +0000)]
dump-runlisp-image.c (finish_job): Prevent fresh images from junking!

We'd notice the old images just fine, but the new ones used to get
zapped until you ran a second pass, in which case the symlink was set
correctly.

13 months agodump-runlisp-image.c: Fix random typo in commentary.
Mark Wooding [Mon, 4 Mar 2024 16:05:53 +0000 (16:05 +0000)]
dump-runlisp-image.c: Fix random typo in commentary.

13 months agoHACKING: Delete this obsolete file.
Mark Wooding [Mon, 4 Mar 2024 14:45:54 +0000 (14:45 +0000)]
HACKING: Delete this obsolete file.

It explained how to add new Lisp systems before everything changed
completely.

13 months agodump-ecl: Look up `load-asd' by hand because the load-ECL might not know it.
Mark Wooding [Mon, 4 Mar 2024 14:43:48 +0000 (14:43 +0000)]
dump-ecl: Look up `load-asd' by hand because the load-ECL might not know it.

13 months agodump-ecl: Remove half-finished flailing.
Mark Wooding [Mon, 4 Mar 2024 14:42:22 +0000 (14:42 +0000)]
dump-ecl: Remove half-finished flailing.

13 months agorunlisp-base.conf (inhibit-asdf-upgrade): Fix for old ASDF versions.
Mark Wooding [Mon, 4 Mar 2024 14:39:58 +0000 (14:39 +0000)]
runlisp-base.conf (inhibit-asdf-upgrade): Fix for old ASDF versions.

Before `register-immutable-system' existed, there was still a notion of
`immutable systems', but you had to roll up your sleeves and do the job
by hand.

This is all quite unpleasant.

13 months agorunlisp-base.conf: Muffle warnings from CMU CL.
Mark Wooding [Mon, 4 Mar 2024 01:03:12 +0000 (01:03 +0000)]
runlisp-base.conf: Muffle warnings from CMU CL.

Older versions spew compiler notes about PCL's generated code when
loading ASDF.

13 months agorunlisp-base.conf: Formally allocate `#N=...' ID numbers.
Mark Wooding [Mon, 4 Mar 2024 01:01:13 +0000 (01:01 +0000)]
runlisp-base.conf: Formally allocate `#N=...' ID numbers.

The `@COMMON' definitions get 1000--9999, and users get everything else.

Make a note of this, and renumber all of the code fragments.

13 months agotests.at: Delete spurious blank lines.
Mark Wooding [Sun, 3 Mar 2024 16:50:43 +0000 (16:50 +0000)]
tests.at: Delete spurious blank lines.

13 months agoREADME.org: Give a brief description of the configuration file.
Mark Wooding [Sun, 3 Mar 2024 16:28:12 +0000 (16:28 +0000)]
README.org: Give a brief description of the configuration file.

And an example of configuring `prefer', because that's the obvious
simple thing that someone will want to do.

13 months agoREADME.org: Clarify and fix the discussion of `-p', mentioning `-d'.
Mark Wooding [Sun, 3 Mar 2024 16:27:32 +0000 (16:27 +0000)]
README.org: Clarify and fix the discussion of `-p', mentioning `-d'.

Also give an example of the difference.

13 months agorunlisp.conf.5.in: Some minor typesetting touch-ups.
Mark Wooding [Sun, 3 Mar 2024 16:26:57 +0000 (16:26 +0000)]
runlisp.conf.5.in: Some minor typesetting touch-ups.

13 months agoREADME.org, runlisp.1.in, runlisp.conf.5.in: Fix some simple lies.
Mark Wooding [Sun, 3 Mar 2024 16:25:52 +0000 (16:25 +0000)]
README.org, runlisp.1.in, runlisp.conf.5.in: Fix some simple lies.

13 months agoREADME.org, runlisp.1.in, runlisp.conf.5.in: Fix some obvious garbles.
Mark Wooding [Sun, 3 Mar 2024 16:23:34 +0000 (16:23 +0000)]
README.org, runlisp.1.in, runlisp.conf.5.in: Fix some obvious garbles.

3 years agorunlisp-base.conf, runlisp.conf.5.in: Fix lies about section parentage.
Mark Wooding [Sat, 14 Aug 2021 13:52:30 +0000 (14:52 +0100)]
runlisp-base.conf, runlisp.conf.5.in: Fix lies about section parentage.

No change to the actual behaviour; just making the documentation
describe reality.

3 years agolib.c: Fix some commentary blunders.
Mark Wooding [Fri, 13 Aug 2021 23:13:36 +0000 (00:13 +0100)]
lib.c: Fix some commentary blunders.

Nothing especially noteworthy.

3 years agorunlisp-base.conf: Fix some minor formatting bogons.
Mark Wooding [Fri, 13 Aug 2021 21:34:20 +0000 (22:34 +0100)]
runlisp-base.conf: Fix some minor formatting bogons.

3 years agorunlisp-base.conf: Don't inhibit CMU CL's site-wide initialization file.
Mark Wooding [Fri, 13 Aug 2021 21:29:16 +0000 (22:29 +0100)]
runlisp-base.conf: Don't inhibit CMU CL's site-wide initialization file.

This script contains definitions for search paths used, for example, by
`require'.  Unfortunately, it also defines crufty `demo' and `help'
symbols in the `cl-user' package, so we need to add `clear-cl-user' to
the invocation runes.

3 years agodump-ecl: Defeat ASDF's magic internal knowledge of itself.
Mark Wooding [Thu, 27 May 2021 00:14:17 +0000 (01:14 +0100)]
dump-ecl: Defeat ASDF's magic internal knowledge of itself.

When you load ASDF, it comes with built-in knowledge of itself as a
system, but without details of any source files (or, indeed, any
information about how to do anything with it).  When you try to find the
`asdf' system, it does check the filesystem, but does a quick check of
the reported version number against its current version number and skips
loading the full system definition if it's already up-to-date.

This would all be fine in a resident system, because once the system is
loaded, we don't really care much.  But ECL isn't a resident system: it
compiles to external files, and this poses a problem.  If the initially
loaded ASDF matches the one in the system registry, then we don't have
any source filename details, and `lib-op' does nothing.

Defeat this by locating and loading the system-definition by hand and
stuffing it into ASDF's internal structures before we try to do stuff.

This is, of course, completely terrible.

3 years agolib.c: Fix some minor commentary typos.
Mark Wooding [Wed, 26 May 2021 12:21:55 +0000 (13:21 +0100)]
lib.c: Fix some minor commentary typos.

3 years agodebian/: Add packaging support.
Mark Wooding [Sat, 15 May 2021 13:52:46 +0000 (14:52 +0100)]
debian/: Add packaging support.

This is quite fancy, and arranges to dump images for new Lisp systems as
they get installed.

3 years agorunlisp.c, eval.lisp, etc.: Add new `-p' option to `princ' expressions.
Mark Wooding [Sat, 15 May 2021 13:49:20 +0000 (14:49 +0100)]
runlisp.c, eval.lisp, etc.: Add new `-p' option to `princ' expressions.

Printing results as Lisp quoted strings is really unhelpful for shell
scripts.

3 years agorunlisp.c, etc.: Rename `-p' to `-d'. COMPAT
Mark Wooding [Sat, 15 May 2021 13:45:20 +0000 (14:45 +0100)]
runlisp.c, etc.: Rename `-p' to `-d'.  COMPAT

This is to make way for a new `-p' option which works like `princ'.

3 years agotests.at: Add a test confirming that expressions are printed escapily.
Mark Wooding [Sat, 15 May 2021 13:17:26 +0000 (14:17 +0100)]
tests.at: Add a test confirming that expressions are printed escapily.

3 years agoeval.lisp: Rename `print-form' to make way for other kinds of printing.
Mark Wooding [Sat, 15 May 2021 12:40:58 +0000 (13:40 +0100)]
eval.lisp: Rename `print-form' to make way for other kinds of printing.

Hint, hint.

3 years agorunlisp.c: Undefine local option-parsing macros at the end of the block.
Mark Wooding [Sat, 15 May 2021 12:38:36 +0000 (13:38 +0100)]
runlisp.c: Undefine local option-parsing macros at the end of the block.

3 years agotests.at: Indent argument line correctly.
Mark Wooding [Sat, 15 May 2021 12:15:04 +0000 (13:15 +0100)]
tests.at: Indent argument line correctly.

3 years agorunlisp.1.in: Delete some spurious spaces.
Mark Wooding [Sat, 15 May 2021 12:12:34 +0000 (13:12 +0100)]
runlisp.1.in: Delete some spurious spaces.

3 years ago*.[1-9].in: Introduce `\*(..' as a properly typeset ellipsis.
Mark Wooding [Sat, 15 May 2021 12:11:37 +0000 (13:11 +0100)]
*.[1-9].in: Introduce `\*(..' as a properly typeset ellipsis.

3 years ago*.[1-9].in: Delete apparently pointless definitions of `\*,'.
Mark Wooding [Sat, 15 May 2021 12:09:45 +0000 (13:09 +0100)]
*.[1-9].in: Delete apparently pointless definitions of `\*,'.

I can't see where these are used anywhere.

3 years agoquery-runlisp-config.c: Add `-M' option for machine-readable output.
Mark Wooding [Sat, 15 May 2021 10:27:40 +0000 (11:27 +0100)]
query-runlisp-config.c: Add `-M' option for machine-readable output.

3 years agodoc/Makefile.am, doc/README.pdf: Commit and distribute formatted README.
Mark Wooding [Sat, 15 May 2021 10:24:47 +0000 (11:24 +0100)]
doc/Makefile.am, doc/README.pdf: Commit and distribute formatted README.

This is hard to produce for people who aren't me.

3 years agoREADME.org: Drop formatted output under `doc'.
Mark Wooding [Sat, 15 May 2021 10:23:40 +0000 (11:23 +0100)]
README.org: Drop formatted output under `doc'.

3 years agoREADME.org: Don't set image name explicitly in example config.
Mark Wooding [Sat, 15 May 2021 10:07:48 +0000 (11:07 +0100)]
README.org: Don't set image name explicitly in example config.

Part of the magic is that we get the image name right automatically.

3 years agoREADME.org: Use correct `\nbsp{}' to prevent line breaks at spaces.
Mark Wooding [Sat, 15 May 2021 10:06:15 +0000 (11:06 +0100)]
README.org: Use correct `\nbsp{}' to prevent line breaks at spaces.

Writing the TeX-like `~' just typesets a tilde.

3 years agoREADME.org: Fix some boneheaded typos.
Mark Wooding [Sat, 15 May 2021 10:05:15 +0000 (11:05 +0100)]
README.org: Fix some boneheaded typos.

3 years agodump-runlisp-image.1.in, runlisp.conf.5.in: Document the versioning system.
Mark Wooding [Sat, 15 May 2021 09:58:50 +0000 (10:58 +0100)]
dump-runlisp-image.1.in, runlisp.conf.5.in: Document the versioning system.

3 years agodump-runlisp-image.1.in, runlisp.1.in: Document the `-o' option.
Mark Wooding [Sat, 15 May 2021 09:58:20 +0000 (10:58 +0100)]
dump-runlisp-image.1.in, runlisp.1.in: Document the `-o' option.

Not sure how this got missed.

3 years agodump-runlisp-image.1.in: Sort the option descriptions correctly.
Mark Wooding [Sat, 15 May 2021 09:55:57 +0000 (10:55 +0100)]
dump-runlisp-image.1.in: Sort the option descriptions correctly.

3 years ago*.[1-9].in: Kill spurious extra space after tabulation in synopses.
Mark Wooding [Sat, 15 May 2021 09:49:10 +0000 (10:49 +0100)]
*.[1-9].in: Kill spurious extra space after tabulation in synopses.

`\&' is a no-op, so you get the usual space between lines of text
afterwards, whereas `\c' suppresses the line-end entirely.

3 years ago*.[1-9].in: Fix copied-and-pasted sentence with missing verb.
Mark Wooding [Sat, 15 May 2021 09:48:10 +0000 (10:48 +0100)]
*.[1-9].in: Fix copied-and-pasted sentence with missing verb.

Rather embarrassing.

3 years agorunlisp.conf.5: Fix grammar failure.
Mark Wooding [Sat, 15 May 2021 09:47:36 +0000 (10:47 +0100)]
runlisp.conf.5: Fix grammar failure.

Probably just a typo.

3 years ago*.[1-9].in: Fix typesetting of option `-' characters.
Mark Wooding [Sat, 15 May 2021 00:30:45 +0000 (01:30 +0100)]
*.[1-9].in: Fix typesetting of option `-' characters.

3 years agodump-runlisp-image.c, runlisp-base.conf: Make version string more detailed.
Mark Wooding [Fri, 14 May 2021 20:50:50 +0000 (21:50 +0100)]
dump-runlisp-image.c, runlisp-base.conf: Make version string more detailed.

Rather than just check the `lisp-implementation-version', include the
ASDF version too (which is probably rather important).

3 years agolib.h: Delete spurious space in comment.
Mark Wooding [Fri, 14 May 2021 20:49:42 +0000 (21:49 +0100)]
lib.h: Delete spurious space in comment.

3 years agolib.c (subst): Finish the half-baked comment explaining `delimtab'.
Mark Wooding [Fri, 14 May 2021 20:48:54 +0000 (21:48 +0100)]
lib.c (subst): Finish the half-baked comment explaining `delimtab'.

3 years agolib.c: (set_progname): Set program name even if `argv[0]' has no `/'.
Mark Wooding [Fri, 14 May 2021 20:46:24 +0000 (21:46 +0100)]
lib.c: (set_progname): Set program name even if `argv[0]' has no `/'.

At least it was `???' and not a null pointer, but it's still rather
poor.

3 years agodump-runlisp-image.c: Add more logging about image commit.
Mark Wooding [Fri, 14 May 2021 20:44:53 +0000 (21:44 +0100)]
dump-runlisp-image.c: Add more logging about image commit.

3 years agodump-runlisp-image.c: Don't lie about deletion not actually happening.
Mark Wooding [Fri, 14 May 2021 20:43:40 +0000 (21:43 +0100)]
dump-runlisp-image.c: Don't lie about deletion not actually happening.

3 years agorunlisp-base.conf: Delete spurious `delete-image' setting.
Mark Wooding [Fri, 14 May 2021 20:53:00 +0000 (21:53 +0100)]
runlisp-base.conf: Delete spurious `delete-image' setting.

Probably added the same time as `-d'.

3 years agodump-runlisp-image.c: Delete traces of decoy `-d' (`--cleanup') option.
Mark Wooding [Fri, 14 May 2021 20:41:25 +0000 (21:41 +0100)]
dump-runlisp-image.c: Delete traces of decoy `-d' (`--cleanup') option.

This morphed into the `-R' and `-U' options before ever being
implemented.

3 years agot/package.m4: Delete generated file.
Mark Wooding [Fri, 14 May 2021 18:52:03 +0000 (19:52 +0100)]
t/package.m4: Delete generated file.

3 years agoMakefile.am: Drop `.fasl' files in build directory when making images.
Mark Wooding [Fri, 14 May 2021 18:42:40 +0000 (19:42 +0100)]
Makefile.am: Drop `.fasl' files in build directory when making images.

This also means that we don't pick up cached cruft from the usual ASDF
cache tree.

3 years agoMakefile.am: Distribute the `confsubst' script.
Mark Wooding [Fri, 14 May 2021 18:37:34 +0000 (19:37 +0100)]
Makefile.am: Distribute the `confsubst' script.

Oops.

3 years agoconfigure.ac: Add option to configure the image directory.
Mark Wooding [Fri, 14 May 2021 18:36:52 +0000 (19:36 +0100)]
configure.ac: Add option to configure the image directory.

3 years agotoy-runlisp: Delete old cruft.
Mark Wooding [Fri, 14 May 2021 18:36:04 +0000 (19:36 +0100)]
toy-runlisp: Delete old cruft.

3 years agoMakefile.am: Also distribute the `README' file.
Mark Wooding [Fri, 14 May 2021 18:33:51 +0000 (19:33 +0100)]
Makefile.am: Also distribute the `README' file.

3 years agoMakefile.am (clean): Also delete the versioned dump files.
Mark Wooding [Fri, 14 May 2021 18:33:23 +0000 (19:33 +0100)]
Makefile.am (clean): Also delete the versioned dump files.

3 years agoAdd '.ext/cfd/' from commit 'e370d22add00480a67fd028c0e7d3148737fe484'
Mark Wooding [Sat, 15 May 2021 13:57:00 +0000 (14:57 +0100)]
Add '.ext/cfd/' from commit 'e370d22add00480a67fd028c0e7d3148737fe484'

git-subtree-dir: .ext/cfd
git-subtree-mainline: f50ecbe185f8866970ab62157b2e45bf613907d2
git-subtree-split: e370d22add00480a67fd028c0e7d3148737fe484

3 years agolib.c: Use the size of the element when allocating an array.
Mark Wooding [Thu, 13 May 2021 15:27:12 +0000 (16:27 +0100)]
lib.c: Use the size of the element when allocating an array.

Oops: a pure blunder.  Fortunately, these are actually the same size on
most current platforms, but that's not a good excuse.

Spotted by Coverity.

3 years agolib.c: Don't try pointer arithmetic on void pointers.
Mark Wooding [Thu, 13 May 2021 15:24:32 +0000 (16:24 +0100)]
lib.c: Don't try pointer arithmetic on void pointers.

Here, `av->o' is a count of array slots, not bytes, so this is wrong:
rewrite to use the correct kind of pointer.  Fortunately, nothing
actually uses this machinery.

It's honestly a bit vexing that GCC lets me get away with this.  Spotted
by Coverity.

3 years agotests.at: Use correct `m4_bpatsubst' instead of wrong `m4_bregexp'.
Mark Wooding [Thu, 13 May 2021 14:22:33 +0000 (15:22 +0100)]
tests.at: Use correct `m4_bpatsubst' instead of wrong `m4_bregexp'.

This was preventing tests for non-installed Lisps from being skipped.

3 years agoconfigure.ac: Don't sanity-check `$mdw_ecl_opts' if there's no `ecl' anwyay.
Mark Wooding [Thu, 13 May 2021 13:57:35 +0000 (14:57 +0100)]
configure.ac: Don't sanity-check `$mdw_ecl_opts' if there's no `ecl' anwyay.

In particular, it'll look crazy...

3 years agodump-runlisp-image.c: Initialize the random number generator a bit.
Mark Wooding [Thu, 13 May 2021 13:50:27 +0000 (14:50 +0100)]
dump-runlisp-image.c: Initialize the random number generator a bit.

This is only used to pick names for temporary directories, so it doesn't
matter that it's rather predictable.  Indeed, even using the same
sequence every time wasn't particularly bad, but we can do better, and
so we should.

3 years agolib.c (config_set_var_n): Return a pointer even if we don't change the var.
Mark Wooding [Thu, 13 May 2021 13:48:39 +0000 (14:48 +0100)]
lib.c (config_set_var_n): Return a pointer even if we don't change the var.

Spotted by old GCC; not sure why newer versions are silent here.

3 years agodump-ecl: Insert missing space before line-splicing `\'.
Mark Wooding [Thu, 13 May 2021 13:51:24 +0000 (14:51 +0100)]
dump-ecl: Insert missing space before line-splicing `\'.

3 years agoconfigure.ac: Don't try to dump Lisps which we couldn't find.
Mark Wooding [Thu, 13 May 2021 13:52:00 +0000 (14:52 +0100)]
configure.ac: Don't try to dump Lisps which we couldn't find.

3 years agoMakefile.am: Override `data-dir' in all `dump-runlisp-image' calls.
Mark Wooding [Thu, 13 May 2021 13:54:25 +0000 (14:54 +0100)]
Makefile.am: Override `data-dir' in all `dump-runlisp-image' calls.

... not just for `ecl'.  Nowadays we look for `eval.lisp' under
`${@data-dir}' by default in order to determine the Lisp version string.

3 years agoMakefile.am: Rearrange the `dump-runlisp-image' options.
Mark Wooding [Thu, 13 May 2021 13:53:32 +0000 (14:53 +0100)]
Makefile.am: Rearrange the `dump-runlisp-image' options.

No functional change yet.  This will make adding more big options look
less of a mess.

3 years agoMakefile.am: Delete build rules for nonexistent debris.
Mark Wooding [Thu, 13 May 2021 13:47:37 +0000 (14:47 +0100)]
Makefile.am: Delete build rules for nonexistent debris.

These were added as temporary hacks for trying things out, and should
never have been committed in the first place.

4 years ago@@@ version hash
Mark Wooding [Mon, 14 Sep 2020 00:31:01 +0000 (01:31 +0100)]
@@@ version hash

4 years ago@@@ more wip
Mark Wooding [Sun, 13 Sep 2020 09:36:27 +0000 (10:36 +0100)]
@@@ more wip

4 years ago@@@ more wip
Mark Wooding [Mon, 31 Aug 2020 03:13:52 +0000 (04:13 +0100)]
@@@ more wip

4 years ago@@@ work in progress
Mark Wooding [Wed, 26 Aug 2020 03:08:39 +0000 (04:08 +0100)]
@@@ work in progress

4 years agoNew version.
Mark Wooding [Sat, 15 Aug 2020 23:10:59 +0000 (00:10 +0100)]
New version.

This is a complete rewrite, and rather more competently done.

4 years agobuild/autotest.am: Fix formatting of list initialization assignments.
Mark Wooding [Sun, 9 Aug 2020 13:00:59 +0000 (14:00 +0100)]
build/autotest.am: Fix formatting of list initialization assignments.

4 years agom4/: Reformat to match current m4/shell style.
Mark Wooding [Sun, 9 Aug 2020 11:54:10 +0000 (12:54 +0100)]
m4/: Reformat to match current m4/shell style.

4 years agom4/mdw-dir-texmf.m4: Nest and indent `mdw_DEFINE_PATHS' properly.
Mark Wooding [Sun, 9 Aug 2020 12:16:53 +0000 (13:16 +0100)]
m4/mdw-dir-texmf.m4: Nest and indent `mdw_DEFINE_PATHS' properly.

Not sure why this enclosed the `AC_MSG_RESULT' before.  Oh, well.

4 years agom4/mdw-dir-texmf.m4: Pull `texmf' path guesswork out of `AC_ARG_WITH'.
Mark Wooding [Sun, 9 Aug 2020 12:14:17 +0000 (13:14 +0100)]
m4/mdw-dir-texmf.m4: Pull `texmf' path guesswork out of `AC_ARG_WITH'.

Unfortunate tangling of responsibilities.  Instead, leave a flag so that
top-level code can decide to do the guesswork.

4 years agom4/mdw-manext.m4: Don't hardcode the manpage extension to `mLib'.
Mark Wooding [Sun, 9 Aug 2020 12:04:36 +0000 (13:04 +0100)]
m4/mdw-manext.m4: Don't hardcode the manpage extension to `mLib'.

Obviously this isn't used as widely as it ought to be!

4 years agom4/mdw-dir-texmf.m4, m4/mdw-manext.m4: Use `AS_HELP_STRING'.
Mark Wooding [Sun, 9 Aug 2020 12:02:32 +0000 (13:02 +0100)]
m4/mdw-dir-texmf.m4, m4/mdw-manext.m4: Use `AS_HELP_STRING'.

I think this didn't exist when I wrote these macros.