1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-23 03:37:27 +00:00

fbdev nocopy option, and static pthread fixes - Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4210 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-01-17 01:12:01 +00:00
parent 777f684d5c
commit ff9f7233f8

23
configure vendored
View File

@ -149,6 +149,7 @@ Video:
--enable-xinerama build with Xinerama support for X11 [autodetect] --enable-xinerama build with Xinerama support for X11 [autodetect]
--enable-x11 build with X11 render support [autodetect] --enable-x11 build with X11 render support [autodetect]
--enable-fbdev build with FBDev render support [autodetect] --enable-fbdev build with FBDev render support [autodetect]
--enable-fbdev=nocopy yuv12 converts directly into framebuffer
--enable-mlib build with MLIB support (Solaris only) [autodetect] --enable-mlib build with MLIB support (Solaris only) [autodetect]
--enable-3dfx build with 3dfx support [disable] --enable-3dfx build with 3dfx support [disable]
--enable-tdfxfb build with tdfxfb support [disable] --enable-tdfxfb build with tdfxfb support [disable]
@ -678,6 +679,7 @@ _ggi=auto
_aa=auto _aa=auto
_svga=auto _svga=auto
_fbdev=auto _fbdev=auto
_fbdev_nocopy=no
_dvb=auto _dvb=auto
_dxr3=auto _dxr3=auto
_iconv=auto _iconv=auto
@ -753,6 +755,7 @@ for ac_option do
--enable-svga) _svga=yes ;; --enable-svga) _svga=yes ;;
--disable-svga) _svga=no ;; --disable-svga) _svga=no ;;
--enable-fbdev) _fbdev=yes ;; --enable-fbdev) _fbdev=yes ;;
--enable-fbdev=nocopy) _fbdev=yes; _fbdev_nocopy=yes ;;
--disable-fbdev) _fbdev=no ;; --disable-fbdev) _fbdev=no ;;
--enable-dvb) _dvb=yes ;; --enable-dvb) _dvb=yes ;;
--disable-dvb) _dvb=no ;; --disable-dvb) _dvb=no ;;
@ -1264,7 +1267,18 @@ elif ( cc_check -lpthread && $TMPO ) ; then
elif ( cc_check -pthread && $TMPO ) ; then elif ( cc_check -pthread && $TMPO ) ; then
_ld_pthread='-pthread' _ld_pthread='-pthread'
else else
die "Lib pthread not found. (needed by windows and networking stuff)" if test "$_ld_static" ; then
# for crosscompilation, we cannot execute the program, be happy if we can link statically
if ( cc_check -lpthread ) ; then
_ld_pthread='-lpthread'
elif ( cc_check -pthread ) ; then
_ld_pthread='-pthread'
else
die "Static lib pthread not found. (needed by windows and networking stuff)"
fi
else
die "Lib pthread not found. (needed by windows and networking stuff)"
fi
fi fi
echores "yes (using $_ld_pthread)" echores "yes (using $_ld_pthread)"
@ -1785,12 +1799,18 @@ if test "$_fbdev" = yes ; then
_def_fbdev='#define HAVE_FBDEV 1' _def_fbdev='#define HAVE_FBDEV 1'
_vosrc="$_vosrc vo_fbdev.c" _vosrc="$_vosrc vo_fbdev.c"
_vomodules="fbdev $_vomodules" _vomodules="fbdev $_vomodules"
if test "$_fbdev_nocopy" = yes ; then
_def_fbdev_nocopy='#define USE_CONVERT2FB 1'
fi
else else
_def_fbdev='#undef HAVE_FBDEV' _def_fbdev='#undef HAVE_FBDEV'
_def_fbdev_nocopy='#undef USE_CONVERT2FB'
fi fi
echores "$_fbdev" echores "$_fbdev"
echocheck "DVB" echocheck "DVB"
if test "$_dvb" != no ; then if test "$_dvb" != no ; then
_dvb=no _dvb=no
@ -3124,6 +3144,7 @@ $_def_mga
$_def_xmga $_def_xmga
$_def_syncfb $_def_syncfb
$_def_fbdev $_def_fbdev
$_def_fbdev_nocopy
$_def_dxr3 $_def_dxr3
$_def_dvb $_def_dvb
$_def_svga $_def_svga