[Ffmpeg-cvslog] r7911 - trunk/configure

mru subversion
Sat Feb 10 23:24:45 CET 2007


Author: mru
Date: Sat Feb 10 23:24:45 2007
New Revision: 7911

Modified:
   trunk/configure

Log:
test for OSS audio


Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Sat Feb 10 23:24:45 2007
@@ -519,6 +519,8 @@
     pthreads
     sdl
     sdl_video_size
+    soundcard_h
+    sys_soundcard_h
     threads
     w32threads
 '
@@ -792,7 +794,6 @@
     LDCONFIG="echo ignoring ldconfig"
     SHFLAGS=-nostart
     # disable Linux things
-    audio_oss="no"
     dv1394="no"
     # enable BeOS things
     audio_beos="yes"
@@ -806,7 +807,6 @@
         extralibs="-lnet"
     fi ;;
   SunOS)
-    audio_oss="no"
     dv1394="no"
     make="gmake"
     FFLDFLAGS=""
@@ -816,14 +816,12 @@
     ;;
   NetBSD)
     bktr="yes"
-    audio_oss="yes"
     dv1394="no"
     make="gmake"
     add_extralibs "-lossaudio"
     ;;
   OpenBSD)
     bktr="yes"
-    audio_oss="yes"
     dv1394="no"
     need_memalign="no"
     make="gmake"
@@ -837,7 +835,6 @@
     ;;
   FreeBSD)
     bktr="yes"
-    audio_oss="yes"
     dv1394="no"
     make="gmake"
     need_memalign="no"
@@ -845,13 +842,11 @@
     ;;
   GNU/kFreeBSD)
     bktr="yes"
-    audio_oss="yes"
     dv1394="no"
     add_cflags "-pthread"
     ;;
   BSD/OS)
     bktr="yes"
-    audio_oss="yes"
     dv1394="no"
     extralibs="-lpoll -lgnugetopt -lm"
     make="gmake"
@@ -859,7 +854,6 @@
     ;;
   Darwin)
     cc="cc"
-    audio_oss="no"
     dv1394="no"
     need_memalign="no"
     SHFLAGS="-dynamiclib -Wl,-single_module -Wl,-install_name,\$(shlibdir)/\$(SLIBNAME),-current_version,\$(SPPVERSION),-compatibility_version,\$(SPPVERSION) -Wl,-read_only_relocs,suppress"
@@ -880,7 +874,6 @@
   CYGWIN*)
     targetos=CYGWIN
     shlibdir="$bindir"
-    audio_oss="yes"
     dv1394="no"
     VHOOKSHFLAGS='-shared -L$(BUILD_ROOT)/libavformat -L$(BUILD_ROOT)/libavcodec -L$(BUILD_ROOT)/libavutil'
     VHOOKLIBS='-lavformat$(BUILDSUF) -lavcodec$(BUILDSUF) -lavutil$(BUILDSUF) $(EXTRALIBS)'
@@ -898,7 +891,6 @@
   IRIX*)
     targetos=IRIX
     ranlib="echo ignoring ranlib"
-    audio_oss="no"
     make="gmake"
     ;;
   OS/2)
@@ -917,7 +909,6 @@
     EXESUF=".exe"
     extralibs=""
     pkg_requires=""
-    audio_oss="no"
     dv1394="no"
     ffserver="no"
     vhook="no"
@@ -1181,7 +1172,6 @@
 EOF
         exit 1
     fi
-    audio_oss="no"
     dv1394="no"
     dc1394="no"
     ffserver="no"
@@ -1768,6 +1758,11 @@
     check_header dev/ic/bt8xx.h
 fi
 
+enabled audio_oss &&
+    check_header sys/soundcard.h ||
+    check_header soundcard.h ||
+    disable audio_oss
+
 # Deal with the x11 frame grabber
 enabled x11grab                         &&
 enabled gpl                             &&




More information about the ffmpeg-cvslog mailing list