mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-13 14:34:33 +02:00
Provide an option to build decoder library.
When the config option '--enable-libwebpdecoder' is specified, the lean decoder library 'libwebpdecoder' will be created in addition to libwebp. Also dwebp binary will be linked to libwebpdecoder, if this config option is specified. Change-Id: I9de3e149b59c9a8390fae2ba660941749640e54a
This commit is contained in:
@ -268,6 +268,14 @@ AC_ARG_ENABLE([experimental-libwebpdemux],
|
||||
AC_MSG_RESULT(${enable_experimental_libwebpdemux-no})
|
||||
AM_CONDITIONAL([WANT_DEMUX], [test "$enable_experimental_libwebpdemux" = "yes"])
|
||||
|
||||
dnl === Check whether decoder library should be built.
|
||||
AC_MSG_CHECKING(whether decoder library is to be built)
|
||||
AC_ARG_ENABLE([libwebpdecoder],
|
||||
AS_HELP_STRING([--enable-libwebpdecoder],
|
||||
[Building libwebpdecoder @<:@default=no@:>@]))
|
||||
AC_MSG_RESULT(${enable_libwebpdecoder-no})
|
||||
AM_CONDITIONAL([BUILD_LIBWEBPDECODER], [test "$enable_libwebpdecoder" = "yes"])
|
||||
|
||||
dnl =========================
|
||||
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
@ -290,6 +298,7 @@ Shared libraries: ${enable_shared}
|
||||
Static libraries: ${enable_static}
|
||||
Threaded decode: ${enable_threading-no}
|
||||
libwebp: yes
|
||||
libwebpdecoder: ${enable_libwebpdecoder-no}
|
||||
libwebpdemux: ${enable_experimental_libwebpdemux-no}
|
||||
libwebpmux: ${enable_experimental_libwebpmux-no}
|
||||
|
||||
|
Reference in New Issue
Block a user