summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-06-22 07:02:18 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:11:42 +0200
commit877c93becf2f621ff7aa744d8045a778a0673bc1 (patch)
treeb347a66f3d45a574533aebae461fb46ad2eb142a /configure
parentbdafaeb65cac8bde5a86cf47ea38130d198c85ea (diff)
downloadmpv-877c93becf2f621ff7aa744d8045a778a0673bc1.tar.bz2
mpv-877c93becf2f621ff7aa744d8045a778a0673bc1.tar.xz
configure: Remove some unnecessary #includes from tests
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31526 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure20
1 files changed, 0 insertions, 20 deletions
diff --git a/configure b/configure
index 60a7b2d219..6652ccb5cc 100755
--- a/configure
+++ b/configure
@@ -3493,7 +3493,6 @@ echores "$_soundcard_h"
echocheck "sys/dvdio.h"
cat > $TMPC << EOF
-#include <unistd.h>
#include <sys/dvdio.h>
int main(void) { return 0; }
EOF
@@ -3509,7 +3508,6 @@ echores "$_dvdio"
echocheck "sys/cdio.h"
cat > $TMPC << EOF
-#include <unistd.h>
#include <sys/cdio.h>
int main(void) { return 0; }
EOF
@@ -3525,7 +3523,6 @@ echores "$_cdio"
echocheck "linux/cdrom.h"
cat > $TMPC << EOF
-#include <sys/types.h>
#include <linux/cdrom.h>
int main(void) { return 0; }
EOF
@@ -3592,8 +3589,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; }
@@ -5596,7 +5591,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"
@@ -5606,7 +5600,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"
@@ -5615,7 +5608,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"
@@ -5625,7 +5617,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"
@@ -5634,7 +5625,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"
@@ -6671,7 +6661,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;
@@ -7360,7 +7349,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
@@ -7385,8 +7373,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
@@ -7434,8 +7420,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
@@ -7454,7 +7438,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
@@ -7500,9 +7483,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