summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorFrançois Revol <revol@free.fr>2002-11-05 00:38:06 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-11-05 00:38:06 +0000
commitdfdfa47cd1e8887a99e19ba9291a8ffc52dd251c (patch)
treeb70cec4c9ff9f9c9d7e5aee197dd786a423a3ee0 /configure
parent95e2ce4aa05d0bd24c5620937b47e21125532df1 (diff)
BeOS Audio ouput patch by (François Revol <revol at free dot fr>)
Originally committed as revision 1163 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure b/configure
index d4e6134f9d..b41fd4d2c1 100755
--- a/configure
+++ b/configure
@@ -51,6 +51,7 @@ esac
gprof="no"
v4l="yes"
audio_oss="yes"
+audio_beos="no"
network="yes"
zlib="yes"
mp3lame="no"
@@ -89,6 +90,8 @@ SHFLAGS=-nostart
# disable linux things
audio_oss="no"
v4l="no"
+# enable beos things
+audio_beos="yes"
# no need for libm, but the inet stuff
# Check for BONE
if (echo $BEINCLUDES|grep 'headers/be/bone' >/dev/null); then
@@ -186,6 +189,8 @@ for opt do
;;
--disable-audio-oss) audio_oss="no"
;;
+ --disable-audio-beos) audio_beos="no"
+ ;;
--disable-network) network="no"
;;
--disable-zlib) zlib="no"
@@ -411,6 +416,7 @@ echo " --cpu=CPU force cpu to CPU [$cpu]"
echo " --disable-mmx disable mmx usage"
echo " --disable-altivec disable AltiVec usage"
echo " --disable-audio-oss disable OSS audio support [default=no]"
+echo " --disable-audio-beos disable BeOS audio support [default=no]"
echo " --disable-v4l disable video4linux grabbing [default=no]"
echo " --disable-network disable network support [default=no]"
echo " --disable-zlib disable zlib [default=no]"
@@ -559,6 +565,11 @@ if test "$audio_oss" = "yes" ; then
echo "CONFIG_AUDIO_OSS=yes" >> config.mak
fi
+if test "$audio_beos" = "yes" ; then
+ echo "#define CONFIG_AUDIO_BEOS 1" >> $TMPH
+ echo "CONFIG_AUDIO_BEOS=yes" >> config.mak
+fi
+
if test "$network" = "yes" ; then
echo "#define CONFIG_NETWORK 1" >> $TMPH
echo "CONFIG_NETWORK=yes" >> config.mak