changeset 31460:537a064968b9

Remove some unnecessary #includes from configure tests.
author diego
date Tue, 22 Jun 2010 07:02:18 +0000
parents 1cf0f471ceee
children a8963007ecc7
files configure
diffstat 1 files changed, 0 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Jun 21 20:44:12 2010 +0000
+++ b/configure	Tue Jun 22 07:02:18 2010 +0000
@@ -3731,7 +3731,6 @@
 
 echocheck "sys/dvdio.h"
 cat > $TMPC << EOF
-#include <unistd.h>
 #include <sys/dvdio.h>
 int main(void) { return 0; }
 EOF
@@ -3747,7 +3746,6 @@
 
 echocheck "sys/cdio.h"
 cat > $TMPC << EOF
-#include <unistd.h>
 #include <sys/cdio.h>
 int main(void) { return 0; }
 EOF
@@ -3763,7 +3761,6 @@
 
 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 @@
 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 @@
 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 @@
   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 @@
 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 @@
   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 @@
 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 @@
 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 @@
   _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 @@
   _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 @@
   _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 @@
   _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 @@
  _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