src/optparse.lisp: Rearrange system-specific stuff.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 25 May 2016 15:30:16 +0000 (16:30 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 25 May 2016 16:20:54 +0000 (17:20 +0100)
commit6e21a5d25bca57a78f052d6a24b97b88e83cc6fb
tree9aabb0caec4657e9b2cd920ba55951f15b89bfcc
parentcc501d138bd8af2df02c4cdfeb724224599a476d
src/optparse.lisp: Rearrange system-specific stuff.

  * Remove `cl-launch' from the explicit `:use' list.

  * Prefer using `uiop' to collect arguments if it's present, because it
    does everything properly.

  * Fall back to `cl-launch' driven by steam if it's available.

  * Otherwise use a hacky list of system-specific runes copied from my
    other Lisp library.

  * Reformat the `exit' function so it's easier to slot new
    implementations in, similar to the new `set-command-line-arguments'.

  * Load `sod-frontend' and use `optparse:exit' rather than
    `cl-launch:quit', because the latter has disappeared in later
    versions.
src/Makefile.am
src/optparse.lisp