From: Mark Wooding Date: Thu, 13 May 2021 13:57:35 +0000 (+0100) Subject: configure.ac: Don't sanity-check `$mdw_ecl_opts' if there's no `ecl' anwyay. X-Git-Url: https://git.distorted.org.uk/~mdw/runlisp/commitdiff_plain/2fb0f2a61ed61747f7b8c206849dadc41079e850 configure.ac: Don't sanity-check `$mdw_ecl_opts' if there's no `ecl' anwyay. In particular, it'll look crazy... --- diff --git a/configure.ac b/configure.ac index 19f91ae..983aa80 100644 --- a/configure.ac +++ b/configure.ac @@ -92,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--------------------------------------------------------------------------