diff --git a/Makefile.am b/Makefile.am index 3f73b134..e415f6f1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,7 +2,7 @@ ACLOCAL_AMFLAGS = -I m4 SUBDIRS = src imageio man EXTRA_DIST = COPYING autogen.sh -if WANT_EXTRAS +if BUILD_EXTRAS SUBDIRS += extras endif diff --git a/configure.ac b/configure.ac index 896e5ff7..ba116d67 100644 --- a/configure.ac +++ b/configure.ac @@ -722,7 +722,7 @@ AC_ARG_ENABLE([libwebpmux], AS_HELP_STRING([--enable-libwebpmux], [Build libwebpmux @<:@default=no@:>@])) AC_MSG_RESULT(${enable_libwebpmux-no}) -AM_CONDITIONAL([WANT_MUX], [test "$enable_libwebpmux" = "yes"]) +AM_CONDITIONAL([BUILD_MUX], [test "$enable_libwebpmux" = "yes"]) dnl === Check whether libwebpdemux should be built AC_MSG_CHECKING(whether libwebpdemux is to be built) @@ -731,7 +731,7 @@ AC_ARG_ENABLE([libwebpdemux], [Disable libwebpdemux @<:@default=no@:>@]), [], [enable_libwebpdemux=yes]) AC_MSG_RESULT(${enable_libwebpdemux-no}) -AM_CONDITIONAL([WANT_DEMUX], [test "$enable_libwebpdemux" = "yes"]) +AM_CONDITIONAL([BUILD_DEMUX], [test "$enable_libwebpdemux" = "yes"]) dnl === Check whether decoder library should be built. AC_MSG_CHECKING(whether decoder library is to be built) @@ -747,7 +747,7 @@ AC_ARG_ENABLE([libwebpextras], AS_HELP_STRING([--enable-libwebpextras], [Build libwebpextras @<:@default=no@:>@])) AC_MSG_RESULT(${enable_libwebpextras-no}) -AM_CONDITIONAL([WANT_EXTRAS], [test "$enable_libwebpextras" = "yes"]) +AM_CONDITIONAL([BUILD_EXTRAS], [test "$enable_libwebpextras" = "yes"]) dnl ========================= diff --git a/examples/Makefile.am b/examples/Makefile.am index e10872fd..512d37e5 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -1,7 +1,7 @@ AM_CPPFLAGS += -I$(top_builddir)/src -I$(top_srcdir)/src bin_PROGRAMS = -if WANT_DEMUX +if BUILD_DEMUX bin_PROGRAMS += dwebp cwebp endif if BUILD_ANIMDIFF @@ -13,7 +13,7 @@ endif if BUILD_IMG2WEBP bin_PROGRAMS += img2webp endif -if WANT_MUX +if BUILD_MUX bin_PROGRAMS += webpmux endif if BUILD_VWEBP diff --git a/extras/Makefile.am b/extras/Makefile.am index 14d567a3..7e29888b 100644 --- a/extras/Makefile.am +++ b/extras/Makefile.am @@ -14,7 +14,7 @@ libwebpextras_la_LIBADD = ../src/libwebp.la noinst_PROGRAMS = noinst_PROGRAMS += webp_quality -if WANT_DEMUX +if BUILD_DEMUX noinst_PROGRAMS += get_disto endif if BUILD_VWEBP_SDL diff --git a/imageio/Makefile.am b/imageio/Makefile.am index b0e6d8e8..500ec7e3 100644 --- a/imageio/Makefile.am +++ b/imageio/Makefile.am @@ -1,7 +1,7 @@ AM_CPPFLAGS += -I$(top_builddir)/src -I$(top_srcdir)/src noinst_LTLIBRARIES = noinst_LTLIBRARIES += libimageio_util.la -if WANT_DEMUX +if BUILD_DEMUX noinst_LTLIBRARIES += libimagedec.la endif noinst_LTLIBRARIES += libimageenc.la diff --git a/man/Makefile.am b/man/Makefile.am index fc91329f..57e2483f 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -1,5 +1,5 @@ man_MANS = cwebp.1 dwebp.1 -if WANT_MUX +if BUILD_MUX man_MANS += webpmux.1 endif if BUILD_GIF2WEBP diff --git a/src/Makefile.am b/src/Makefile.am index 32cfa38e..dfa74d35 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,10 +1,10 @@ # The mux and demux libraries depend on libwebp, thus the '.' to force # the build order so it's available to them. SUBDIRS = dec enc dsp utils . -if WANT_MUX +if BUILD_MUX SUBDIRS += mux endif -if WANT_DEMUX +if BUILD_DEMUX SUBDIRS += demux endif