Remove useless check for machine/soundcard.h
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 7 May 2009 15:13:19 +0000 (18:13 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 7 May 2009 15:13:19 +0000 (18:13 +0300)
configure.ac
modules/audio_output/oss.c

index cdd2343..7328ccf 100644 (file)
@@ -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
 
index 0948e27..e615465 100644 (file)
@@ -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 */