Commit 32a10457 authored by Luca Barbato's avatar Luca Barbato Committed by Martin Storsjo

Make the encoding example optional

parent 81ac02b2
......@@ -104,14 +104,17 @@ if ARMV5E
endif
endif
noinst_HEADERS = amrwbenc/inc/*.h amrwbenc/inc/*.tab common/include/*.h
if EXAMPLE
bin_PROGRAMS = amrwb-enc$(EXEEXT)
amrwb_enc_LDADD = libvo-amrwbenc.la
amrwb_enc_SOURCES = amrwb-enc.c wavreader.c
noinst_HEADERS = wavreader.h
noinst_HEADERS += wavreader.h
endif
noinst_HEADERS += amrwbenc/inc/*.h amrwbenc/inc/*.tab common/include/*.h
EXTRA_DIST = amrwbenc/*.cpp amrwbenc/*.mk amrwbenc/SampleCode \
amrwbenc/build amrwbenc/doc amrwbenc/*.txt \
......
......@@ -22,10 +22,15 @@ AC_ARG_ENABLE([armv7neon],
[AS_HELP_STRING([--enable-armv7neon],
[enable ARMV7 neon assembler (default is no)])],
[armv7neon=$enableval], [armv7neon=no])
AC_ARG_ENABLE([example],
[AS_HELP_STRING([--enable-example],
[enable example encoding program (default is no)])],
[example=$enableval], [example=no])
# Automake conditionals to set
AM_CONDITIONAL(ARMV5E, test x$armv5e = xyes)
AM_CONDITIONAL(ARMV7NEON, test x$armv7neon = xyes)
AM_CONDITIONAL(EXAMPLE, test x$example = xyes)
# Checks for programs.
AM_PROG_AS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment