configure,*am,cosmetics: s/WANT_/BUILD_/

'BUILD_' is more common across the build files

Change-Id: Id302dba2e9e567c186a9da1da0fba44517e85d07
This commit is contained in:
James Zern 2018-06-02 10:41:49 -07:00
parent 895fd28f9b
commit 5d8985de47
7 changed files with 11 additions and 11 deletions

View File

@ -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

View File

@ -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 =========================

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -1,5 +1,5 @@
man_MANS = cwebp.1 dwebp.1
if WANT_MUX
if BUILD_MUX
man_MANS += webpmux.1
endif
if BUILD_GIF2WEBP

View File

@ -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