Only build libjxl as a loadable module when it can be found

This commit is contained in:
Kleis Auke Wolthuizen 2021-05-17 11:34:44 +02:00
parent def025da3e
commit 169c5e07eb

View File

@ -830,6 +830,7 @@ if test x"$with_libjxl" != x"no"; then
],
[AC_MSG_WARN([libjxl not found; disabling libjxl support])
with_libjxl=no
with_libjxl_module=no
]
)
fi