comparison configure @ 4019:079177a400cb

fbdev autodetection enabled (requires linux && /dev/fb0) test changed for directfb (requires linux && /dev/fb0)
author pl
date Sun, 06 Jan 2002 22:57:58 +0000
parents 92c59012249d
children 73e945634181
comparison
equal deleted inserted replaced
4018:f94c539fa959 4019:079177a400cb
146 (check for X & /dev/mga_vid) [autodetect] 146 (check for X & /dev/mga_vid) [autodetect]
147 --enable-xv build with Xv render support for X 4.x [autodetect] 147 --enable-xv build with Xv render support for X 4.x [autodetect]
148 --enable-vm build with XF86VidMode support for X11 [autodetect] 148 --enable-vm build with XF86VidMode support for X11 [autodetect]
149 --enable-xinerama build with Xinerama support for X11 [autodetect] 149 --enable-xinerama build with Xinerama support for X11 [autodetect]
150 --enable-x11 build with X11 render support [autodetect] 150 --enable-x11 build with X11 render support [autodetect]
151 --enable-fbdev build with FBDev render support [disable] 151 --enable-fbdev build with FBDev render support [autodetect]
152 --enable-mlib build with MLIB support (Solaris only) [autodetect] 152 --enable-mlib build with MLIB support (Solaris only) [autodetect]
153 --enable-3dfx build with 3dfx support [disable] 153 --enable-3dfx build with 3dfx support [disable]
154 --enable-tdfxfb build with tdfxfb support [disable] 154 --enable-tdfxfb build with tdfxfb support [disable]
155 --enable-directfb build with DirectFB support [autodetect] 155 --enable-directfb build with DirectFB support [autodetect]
156 156
677 _png=auto 677 _png=auto
678 _gl=auto 678 _gl=auto
679 _ggi=auto 679 _ggi=auto
680 _aa=auto 680 _aa=auto
681 _svga=auto 681 _svga=auto
682 _fbdev=no 682 _fbdev=auto
683 _dvb=auto 683 _dvb=auto
684 _dxr3=auto 684 _dxr3=auto
685 _iconv=auto 685 _iconv=auto
686 _rtc=auto 686 _rtc=auto
687 _ossaudio=auto 687 _ossaudio=auto
1363 _directfb=no 1363 _directfb=no
1364 cat > $TMPC <<EOF 1364 cat > $TMPC <<EOF
1365 #include <directfb.h> 1365 #include <directfb.h>
1366 int main(void) { IDirectFB *foo; return 0; } 1366 int main(void) { IDirectFB *foo; return 0; }
1367 EOF 1367 EOF
1368 cc_check -ldirectfb && _directfb=yes 1368 linux && test -c /dev/fb0 && cc_check -ldirectfb && _directfb=yes
1369 fi 1369 fi
1370 if test "$_directfb" = yes ; then 1370 if test "$_directfb" = yes ; then
1371 _def_directfb='#define HAVE_DIRECTFB 1' 1371 _def_directfb='#define HAVE_DIRECTFB 1'
1372 _vosrc="$_vosrc vo_directfb.c" 1372 _vosrc="$_vosrc vo_directfb.c"
1373 _vomodules="directfb $_vomodules" 1373 _vomodules="directfb $_vomodules"
1755 1755
1756 1756
1757 echocheck "FBDev" 1757 echocheck "FBDev"
1758 if test "$_fbdev" = auto ; then 1758 if test "$_fbdev" = auto ; then
1759 _fbdev=no 1759 _fbdev=no
1760 linux && _fbdev=yes 1760 linux && test -c /dev/fb0 && _fbdev=yes
1761 fi 1761 fi
1762 if test "$_fbdev" = yes ; then 1762 if test "$_fbdev" = yes ; then
1763 _def_fbdev='#define HAVE_FBDEV 1' 1763 _def_fbdev='#define HAVE_FBDEV 1'
1764 _vosrc="$_vosrc vo_fbdev.c" 1764 _vosrc="$_vosrc vo_fbdev.c"
1765 _vomodules="fbdev $_vomodules" 1765 _vomodules="fbdev $_vomodules"