From 0ab6dc90c0beef93ca40dbb87c29a83f8f5b1ab2 Mon Sep 17 00:00:00 2001 From: jjgarcia Date: Mon, 24 Oct 2005 08:28:58 +0000 Subject: [PATCH] Added RT module. --- src/compile.lsp.in | 9 +++++++++ src/configure | 18 ++++++++++++++++++ src/configure.in | 10 ++++++++++ 3 files changed, 37 insertions(+) diff --git a/src/compile.lsp.in b/src/compile.lsp.in index 95cb05184..44b3fa1d2 100644 --- a/src/compile.lsp.in +++ b/src/compile.lsp.in @@ -144,6 +144,15 @@ ar -r ../@LIBPREFIX@ecl.@LIBEXT@ *.@OBJEXT@ ../c/all_symbols2.@OBJEXT@; rm *.@OB :dir "build:ext;" :prefix "EXT") +;;; +;;; * Test suite +;;; +#+WANTS-RT +(build-module "rt" + '("ext:rt;rt.lisp") + :dir "build:ext;" + :prefix "EXT") + ;;; ;;; * Compile the portable CLX library. ;;; diff --git a/src/configure b/src/configure index 96f4e0b10..9647092a8 100755 --- a/src/configure +++ b/src/configure @@ -889,6 +889,7 @@ Optional Packages: --with-asdf include ASDF 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 Some influential environment variables: @@ -1546,6 +1547,15 @@ else with_cmp=yes fi; + +# Check whether --with-rt or --without-rt was given. +if test "${with_rt+set}" = set; then + withval="$with_rt" + +else + with_rt= +fi; + libdir="${libdir}/ecl" includedir="${libdir}/ecl/h" test -z "${docdir}" && docdir="${datadir}/doc/ecl" @@ -9691,6 +9701,14 @@ if test "${with_asdf}" = "yes"; then LSP_FEATURES="(cons :wants-asdf ${LSP_FEATURES})" +fi + +if test "" = "yes"; then + + +LSP_FEATURES="(cons :wants-rt ${LSP_FEATURES})" + + fi if test ${enable_boehm} = "included"; then diff --git a/src/configure.in b/src/configure.in index bae55ea03..e9d45d368 100644 --- a/src/configure.in +++ b/src/configure.in @@ -127,6 +127,12 @@ AC_ARG_WITH(cmp, [build in the compiler (default=YES)] ), [], [with_cmp=yes]) +AC_ARG_WITH(rt, + AS_HELP_STRING( [--with-rt], + [include MIT-RT testing environment] + [(default=YES)]), + [], [with_rt=]) + dnl ----------------------------------------------------------------------- dnl Installation directories libdir="${libdir}/ecl" @@ -434,6 +440,10 @@ if test "${with_asdf}" = "yes"; then ECL_ADD_LISP_MODULE([asdf]) fi +if test "" = "yes"; then + ECL_ADD_LISP_MODULE([rt]) +fi + dnl ---------------------------------------------------------------------- dnl Configure included Boehm GC if needed if test ${enable_boehm} = "included"; then