# HG changeset patch # User voroshil # Date 1185960757 0 # Node ID d9242f4dd2b54cda9937fc24518443230b1aa715 # Parent fb3bdf4cc3c28f157aaa1f65f668965cf43ab283 (cosmetics) Make TV detection code two spaces indented diff -r fb3bdf4cc3c2 -r d9242f4dd2b5 configure --- a/configure Wed Aug 01 09:23:04 2007 +0000 +++ b/configure Wed Aug 01 09:32:37 2007 +0000 @@ -6598,9 +6598,9 @@ if bsd; then -echocheck "*BSD BT848 bt8xx header" -_ioctl_bt848_h=no -for file in "machine/ioctl_bt848.h" \ + echocheck "*BSD BT848 bt8xx header" + _ioctl_bt848_h=no + for file in "machine/ioctl_bt848.h" \ "dev/bktr/ioctl_bt848.h" \ "dev/video/bktr/ioctl_bt848.h" \ "dev/ic/bt8xx.h" ; do @@ -6617,18 +6617,18 @@ _ioctl_bt848_h_name="$file" break; fi -done -if test "$_ioctl_bt848_h" = yes ; then - _def_ioctl_bt848_h_name="#define IOCTL_BT848_H_NAME <$_ioctl_bt848_h_name>" - _res_comment="using $_ioctl_bt848_h_name" -else - _def_ioctl_bt848_h_name="#undef IOCTL_BT848_H_NAME" -fi -echores "$_ioctl_bt848_h" - -echocheck "*BSD ioctl_meteor.h" -_ioctl_meteor_h=no -for file in "machine/ioctl_meteor.h" \ + done + if test "$_ioctl_bt848_h" = yes ; then + _def_ioctl_bt848_h_name="#define IOCTL_BT848_H_NAME <$_ioctl_bt848_h_name>" + _res_comment="using $_ioctl_bt848_h_name" + else + _def_ioctl_bt848_h_name="#undef IOCTL_BT848_H_NAME" + fi + echores "$_ioctl_bt848_h" + + echocheck "*BSD ioctl_meteor.h" + _ioctl_meteor_h=no + for file in "machine/ioctl_meteor.h" \ "dev/bktr/ioctl_meteor.h" \ "dev/video/bktr/ioctl_meteor.h" ; do cat > $TMPC < $TMPC < $TMPC < $_def_ioctl_meteor_h_name $_def_ioctl_bt848_h_name @@ -6673,31 +6673,31 @@ return 0; } EOF - cc_check && _tv_bsdbt848=yes - fi -fi -if test "$_tv_bsdbt848" = yes ; then - _def_tv_bsdbt848='#define HAVE_TV_BSDBT848 1' - _inputmodules="tv-bsdbt848 $_inputmodules" -else - _def_tv_bsdbt848='#undef HAVE_TV_BSDBT848' - _noinputmodules="tv-bsdbt848 $_noinputmodules" -fi -echores "$_tv_bsdbt848" + cc_check && _tv_bsdbt848=yes + fi + fi + if test "$_tv_bsdbt848" = yes ; then + _def_tv_bsdbt848='#define HAVE_TV_BSDBT848 1' + _inputmodules="tv-bsdbt848 $_inputmodules" + else + _def_tv_bsdbt848='#undef HAVE_TV_BSDBT848' + _noinputmodules="tv-bsdbt848 $_noinputmodules" + fi + echores "$_tv_bsdbt848" fi #if bsd echocheck "Video 4 Linux TV interface" if test "$_tv_v4l1" = auto ; then - _tv_v4l1=no - if test "$_tv" = yes && linux ; then - cat > $TMPC < $TMPC < #include int main(void) { return 0; } EOF - cc_check && _tv_v4l1=yes - fi + cc_check && _tv_v4l1=yes + fi fi if test "$_tv_v4l1" = yes ; then _audio_input=yes @@ -6714,16 +6714,16 @@ echocheck "Video 4 Linux 2 TV interface" if test "$_tv_v4l2" = auto ; then - _tv_v4l2=no - if test "$_tv" = yes && linux ; then - cat > $TMPC < $TMPC < #include #include int main(void) { return 0; } EOF - cc_check && _tv_v4l2=yes - fi + cc_check && _tv_v4l2=yes + fi fi if test "$_tv_v4l2" = yes ; then _audio_input=yes