[MPlayer-cvslog] r23088 - in trunk: configure stream/Makefile
diego
subversion at mplayerhq.hu
Sun Apr 22 22:43:28 CEST 2007
Author: diego
Date: Sun Apr 22 22:43:28 2007
New Revision: 23088
Log:
Add Makefile variable for audio input that is enabled by V4L or radio capture.
Modified:
trunk/configure
trunk/stream/Makefile
Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Sun Apr 22 22:43:28 2007
@@ -6794,6 +6794,7 @@ EOF
fi
fi
if test "$_tv_v4l1" = yes ; then
+ _audio_input=yes
_tv_v4l=yes
_def_tv_v4l='#define HAVE_TV_V4L 1'
_def_tv_v4l1='#define HAVE_TV_V4L1 1'
@@ -6838,6 +6839,7 @@ if test "$_radio" = yes ; then
_radio_capture=no
fi
if test "$_radio_capture" = yes ; then
+ _audio_input=yes
_def_radio_capture="#define USE_RADIO_CAPTURE 1"
else
_def_radio_capture="#undef USE_RADIO_CAPTURE"
@@ -7736,6 +7738,7 @@ TV_V4L = $_tv_v4l
TV_V4L1 = $_tv_v4l1
TV_V4L2 = $_tv_v4l2
TV_BSDBT848 = $_tv_bsdbt848
+AUDIO_INPUT = $_audio_input
PVR = $_pvr
VCD = $_vcd
DVDREAD = $_dvdread
Modified: trunk/stream/Makefile
==============================================================================
--- trunk/stream/Makefile (original)
+++ trunk/stream/Makefile Sun Apr 22 22:43:28 2007
@@ -54,13 +54,7 @@ SRCS_COMMON-$(TV_V4L2) += tvi_
SRCS_COMMON-$(VCD) += stream_vcd.c
SRCS_COMMON-$(VSTREAM) += stream_vstream.c
-#FIXME: These should have variables assigned in configure.
-ifeq ($(TV_V4L),yes)
-SRCS_COMMON-$(ALSA1X) += ai_alsa1x.c
-SRCS_COMMON-$(ALSA9) += ai_alsa.c
-SRCS_COMMON-$(OSS) += ai_oss.c
-endif
-ifeq ($(RADIO_CAPTURE),yes)
+ifeq ($(AUDIO_INPUT),yes)
SRCS_COMMON-$(ALSA1X) += ai_alsa1x.c
SRCS_COMMON-$(ALSA9) += ai_alsa.c
SRCS_COMMON-$(OSS) += ai_oss.c
More information about the MPlayer-cvslog
mailing list