From ebc9dea4cc4c68ee837a44a6f33fc95f1cf84f7f Mon Sep 17 00:00:00 2001 From: cage Date: Sun, 22 Aug 2021 11:37:34 +0200 Subject: [PATCH] - removed exiting from configure if unzip is not found. - fixed test to add gempub-support in features. --- configure | 3 +-- configure.ac | 3 +-- src/config.lisp.in.in | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/configure b/configure index 0546926..e0b1ece 100755 --- a/configure +++ b/configure @@ -6357,10 +6357,9 @@ fi -if test "$GPG" = "no" ; then +if test "$UNZIP" = "no" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can not find unzip, genpub support will be disabled." >&5 $as_echo "$as_me: WARNING: Can not find unzip, genpub support will be disabled." >&2;} - exit 1; fi # Extract the first word of "bash", so it can be a program name with args. diff --git a/configure.ac b/configure.ac index 993e2f1..fa2a53a 100644 --- a/configure.ac +++ b/configure.ac @@ -45,9 +45,8 @@ fi AC_PATH_PROG([UNZIP],[unzip],[no]) -if test "$GPG" = "no" ; then +if test "$UNZIP" = "no" ; then AC_MSG_WARN([Can not find unzip, genpub support will be disabled.]) - exit 1; fi AC_PATH_PROG([BASH],[bash],[no]) diff --git a/src/config.lisp.in.in b/src/config.lisp.in.in index fc2236d..4356376 100644 --- a/src/config.lisp.in.in +++ b/src/config.lisp.in.in @@ -21,7 +21,7 @@ (eval-when (:compile-toplevel :load-toplevel :execute) (when (and (not (member :gempub-support *features*)) - (string/= +unzip-bin+ "")) + (string/= +unzip-bin+ "no")) (push :gempub-support *features*))) (defmacro with-return-untranslated ((untranslated) &body body)