SERVE-EVENT contributed by Steve Smith

This commit is contained in:
jgarcia 2007-10-07 10:17:02 +00:00
parent e1a7de44ab
commit 7cb16b4db2
6 changed files with 247 additions and 1 deletions

View file

@ -10,6 +10,8 @@ ECL 1.0:
* New features:
- SBCL's SERVE-EVENT package has been ported to ECL by Steve Smith.
- New commands, :RESTART, :R1, :R2, etc, allow invoking restarts (contributed
by Chui Tey).

View file

@ -159,6 +159,12 @@
:dir "build:ext;"
:prefix "EXT")
#+WANTS-SERVE-EVENT
(build-module "serve-event"
'("ext:serve-event;serve-event.lisp")
:dir "build:ext;"
:prefix "EXT")
;;;
;;; * Test suite
;;;

20
src/configure vendored
View file

@ -1,5 +1,5 @@
#! /bin/sh
# From configure.in Revision: 1.144 .
# From configure.in Revision.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.60 for ecl 0.9i.
#
@ -1341,6 +1341,7 @@ Optional Packages:
NPTL-aware glibc and maybe Windows)
--with-cxx build ECL using C++ compiler (default=NO)
--with-tcp include socket interface (default=YES)
--with-serve-event include serve-event module (default=YES)
--with-clx include CLX library (default=NO)
--with-clos-streams user defined stream objects (default=YES)
--with-cmuformat use CMUCL's FORMAT routine (default=YES)
@ -1979,6 +1980,15 @@ fi
# Check whether --with-serve_event was given.
if test "${with_serve_event+set}" = set; then
withval=$with_serve_event;
else
with_serve_event=yes
fi
# Check whether --with-clx was given.
if test "${with_clx+set}" = set; then
withval=$with_clx;
@ -11851,6 +11861,14 @@ LSP_FEATURES="(cons :wants-sockets ${LSP_FEATURES})"
LIBS="${LIBS} ${TCPLIBS}"
fi
if test "${with_serve_event}" = "yes"; then
LSP_FEATURES="(cons :wants-serve-event ${LSP_FEATURES})"
fi
if test "${with_asdf}" = "yes"; then

View file

@ -122,6 +122,11 @@ AC_ARG_WITH(tcp,
[include socket interface (default=YES)]),
[], [with_tcp=yes])
AC_ARG_WITH(serve_event,
AS_HELP_STRING( [--with-serve-event],
[include serve-event module (default=YES)]),
[], [with_serve_event=yes])
AC_ARG_WITH(clx,
AS_HELP_STRING( [--with-clx],
[include CLX library (default=NO)]),
@ -508,6 +513,10 @@ if test "${with_tcp}" = "yes"; then
LIBS="${LIBS} ${TCPLIBS}"
fi
if test "${with_serve_event}" = "yes"; then
ECL_ADD_LISP_MODULE([serve-event])
fi
if test "${with_asdf}" = "yes"; then
ECL_ADD_LISP_MODULE([asdf])
fi