mirror of
https://github.com/gryf/wmaker.git
synced 2026-03-21 10:53:31 +01:00
WRaster: Add optional support to JPEG XL
Detect if libjxl is intalled, and build-in support in raster lib. Feature can be disabled/enabled at configure time.
This commit is contained in:
committed by
Carlos R. Mafra
parent
67e2f5e1ca
commit
4392fdc291
13
configure.ac
13
configure.ac
@@ -766,6 +766,19 @@ m4_divert_pop([INIT_PREPARE])dnl
|
||||
WM_IMGFMT_CHECK_JPEG
|
||||
|
||||
|
||||
dnl JXL Support
|
||||
dnl ============
|
||||
m4_divert_push([INIT_PREPARE])dnl
|
||||
AC_ARG_ENABLE([jxl],
|
||||
[AS_HELP_STRING([--disable-jxl], [disable JXL support through libjxl])],
|
||||
[AS_CASE(["$enableval"],
|
||||
[yes|no], [],
|
||||
[AC_MSG_ERROR([bad value $enableval for --enable-jxl])] )],
|
||||
[enable_jxl=auto])
|
||||
m4_divert_pop([INIT_PREPARE])dnl
|
||||
WM_IMGFMT_CHECK_JXL
|
||||
|
||||
|
||||
dnl GIF Support
|
||||
dnl ============
|
||||
m4_divert_push([INIT_PREPARE])dnl
|
||||
|
||||
Reference in New Issue
Block a user