From 9c8d1c5851fbe93e986bbf7e0fbe16c7592b58fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Fri, 16 Mar 2007 22:32:13 +0000 Subject: Add proper support for disabling Real binary codecs support and add a parameter to define a codecs path during configure stage, rather than probing at runtime. CVS patchset: 8688 CVS date: 2007/03/16 22:32:13 --- configure.ac | 13 +++++++++++++ src/libreal/Makefile.am | 2 ++ 2 files changed, 15 insertions(+) diff --git a/configure.ac b/configure.ac index e08d6fe0e..542e5306e 100644 --- a/configure.ac +++ b/configure.ac @@ -2058,6 +2058,19 @@ else fi AC_SUBST(W32DLL_DEP) +dnl -------------------------------------------- +dnl Real binary codecs support +dnl -------------------------------------------- + +AC_ARG_ENABLE([real-codecs], + AS_HELP_STRING([--disable-real-codecs], [Disable Real binary codecs support])) +AC_ARG_WITH([real-codecs-path], + AS_HELP_STRING([--with-real-codecs-path=dir], [Specify directory for Real binary codecs]), [ + AC_DEFINE_UNQUOTED([REAL_CODEC_PATH], ["$withval"], [Specified path for Real binary codecs]) + ]) + +AM_CONDITIONAL([ENABLE_REAL], [test "x$enable_real_codecs" != "xno"]) + dnl -------------------------------------------- dnl mmap() support dnl -------------------------------------------- diff --git a/src/libreal/Makefile.am b/src/libreal/Makefile.am index 4c46db78c..21c2e47ba 100644 --- a/src/libreal/Makefile.am +++ b/src/libreal/Makefile.am @@ -1,6 +1,8 @@ include $(top_srcdir)/misc/Makefile.common +if ENABLE_REAL xineplug_LTLIBRARIES = xineplug_decode_real.la xineplug_decode_real_audio.la +endif xineplug_decode_real_la_SOURCES = xine_decoder.c real_common.c xineplug_decode_real_la_LIBADD = $(XINE_LIB) $(DYNAMIC_LD_LIBS) -- cgit v1.2.3