changeset 260:4b1c9d1a469b trunk

[svn] Made WMA support configurable, defaults to on.
author chainsaw
date Tue, 06 Dec 2005 14:02:16 -0800
parents 88b38e2414a1
children 5fd398406cf7
files Plugins/Input/wma/Makefile.am configure.ac
diffstat 2 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/wma/Makefile.am	Sun Dec 04 15:58:55 2005 -0800
+++ b/Plugins/Input/wma/Makefile.am	Tue Dec 06 14:02:16 2005 -0800
@@ -1,7 +1,11 @@
+if ENABLE_WMA
+
 SUBDIRS = libffwma
 
 lib_LTLIBRARIES = libwma.la
 
+endif
+
 libdir = $(plugindir)/$(INPUT_PLUGIN_DIR)
 
 libwma_la_LDFLAGS = $(PLUGIN_LDFLAGS) ./libffwma/libffwma.la
--- a/configure.ac	Sun Dec 04 15:58:55 2005 -0800
+++ b/configure.ac	Tue Dec 06 14:02:16 2005 -0800
@@ -403,6 +403,16 @@
 fi
 AM_CONDITIONAL(HAVE_FLAC,test "x$have_flac" = xyes)
 
+dnl *** WMA
+
+AC_ARG_ENABLE(wma,
+    [  --disable-wma           disable wma plugin. [default=enabled] ],
+    [enable_wma=$enableval],
+    [enable_wma=yes]
+)
+
+AM_CONDITIONAL(ENABLE_WMA, test "$enable_wma" = "yes")
+
 dnl *** OSS output
 
 AC_ARG_ENABLE(oss,
@@ -748,6 +758,7 @@
 echo "  MPEG 1/2/3 (mpg123):                    $enable_mp3"
 echo "    + id3v2 editing:                      $have_id3lib"
 echo "  MPEG 4 Audio (AAC):                     $enable_aac"
+echo "  Windows Media Audio (wma):              $enable_wma"
 echo "  Module decoder (mikmod):                $enable_mikmod"
 echo "  CD Digital Audio (cdda):                yes"
 echo "  Microsoft WAV (wav):                    yes"