Merge pull request #2256 from kleisauke/libjxl-module-fix

Only build libjxl as a loadable module when it can be found
This commit is contained in:
John Cupitt 2021-05-17 10:58:33 +01:00 committed by GitHub
commit 257e01ecef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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