[MPlayer-cvslog] r31526 - trunk/configure

diego subversion at mplayerhq.hu
Tue Jun 22 09:02:18 CEST 2010


Author: diego
Date: Tue Jun 22 09:02:18 2010
New Revision: 31526

Log:
Remove some unnecessary #includes from configure tests.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Mon Jun 21 22:44:12 2010	(r31525)
+++ trunk/configure	Tue Jun 22 09:02:18 2010	(r31526)
@@ -3731,7 +3731,6 @@ echores "$_soundcard_h"
 
 echocheck "sys/dvdio.h"
 cat > $TMPC << EOF
-#include <unistd.h>
 #include <sys/dvdio.h>
 int main(void) { return 0; }
 EOF
@@ -3747,7 +3746,6 @@ echores "$_dvdio"
 
 echocheck "sys/cdio.h"
 cat > $TMPC << EOF
-#include <unistd.h>
 #include <sys/cdio.h>
 int main(void) { return 0; }
 EOF
@@ -3763,7 +3761,6 @@ echores "$_cdio"
 
 echocheck "linux/cdrom.h"
 cat > $TMPC << EOF
-#include <sys/types.h>
 #include <linux/cdrom.h>
 int main(void) { return 0; }
 EOF
@@ -3830,8 +3827,6 @@ fi #if hpux
 if sunos; then
 echocheck "userspace SCSI headers (Solaris)"
 cat > $TMPC << EOF
-#include <unistd.h>
-#include <stropts.h>
 #include <sys/scsi/scsi_types.h>
 #include <sys/scsi/impl/uscsi.h>
 int main(void) { return 0; }
@@ -5850,7 +5845,6 @@ fi
 if test "$_alsa" != no ; then
   _alsa=no
   cat > $TMPC << EOF
-#include <sys/time.h>
 #include <sys/asoundlib.h>
 #if !((SND_LIB_MAJOR == 0) && (SND_LIB_MINOR == 5))
 #error "alsa version != 0.5.x"
@@ -5860,7 +5854,6 @@ EOF
   cc_check -lasound $_ld_dl $_ld_pthread && _alsaver='0.5.x'
 
   cat > $TMPC << EOF
-#include <sys/time.h>
 #include <sys/asoundlib.h>
 #if !((SND_LIB_MAJOR == 0) && (SND_LIB_MINOR == 9))
 #error "alsa version != 0.9.x"
@@ -5869,7 +5862,6 @@ int main(void) { return 0; }
 EOF
   cc_check -lasound $_ld_dl $_ld_pthread && _alsaver='0.9.x-sys'
   cat > $TMPC << EOF
-#include <sys/time.h>
 #include <alsa/asoundlib.h>
 #if !((SND_LIB_MAJOR == 0) && (SND_LIB_MINOR == 9))
 #error "alsa version != 0.9.x"
@@ -5879,7 +5871,6 @@ EOF
   cc_check -lasound $_ld_dl $_ld_pthread && _alsaver='0.9.x-alsa'
 
   cat > $TMPC << EOF
-#include <sys/time.h>
 #include <sys/asoundlib.h>
 #if !((SND_LIB_MAJOR == 1) && (SND_LIB_MINOR == 0))
 #error "alsa version != 1.0.x"
@@ -5888,7 +5879,6 @@ int main(void) { return 0; }
 EOF
   cc_check -lasound $_ld_dl $_ld_pthread && _alsaver='1.0.x-sys'
   cat > $TMPC << EOF
-#include <sys/time.h>
 #include <alsa/asoundlib.h>
 #if !((SND_LIB_MAJOR == 1) && (SND_LIB_MINOR == 0))
 #error "alsa version != 1.0.x"
@@ -6991,7 +6981,6 @@ echores "$_faad"
 echocheck "LADSPA plugin support"
 if test "$_ladspa" = auto ; then
   cat > $TMPC <<EOF
-#include <stdio.h>
 #include <ladspa.h>
 int main(void) {
 const LADSPA_Descriptor *ld = NULL;
@@ -7944,7 +7933,6 @@ if test "$_tv_v4l1" = auto ; then
   _tv_v4l1=no
   if test "$_tv" = yes && linux ; then
     cat > $TMPC <<EOF
-#include <stdlib.h>
 #include <linux/videodev.h>
 int main(void) { return 0; }
 EOF
@@ -7969,8 +7957,6 @@ if test "$_tv_v4l2" = auto ; then
   _tv_v4l2=no
   if test "$_tv" = yes && linux ; then
     cat > $TMPC <<EOF
-#include <stdlib.h>
-#include <linux/types.h>
 #include <linux/videodev2.h>
 int main(void) { return 0; }
 EOF
@@ -8018,8 +8004,6 @@ if test "$_radio_v4l2" = auto ; then
   _radio_v4l2=no
   if test "$_radio" = yes && linux ; then
     cat > $TMPC <<EOF
-#include <stdlib.h>
-#include <linux/types.h>
 #include <linux/videodev2.h>
 int main(void) { return 0; }
 EOF
@@ -8038,7 +8022,6 @@ if test "$_radio_v4l" = auto ; then
   _radio_v4l=no
   if test "$_radio" = yes && linux ; then
     cat > $TMPC <<EOF
-#include <stdlib.h>
 #include <linux/videodev.h>
 int main(void) { return 0; }
 EOF
@@ -8084,9 +8067,6 @@ if test "$_pvr" = auto ; then
  _pvr=no
  if test "$_tv_v4l2" = yes && linux ; then
   cat > $TMPC <<EOF
-#include <stdlib.h>
-#include <inttypes.h>
-#include <linux/types.h>
 #include <linux/videodev2.h>
 int main(void) { struct v4l2_ext_controls ext; return ext.controls->value; }
 EOF


More information about the MPlayer-cvslog mailing list