configure: improve static zlib package warning
[fio.git] / configure
index 2b99ce9f6277521e7aa2d7e647af63e8859733bd..b6a9fb7e033bcd369313a1b37e531bce18b7ace4 100755 (executable)
--- a/configure
+++ b/configure
@@ -2376,7 +2376,10 @@ if test "$disable_opt" = "yes" ; then
   output_sym "CONFIG_DISABLE_OPTIMIZATIONS"
 fi
 if test "$zlib" = "no" ; then
-  echo "Consider installing zlib-dev (zlib-devel or zlib-static), some fio features depend on it."
+  echo "Consider installing zlib-dev (zlib-devel, some fio features depend on it."
+  if test "$build_static" = "yes"; then
+    echo "Note that some distros have separate packages for static libraries."
+  fi
 fi
 if test "$cuda" = "yes" ; then
   output_sym "CONFIG_CUDA"