1
0
Fork 0

- removed exiting from configure if unzip is not found.

- fixed test to add gempub-support in features.
This commit is contained in:
cage 2021-08-22 11:37:34 +02:00
parent 39d12cbb96
commit ebc9dea4cc
3 changed files with 3 additions and 5 deletions

3
configure vendored
View File

@ -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:${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;} $as_echo "$as_me: WARNING: Can not find unzip, genpub support will be disabled." >&2;}
exit 1;
fi fi
# Extract the first word of "bash", so it can be a program name with args. # Extract the first word of "bash", so it can be a program name with args.

View File

@ -45,9 +45,8 @@ fi
AC_PATH_PROG([UNZIP],[unzip],[no]) 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.]) AC_MSG_WARN([Can not find unzip, genpub support will be disabled.])
exit 1;
fi fi
AC_PATH_PROG([BASH],[bash],[no]) AC_PATH_PROG([BASH],[bash],[no])

View File

@ -21,7 +21,7 @@
(eval-when (:compile-toplevel :load-toplevel :execute) (eval-when (:compile-toplevel :load-toplevel :execute)
(when (and (not (member :gempub-support *features*)) (when (and (not (member :gempub-support *features*))
(string/= +unzip-bin+ "")) (string/= +unzip-bin+ "no"))
(push :gempub-support *features*))) (push :gempub-support *features*)))
(defmacro with-return-untranslated ((untranslated) &body body) (defmacro with-return-untranslated ((untranslated) &body body)