summaryrefslogtreecommitdiffstats
path: root/rules/libtheora.make
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2012-06-14 20:42:02 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2012-06-14 20:42:31 +0200
commit04be06bd8e3ad0722f9db83ea270306555e19208 (patch)
tree4dc42eefd1a4bd1c80287ef0e61545b5f14366e0 /rules/libtheora.make
parentf9948b578e30bd15c567d051614dc88fce9baf7a (diff)
downloadptxdist-04be06bd8e3ad0722f9db83ea270306555e19208.tar.gz
ptxdist-04be06bd8e3ad0722f9db83ea270306555e19208.tar.xz
libtheora: use endis
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'rules/libtheora.make')
-rw-r--r--rules/libtheora.make38
1 files changed, 6 insertions, 32 deletions
diff --git a/rules/libtheora.make b/rules/libtheora.make
index 8ffa9b811..4f56cd242 100644
--- a/rules/libtheora.make
+++ b/rules/libtheora.make
@@ -42,8 +42,12 @@ LIBTHEORA_AUTOCONF := \
--disable-spec \
--disable-valgrind-testing \
--disable-telemetry \
- --disable-examples
-
+ --disable-examples \
+ --$(call ptx/endis, PTXCONF_LIBTHEORA__OGG)-ogg \
+ --$(call ptx/endis, PTXCONF_LIBTHEORA__VORBIS)-vorbis \
+ --$(call ptx/endis, PTXCONF_LIBTHEORA__SDL)-sdl \
+ --$(call ptx/endis, PTXCONF_LIBTHEORA__FLOAT)-float \
+ --$(call ptx/endis, PTXCONF_LIBTHEORA__ENCODING)-encoding
ifndef PTXCONF_LIBTHEORA__DOC
LIBTHEORA_AUTOCONF += \
@@ -53,36 +57,6 @@ LIBTHEORA_AUTOCONF += \
ac_cv_prog_HAVE_TRANSFIG=no
endif
-ifdef PTXCONF_LIBTHEORA__OGG
-LIBTHEORA_AUTOCONF += --enable-ogg
-else
-LIBTHEORA_AUTOCONF += --disable-ogg
-endif
-
-ifdef PTXCONF_LIBTHEORA__VORBIS
-LIBTHEORA_AUTOCONF += --enable-vorbis
-else
-LIBTHEORA_AUTOCONF += --disable-vorbis
-endif
-
-ifdef PTXCONF_LIBTHEORA__SDL
-LIBTHEORA_AUTOCONF += --enable-sdl
-else
-LIBTHEORA_AUTOCONF += --disable-sdl
-endif
-
-ifdef PTXCONF_LIBTHEORA__FLOAT
-LIBTHEORA_AUTOCONF += --enable-float
-else
-LIBTHEORA_AUTOCONF += --disable-float
-endif
-
-ifdef PTXCONF_LIBTHEORA__ENCODING
-LIBTHEORA_AUTOCONF += --enable-encode
-else
-LIBTHEORA_AUTOCONF += --disable-encode
-endif
-
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------