[vlc-devel] commit: Remove useless check for machine/soundcard.h ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu May 7 17:13:54 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu May  7 18:13:19 2009 +0300| [dd3a05a9851f1bb524f15e176b7d9108362fd1ea] | committer: Rémi Denis-Courmont 

Remove useless check for machine/soundcard.h

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dd3a05a9851f1bb524f15e176b7d9108362fd1ea
---

 configure.ac               |    4 ++--
 modules/audio_output/oss.c |    2 --
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index cdd2343..7328ccf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4708,10 +4708,10 @@ if test "${enable_oss}" != "no" &&
   (test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce" ||
    test "${enable_oss}" = "yes")
 then
-  AC_CHECK_HEADERS(soundcard.h sys/soundcard.h machine/soundcard.h, [
+  AC_CHECK_HEADERS([soundcard.h sys/soundcard.h], [
     VLC_ADD_PLUGIN([oss])
     VLC_ADD_PLUGIN([access_oss])
-    AC_CHECK_LIB(ossaudio,main,VLC_ADD_LIBS([oss],[-lossaudio]))
+    AC_CHECK_LIB(ossaudio,main,[VLC_ADD_LIBS([oss],[-lossaudio])])
   ])
 fi
 
diff --git a/modules/audio_output/oss.c b/modules/audio_output/oss.c
index 0948e27..e615465 100644
--- a/modules/audio_output/oss.c
+++ b/modules/audio_output/oss.c
@@ -51,8 +51,6 @@
 #   include <soundcard.h>
 #elif defined( HAVE_SYS_SOUNDCARD_H )
 #   include <sys/soundcard.h>
-#elif defined( HAVE_MACHINE_SOUNDCARD_H )
-#   include <machine/soundcard.h>
 #endif
 
 /* Patches for ignorant OSS versions */




More information about the vlc-devel mailing list