Fix autoconf nuances with AM_CONDITIONAL
This commit is contained in:
parent
f6060a5148
commit
ec8fcb4af2
2 changed files with 17 additions and 15 deletions
|
@ -20,12 +20,6 @@ libdecoders_a_SOURCES = \
|
|||
xxhash.c \
|
||||
xxhash.h
|
||||
|
||||
if USE_OPUS
|
||||
libdecoders_a_SOURCES += opus.c
|
||||
AM_CFLAGS += -DUSE_OPUS $(OPUSFILE_CFLAGS)
|
||||
LDADD += $(OPUSFILE_LIBS)
|
||||
endif
|
||||
|
||||
libdecoders_a_CXXFLAGS = \
|
||||
$(AM_CXXFLAGS) \
|
||||
$(CXXFLAGS) \
|
||||
|
@ -37,3 +31,8 @@ libdecoders_a_CFLAGS = \
|
|||
$(CFLAGS) \
|
||||
-Wpedantic \
|
||||
-Wall
|
||||
|
||||
if USE_OPUS
|
||||
libdecoders_a_SOURCES += opus.c
|
||||
libdecoders_a_CFLAGS += -DUSE_OPUS $(OPUSFILE_CFLAGS)
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue