comparison configure @ 32343:3930b52e38d2

Remove some unnecessary #includes from IVTV and V4L2 checks.
author diego
date Sun, 03 Oct 2010 14:49:30 +0000
parents b5aa0248bdc2
children fe4d1e6b171b
comparison
equal deleted inserted replaced
32342:b5aa0248bdc2 32343:3930b52e38d2
5323 5323
5324 5324
5325 echocheck "IVTV TV-Out (pre linux-2.6.24)" 5325 echocheck "IVTV TV-Out (pre linux-2.6.24)"
5326 if test "$_ivtv" = auto ; then 5326 if test "$_ivtv" = auto ; then
5327 cat > $TMPC << EOF 5327 cat > $TMPC << EOF
5328 #include <stdlib.h>
5329 #include <inttypes.h>
5330 #include <linux/types.h>
5331 #include <linux/videodev2.h> 5328 #include <linux/videodev2.h>
5332 #include <linux/ivtv.h> 5329 #include <linux/ivtv.h>
5333 #include <sys/ioctl.h> 5330 #include <sys/ioctl.h>
5334 int main(void) { 5331 int main(void) {
5335 struct ivtv_cfg_stop_decode sd; 5332 struct ivtv_cfg_stop_decode sd;
5354 5351
5355 5352
5356 echocheck "V4L2 MPEG Decoder" 5353 echocheck "V4L2 MPEG Decoder"
5357 if test "$_v4l2" = auto ; then 5354 if test "$_v4l2" = auto ; then
5358 cat > $TMPC << EOF 5355 cat > $TMPC << EOF
5359 #include <stdlib.h>
5360 #include <inttypes.h>
5361 #include <linux/types.h>
5362 #include <linux/videodev2.h> 5356 #include <linux/videodev2.h>
5363 #include <linux/version.h> 5357 #include <linux/version.h>
5364 int main(void) { 5358 int main(void) {
5365 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22) 5359 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
5366 #error kernel headers too old, need 2.6.22 5360 #error kernel headers too old, need 2.6.22