From c5965f897a917242dc66ca8f5a909c728d04c241 Mon Sep 17 00:00:00 2001 From: Brandon Wright Date: Mon, 28 Nov 2016 14:01:18 -0600 Subject: [PATCH] Fix wording when minizip library isn't found. --- gtk/configure.ac | 4 ++-- unix/configure | 12 ++++++------ unix/configure.ac | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/gtk/configure.ac b/gtk/configure.ac index e3bab4eb..50f204f3 100644 --- a/gtk/configure.ac +++ b/gtk/configure.ac @@ -331,9 +331,9 @@ if test no != "$with_system_zip" && test yes = "$with_zlib" ; then LIBS="$LIBS $SYSTEM_ZIP_LIBS" ],[ if test check = "$with_system_zip"; then - AC_MSG_WARN(Cannot find SYSTEM_ZIP) + AC_MSG_WARN(Cannot find system minizip library) else - AC_MSG_ERROR(--with-system-zip given but cannot find proper zlib) + AC_MSG_ERROR(--with-system-zip given but cannot find system minizip library) fi ]) fi diff --git a/unix/configure b/unix/configure index 699f40e6..14be08d5 100755 --- a/unix/configure +++ b/unix/configure @@ -5046,20 +5046,20 @@ fi echo "$SYSTEM_ZIP_PKG_ERRORS" >&5 if test "x${with_system_zip}" != "xcheck"; then - as_fn_error $? "--with-system-zip requested but no proper zlib found." "$LINENO" 5 + as_fn_error $? "--with-system-zip requested but no proper minizip lib found." "$LINENO" 5 else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib not found. Build without SYSTEM_ZIP support." >&5 -$as_echo "$as_me: WARNING: zlib not found. Build without SYSTEM_ZIP support." >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: minizip not found. Build without SYSTEM_ZIP support." >&5 +$as_echo "$as_me: WARNING: minizip not found. Build without SYSTEM_ZIP support." >&2;} fi elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if test "x${with_system_zip}" != "xcheck"; then - as_fn_error $? "--with-system-zip requested but no proper zlib found." "$LINENO" 5 + as_fn_error $? "--with-system-zip requested but no proper minizip lib found." "$LINENO" 5 else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib not found. Build without SYSTEM_ZIP support." >&5 -$as_echo "$as_me: WARNING: zlib not found. Build without SYSTEM_ZIP support." >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: minizip not found. Build without SYSTEM_ZIP support." >&5 +$as_echo "$as_me: WARNING: minizip not found. Build without SYSTEM_ZIP support." >&2;} fi else diff --git a/unix/configure.ac b/unix/configure.ac index 47f37808..28186c67 100644 --- a/unix/configure.ac +++ b/unix/configure.ac @@ -222,9 +222,9 @@ if test "x$enable_zip" = "xyes"; then fi S9XDEFS="$S9XDEFS -DSYSTEM_ZIP", if test "x${with_system_zip}" != "xcheck"; then - AC_MSG_ERROR([--with-system-zip requested but no proper zlib found.]) + AC_MSG_ERROR([--with-system-zip requested but no proper minizip lib found.]) else - AC_MSG_WARN([zlib not found. Build without SYSTEM_ZIP support.]) + AC_MSG_WARN([minizip not found. Build without SYSTEM_ZIP support.]) fi ) else