X-Git-Url: https://git.distorted.org.uk/~mdw/runlisp/blobdiff_plain/8996f767e047eefa8af4d01b1434b54f4c169b79..2fb0f2a61ed61747f7b8c206849dadc41079e850:/configure.ac diff --git a/configure.ac b/configure.ac index ac42a38..983aa80 100644 --- a/configure.ac +++ b/configure.ac @@ -61,8 +61,9 @@ AC_ARG_ENABLE([imagedump], AC_DEFUN([mdw_CHECK_LISP], [AC_CHECK_PROGS([$1], [$2]) AC_ARG_VAR([$1], [Path to the $1 Lisp system.]) -case ,$enable_imagedump, in - ,yes, | *,$2,*) dump=t ;; +case $[]$1:,$enable_imagedump, in + :*) dump=nil ;; + *:,yes, | *:*,$2,*) dump=t ;; *) dump=nil ;; esac AM_CONDITIONAL([DUMP_$1], [test $dump = t])]) @@ -91,12 +92,12 @@ if test "x$ECL" != x; then gnu) AC_DEFINE([ECL_OPTIONS_GNU], [1], [Define 1 if ECL uses GNU-style `--FOO' options]) ;; esac + case $mdw_ecl_opts in + gnu) ECLOPT=-- ;; + trad) ECLOPT=- ;; + *) AC_MSG_ERROR([internal error: unexpected value for `$mdw_ecl_opts']) ;; + esac fi -case $mdw_ecl_opts in - gnu) ECLOPT=-- ;; - trad) ECLOPT=- ;; - *) AC_MSG_ERROR([internal error: unexpected value for `$mdw_ecl_opts']) ;; -esac AC_SUBST([ECLOPT]) dnl--------------------------------------------------------------------------