Incorporate DEFSYSTEM to the distribution

This commit is contained in:
jjgarcia 2005-11-10 17:30:56 +00:00
parent 644859e164
commit 49c217e85d
6 changed files with 5558 additions and 0 deletions

39
contrib/defsystem/README Normal file
View file

@ -0,0 +1,39 @@
This is MK:DEFSYSTEM 3.6i, a 'make' utility for Common Lisp.
The current distribution contains a file `defsystem.lisp', a `docs'
directory, a `debian' directory, and this README file.
MK:DEFSYSTEM 3.6i works on most Common Lisp implementations and it is
used by a wide variety of projects.
INSTALLATION
To install MK:DEFSYSTEM 3.x, you should just make sure to LOAD the
file `defystem.lisp' in you CL environment. You can do that by
putting the appropriate LOAD statement in you CL initialization file
(which most implementations have).
DOCUMENTATION
The documentation for MK:DEFSYSTEM 3.6i is part of a the following CMU TR
Mark Kantrowitz, "Portable Utilities for Common Lisp, User Guide
and Implementation Notes", Tech Report CMU-CS-91-143, School of
Computer Science, Carnegie Mellon University, May 1991.
The `docs' directory contains a quick introduction to MK:DEFSYSTEM.
HELP and BUG REPORTS
For help and bug reports, the `clocc-list@sourceforge.net' mailing
list is usually the right place where to send requests and other
correspondence.
=======
Enjoy.
Marco Antoniotti, 2005-09-04

File diff suppressed because it is too large Load diff

View file

@ -112,6 +112,9 @@ ECL 0.9h
- Creating arrays with element type NIL now raises an error.
- The DEFSYSTEM system definition facility v 3.4 is now distributed with ECL
in the directory of external packages (contrib/defsystem).
* Foreign function interface (FFI):
- Foreign function return type is now correctly handled, when it is specified

View file

@ -124,6 +124,15 @@ ar -r ../@LIBPREFIX@ecl.@LIBEXT@ *.@OBJEXT@ ../c/all_symbols2.@OBJEXT@; rm *.@OB
;;; EXTENSIONS
;;;
;;;
;;; * DEFSYSTEM
;;;
#+WANTS-DEFSYSTEM
(build-module "defsystem"
'("ext:defsystem;defsystem.lisp")
:dir "build:ext;"
:prefix "EXT")
;;;
;;; * ASDF
;;;

19
src/configure vendored
View file

@ -888,6 +888,8 @@ Optional Packages:
--with-cmuformat use CMUCL's FORMAT routine (default=YES)
--with-asdf include ASDF building facility (default=YES if
shared library support is on)
--with-defsystem include DEFSYSTEM building facility (default=YES if
shared library support is on)
--with-cmp build in the compiler (default=YES)
--with-rt include MIT-RT testing environment (default=YES)
--with-x use the X Window System
@ -1539,6 +1541,15 @@ else
fi;
# Check whether --with-defsystem or --without-defsystem was given.
if test "${with_defsystem+set}" = set; then
withval="$with_defsystem"
else
with_defsystem=${enable_shared}
fi;
# Check whether --with-cmp or --without-cmp was given.
if test "${with_cmp+set}" = set; then
withval="$with_cmp"
@ -9776,6 +9787,14 @@ if test "${with_asdf}" = "yes"; then
LSP_FEATURES="(cons :wants-asdf ${LSP_FEATURES})"
fi
if test "${with_defsystem}" = "yes"; then
LSP_FEATURES="(cons :wants-defsystem ${LSP_FEATURES})"
fi
if test "${with_rt}" = "yes"; then

View file

@ -122,6 +122,12 @@ AC_ARG_WITH(asdf,
[(default=YES if shared library support is on)]),
[], [with_asdf=${enable_shared}])
AC_ARG_WITH(defsystem,
AS_HELP_STRING( [--with-defsystem],
[include DEFSYSTEM building facility]
[(default=YES if shared library support is on)]),
[], [with_defsystem=${enable_shared}])
AC_ARG_WITH(cmp,
AS_HELP_STRING( [--with-cmp],
[build in the compiler (default=YES)] ),
@ -442,6 +448,10 @@ if test "${with_asdf}" = "yes"; then
ECL_ADD_LISP_MODULE([asdf])
fi
if test "${with_defsystem}" = "yes"; then
ECL_ADD_LISP_MODULE([defsystem])
fi
if test "${with_rt}" = "yes"; then
ECL_ADD_LISP_MODULE([rt])
fi