diff --git a/configure b/configure index 4575fcf35..f3aff2af1 100755 --- a/configure +++ b/configure @@ -6574,11 +6574,6 @@ fi have_libz="no" requested_included_libz="no" test "${with_libz+set}" != "set" && with_libz="yes" -# For now, libz is a libssh2 dependency. -# If we end up using it for something else, we'll have to change this line. -if test "x${with_libssh2}" = "xno"; then - with_libz=no -fi # Check whether --with-libz was given. diff --git a/configure.ac b/configure.ac index be96ccd9c..9d2fff861 100644 --- a/configure.ac +++ b/configure.ac @@ -564,11 +564,6 @@ AC_SUBST(PCRE_DIST_CLEAN) have_libz="no" requested_included_libz="no" test "${with_libz+set}" != "set" && with_libz="yes" -# For now, libz is a libssh2 dependency. -# If we end up using it for something else, we'll have to change this line. -if test "x${with_libssh2}" = "xno"; then - with_libz=no -fi AC_ARG_WITH(libz, AC_HELP_STRING([--with-libz=DIR], [Use specific copy of libz])