changeset 26247:5ae0c6ec14e9

Remove bsd() system check. Lumping different *BSD systems together like that was not a good idea in the first place. They are too different and constantly diverging.
author diego
date Thu, 27 Mar 2008 01:56:37 +0000
parents 84e71e0a0546
children 83e813ecc187
files configure
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Wed Mar 26 09:58:37 2008 +0000
+++ b/configure	Thu Mar 27 01:56:37 2008 +0000
@@ -107,7 +107,6 @@
 netbsd()  { issystem "NetBSD"  ; return "$?" ; }
 bsdos()   { issystem "BSD/OS"  ; return "$?" ; }
 openbsd() { issystem "OpenBSD" ; return "$?" ; }
-bsd()     { freebsd || netbsd || bsdos || openbsd ; return "$?" ; }
 qnx()     { issystem "QNX"     ; return "$?" ; }
 darwin()  { issystem "Darwin"  ; return "$?" ; }
 gnu()     { issystem "GNU"     ; return "$?" ; }
@@ -6812,7 +6811,7 @@
 echores "$_tv"
 
 
-if bsd; then
+if freebsd || netbsd || openbsd || bsdos ; then
   echocheck "*BSD BT848 bt8xx header"
   _ioctl_bt848_h=no
   for file in "machine/ioctl_bt848.h" \
@@ -6900,7 +6899,7 @@
     _noinputmodules="tv-bsdbt848 $_noinputmodules"
   fi
   echores "$_tv_bsdbt848"
-fi #if bsd
+fi #if freebsd || netbsd || openbsd || bsdos
 
 
 echocheck "DirectShow TV interface"
@@ -7061,7 +7060,8 @@
 fi
 echores "$_radio_v4l"
 
-if bsd && test "$_radio" = yes && test "$_radio_bsdbt848" = auto ; then
+if freebsd || netbsd || openbsd || bsdos \
+  && test "$_radio" = yes && test "$_radio_bsdbt848" = auto ; then
 echocheck "*BSD BrookTree 848 Radio interface"
    _radio_bsdbt848=no
     cat > $TMPC <<EOF
@@ -7077,7 +7077,7 @@
 EOF
     cc_check && _radio_bsdbt848=yes
 echores "$_radio_bsdbt848"
-fi #if bsd && radio && radio_bsdbt848
+fi #if freebsd || netbsd || openbsd || bsdos && _radio && _radio_bsdbt848
 
 if test "$_radio_bsdbt848" = yes ; then
   _def_radio_bsdbt848='#define HAVE_RADIO_BSDBT848 1'
@@ -7449,7 +7449,7 @@
 # Dynamic linking flags 
 # (FIXME: 'echocheck "dynamic linking"' above and modify here accordingly)
 _ld_dl_dynamic=''
-bsd && _ld_dl_dynamic='-rdynamic'
+freebsd || netbsd || openbsd || bsdos && _ld_dl_dynamic='-rdynamic'
 if test "$_real" = yes || test "$_xanim" = yes && ! win32 && ! qnx && ! darwin && ! os2 ; then
   _ld_dl_dynamic='-rdynamic'
 fi
@@ -7573,7 +7573,7 @@
 # Thread support
 if linux ; then
   CFLAGS="$CFLAGS -D_REENTRANT"
-elif bsd ; then
+elif freebsd || netbsd || openbsd || bsdos ; then
   # FIXME bsd needs this so maybe other OS'es
   CFLAGS="$CFLAGS -D_THREAD_SAFE"
 fi