From: Mark Wooding Date: Thu, 13 May 2021 13:52:00 +0000 (+0100) Subject: configure.ac: Don't try to dump Lisps which we couldn't find. X-Git-Url: https://git.distorted.org.uk/~mdw/runlisp/commitdiff_plain/e41cbc79e39d62f0343a48efc4d832ed99c83aaf configure.ac: Don't try to dump Lisps which we couldn't find. --- diff --git a/configure.ac b/configure.ac index ac42a38..19f91ae 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])])