ruven / iipsrv

iipsrv is an advanced high-performance feature-rich image server for web-based streamed viewing and zooming of ultra high-resolution images.
https://iipimage.sourceforge.io
GNU General Public License v3.0
288 stars 114 forks source link

Can't disable webp support #249

Closed irv closed 1 year ago

irv commented 1 year ago

Hi @ruven

There's a typo in configure.ac that means it's not possible to disable webp support:


diff --git a/configure.ac b/configure.ac
index 0c0072b..2116972 100644
--- a/configure.ac
+++ b/configure.ac
@@ -196,7 +196,7 @@ AC_ARG_ENABLE( webp,
     [  --disable-webp           disable WebP])

-if test "x$enable_png" == "xno"; then
+if test "x$enable_webp" == "xno"; then
    AC_MSG_RESULT([disabling WebP support])
    AM_CONDITIONAL([ENABLE_WEBP], [false])
 else
ruven commented 1 year ago

Well spotted, thanks! Now fixed here: https://github.com/ruven/iipsrv/commit/2d3b5b262bbbc0fb2d1419138d9e27d7e22208c3