diff --git a/src/configure b/src/configure index 582268566..5d3b7a2a6 100755 --- a/src/configure +++ b/src/configure @@ -1553,7 +1553,7 @@ if test "${with_rt+set}" = set; then withval="$with_rt" else - with_rt= + with_rt=${enable_shared} fi; libdir="${libdir}/ecl" @@ -9759,7 +9759,7 @@ LSP_FEATURES="(cons :wants-asdf ${LSP_FEATURES})" fi -if test "" = "yes"; then +if test "${with_rt}" = "yes"; then LSP_FEATURES="(cons :wants-rt ${LSP_FEATURES})" diff --git a/src/configure.in b/src/configure.in index d2820ba5c..0a7ba3955 100644 --- a/src/configure.in +++ b/src/configure.in @@ -131,7 +131,7 @@ AC_ARG_WITH(rt, AS_HELP_STRING( [--with-rt], [include MIT-RT testing environment] [(default=YES)]), - [], [with_rt=]) + [], [with_rt=${enable_shared}]) dnl ----------------------------------------------------------------------- dnl Installation directories @@ -441,7 +441,7 @@ if test "${with_asdf}" = "yes"; then ECL_ADD_LISP_MODULE([asdf]) fi -if test "" = "yes"; then +if test "${with_rt}" = "yes"; then ECL_ADD_LISP_MODULE([rt]) fi