Makefile.am: disable test/run_encoder without plugins
If the encoder plugin API is disabled at compile time, don't compile test/run_encoder.c.
This commit is contained in:
parent
45df3e5e54
commit
971fbe5d8e
@ -624,7 +624,6 @@ noinst_PROGRAMS = \
|
|||||||
test/run_decoder \
|
test/run_decoder \
|
||||||
test/read_tags \
|
test/read_tags \
|
||||||
test/run_filter \
|
test/run_filter \
|
||||||
test/run_encoder \
|
|
||||||
test/run_output \
|
test/run_output \
|
||||||
test/read_mixer \
|
test/read_mixer \
|
||||||
test/software_volume
|
test/software_volume
|
||||||
@ -705,6 +704,8 @@ if HAVE_LIBSAMPLERATE
|
|||||||
test_run_filter_SOURCES += src/pcm_resample_libsamplerate.c
|
test_run_filter_SOURCES += src/pcm_resample_libsamplerate.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if ENABLE_ENCODER
|
||||||
|
noinst_PROGRAMS += test/run_encoder
|
||||||
test_run_encoder_SOURCES = test/run_encoder.c \
|
test_run_encoder_SOURCES = test/run_encoder.c \
|
||||||
src/conf.c src/buffer2array.c \
|
src/conf.c src/buffer2array.c \
|
||||||
src/utils.c \
|
src/utils.c \
|
||||||
@ -714,6 +715,7 @@ test_run_encoder_SOURCES = test/run_encoder.c \
|
|||||||
test_run_encoder_LDADD = $(MPD_LIBS) \
|
test_run_encoder_LDADD = $(MPD_LIBS) \
|
||||||
$(ENCODER_LIBS) \
|
$(ENCODER_LIBS) \
|
||||||
$(GLIB_LIBS)
|
$(GLIB_LIBS)
|
||||||
|
endif
|
||||||
|
|
||||||
test_software_volume_SOURCES = test/software_volume.c \
|
test_software_volume_SOURCES = test/software_volume.c \
|
||||||
src/audio_parser.c \
|
src/audio_parser.c \
|
||||||
|
Loading…
Reference in New Issue
Block a user