Mercurial > mplayer.hg
comparison configure @ 2149:6358db6ad3d0
Xinerama screen size fix by Lev Babiev <harley@hosers.org>
author | arpi |
---|---|
date | Wed, 10 Oct 2001 01:48:54 +0000 |
parents | 1acfe0435a57 |
children | a9d91476085a |
comparison
equal
deleted
inserted
replaced
2148:0c6cef85d507 | 2149:6358db6ad3d0 |
---|---|
148 is available] | 148 is available] |
149 --enable-xmga build with mga_vid X Window support [autodetect, | 149 --enable-xmga build with mga_vid X Window support [autodetect, |
150 if both /dev/mga_vid and x11 are available] | 150 if both /dev/mga_vid and x11 are available] |
151 --enable-xv build with Xv render support for X 4.x [autodetect] | 151 --enable-xv build with Xv render support for X 4.x [autodetect] |
152 --enable-vm build with XF86VidMode support for x11 driver | 152 --enable-vm build with XF86VidMode support for x11 driver |
153 --enable-xinerama build with Xinerama support for x11 driver [autodetect] | |
153 --enable-x11 build with X11 render support [autodetect] | 154 --enable-x11 build with X11 render support [autodetect] |
154 --enable-fbdev build with FBDev render support [_not_ autodetected] | 155 --enable-fbdev build with FBDev render support [_not_ autodetected] |
155 --enable-mlib build with MLIB support ( only Solaris ) | 156 --enable-mlib build with MLIB support ( only Solaris ) |
156 --enable-vorbis build with OggVorbis support [autodetect] | 157 --enable-vorbis build with OggVorbis support [autodetect] |
157 | 158 |
500 _sdl=no | 501 _sdl=no |
501 _aa=no | 502 _aa=no |
502 _ggi=no | 503 _ggi=no |
503 _xv=no | 504 _xv=no |
504 _vm=no | 505 _vm=no |
506 _xinerama=no | |
505 _xdpms_3=no | 507 _xdpms_3=no |
506 _xdpms_4=no | 508 _xdpms_4=no |
507 _3dfx=no | 509 _3dfx=no |
508 _tdfxfb=no | 510 _tdfxfb=no |
509 _syncfb=no | 511 _syncfb=no |
532 _sdlcflags= | 534 _sdlcflags= |
533 _aalib= | 535 _aalib= |
534 _ggilib= | 536 _ggilib= |
535 _xvlib= | 537 _xvlib= |
536 _x11lib= | 538 _x11lib= |
539 _xineramalib= | |
537 | 540 |
538 _select='#define HAVE_AUDIO_SELECT' | 541 _select='#define HAVE_AUDIO_SELECT' |
539 | 542 |
540 _gui=no; | 543 _gui=no; |
541 | 544 |
888 | 891 |
889 $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lXdpms $_socklib > /dev/null 2>&1 && _xdpms_3=yes | 892 $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lXdpms $_socklib > /dev/null 2>&1 && _xdpms_3=yes |
890 nm `echo $_x11libdir|cut -c 3-`/libXext.a | grep DPMSQueryExtension > /dev/null 2>&1 && _xdpms_4=yes | 893 nm `echo $_x11libdir|cut -c 3-`/libXext.a | grep DPMSQueryExtension > /dev/null 2>&1 && _xdpms_4=yes |
891 $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lXv $_socklib > /dev/null 2>&1 && _xv=yes | 894 $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lXv $_socklib > /dev/null 2>&1 && _xv=yes |
892 $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lXxf86vm $_socklib > /dev/null 2>&1 && _vm=yes | 895 $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lXxf86vm $_socklib > /dev/null 2>&1 && _vm=yes |
896 $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lXinerama $_socklib > /dev/null 2>&1 && _xinerama=yes | |
893 | 897 |
894 # this is not yet checked with OpenBSD - atmos | 898 # this is not yet checked with OpenBSD - atmos |
895 if [ "$system_name" = "FreeBSD" -o "$system_name" = "OpenBSD" ]; then | 899 if [ "$system_name" = "FreeBSD" -o "$system_name" = "OpenBSD" ]; then |
896 $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lGL -lm -pthread $_socklib > /dev/null 2>&1 && _gl=yes | 900 $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lGL -lm -pthread $_socklib > /dev/null 2>&1 && _gl=yes |
897 else | 901 else |
1195 _xv=yes | 1199 _xv=yes |
1196 ;; | 1200 ;; |
1197 --enable-vm) | 1201 --enable-vm) |
1198 _vm=yes | 1202 _vm=yes |
1199 ;; | 1203 ;; |
1204 --enable-xinerama) | |
1205 _xinerama=yes | |
1206 ;; | |
1200 --enable-3dfx) | 1207 --enable-3dfx) |
1201 _3dfx=yes | 1208 _3dfx=yes |
1202 ;; | 1209 ;; |
1203 --enable-tdfxfb) | 1210 --enable-tdfxfb) |
1204 _tdfxfb=yes | 1211 _tdfxfb=yes |
1298 --disable-xv) | 1305 --disable-xv) |
1299 _xv=no | 1306 _xv=no |
1300 ;; | 1307 ;; |
1301 --disable-vm) | 1308 --disable-vm) |
1302 _vm=no | 1309 _vm=no |
1310 ;; | |
1311 --disable-xinerama) | |
1312 _xinerama=no | |
1303 ;; | 1313 ;; |
1304 --disable-mlib) | 1314 --disable-mlib) |
1305 _mlib=no | 1315 _mlib=no |
1306 ;; | 1316 ;; |
1307 --disable-svga) | 1317 --disable-svga) |
1555 echo "Checking for SDL ... $_sdl" | 1565 echo "Checking for SDL ... $_sdl" |
1556 echo "Checking for AA ... $_aa" | 1566 echo "Checking for AA ... $_aa" |
1557 echo "Checking for GGI ... $_ggi" | 1567 echo "Checking for GGI ... $_ggi" |
1558 echo "Checking for OpenGL ... $_gl" | 1568 echo "Checking for OpenGL ... $_gl" |
1559 echo "Checking for Xv ... $_xv" | 1569 echo "Checking for Xv ... $_xv" |
1570 echo "Checking for Xinerama ... $_xinerama" | |
1560 echo "Checking for X11 ... $_x11" | 1571 echo "Checking for X11 ... $_x11" |
1561 echo "Checking for DGA ... $_dga" | 1572 echo "Checking for DGA ... $_dga" |
1562 echo "Checking for DGA 2.0 .. $_dga2" | 1573 echo "Checking for DGA 2.0 .. $_dga2" |
1563 echo "Checking for Xf86VM ... $_vm" | 1574 echo "Checking for Xf86VM ... $_vm" |
1564 echo "Checking for SVGAlib ... $_svga" | 1575 echo "Checking for SVGAlib ... $_svga" |
1785 | 1796 |
1786 if [ $_xv = yes ]; then | 1797 if [ $_xv = yes ]; then |
1787 _xvlib='-lXv' | 1798 _xvlib='-lXv' |
1788 fi | 1799 fi |
1789 | 1800 |
1801 if [ $_xinerama = yes ]; then | |
1802 _xvlib='-lXinerama' | |
1803 fi | |
1804 | |
1790 if [ $_sdl = yes ]; then | 1805 if [ $_sdl = yes ]; then |
1791 _sdllib=`$_sdlconfig --libs` | 1806 _sdllib=`$_sdlconfig --libs` |
1792 _sdlcflags=`$_sdlconfig --cflags` | 1807 _sdlcflags=`$_sdlconfig --cflags` |
1793 fi | 1808 fi |
1794 | 1809 |
2056 _vm='#define HAVE_XF86VM' | 2071 _vm='#define HAVE_XF86VM' |
2057 else | 2072 else |
2058 _vm='#undef HAVE_XF86VM' | 2073 _vm='#undef HAVE_XF86VM' |
2059 fi | 2074 fi |
2060 | 2075 |
2076 if [ $_xinerama = yes ]; then | |
2077 _xinerama='#define HAVE_XINERAMA' | |
2078 else | |
2079 _xinerama='#undef HAVE_XINERAMA' | |
2080 fi | |
2081 | |
2061 # --- | 2082 # --- |
2062 | 2083 |
2063 if [ $_mga = yes ]; then | 2084 if [ $_mga = yes ]; then |
2064 _mga='#define HAVE_MGA' | 2085 _mga='#define HAVE_MGA' |
2065 _vosrc=$_vosrc' vo_mga.c' | 2086 _vosrc=$_vosrc' vo_mga.c' |
2168 EXTRA_INC=$_extraincdir $_gtkinc | 2189 EXTRA_INC=$_extraincdir $_gtkinc |
2169 WIN32_PATH=-DWIN32_PATH=\\"$_win32libdir\\" | 2190 WIN32_PATH=-DWIN32_PATH=\\"$_win32libdir\\" |
2170 | 2191 |
2171 X11_INC=$_x11incdir | 2192 X11_INC=$_x11incdir |
2172 X11DIR=$_x11libdir | 2193 X11DIR=$_x11libdir |
2173 X_LIBS=$_x11libdir $_extralibdir $_gllib $_ggilib $_sdllib $_dgalib $_x11lib $_xvlib $_vmlib $_svgalib $_libpng $_socklib $_aalib $_libvorbis | 2194 X_LIBS=$_x11libdir $_extralibdir $_gllib $_ggilib $_sdllib $_dgalib $_x11lib $_xvlib $_vmlib $_svgalib $_libpng $_socklib $_aalib $_libvorbis $_libxinerama |
2174 | 2195 |
2175 TERMCAP_LIB=$_libtermcap | 2196 TERMCAP_LIB=$_libtermcap |
2176 XMM_LIBS = $_xmmplibs | 2197 XMM_LIBS = $_xmmplibs |
2177 LIRC_LIBS = $_lirclibs | 2198 LIRC_LIBS = $_lirclibs |
2178 CSS_USE=$_css | 2199 CSS_USE=$_css |
2397 #define SCREEN_SIZE_X $_x | 2418 #define SCREEN_SIZE_X $_x |
2398 #define SCREEN_SIZE_Y $_y | 2419 #define SCREEN_SIZE_Y $_y |
2399 $_x11 | 2420 $_x11 |
2400 $_xv | 2421 $_xv |
2401 $_vm | 2422 $_vm |
2423 $_xinerama | |
2402 $_gl | 2424 $_gl |
2403 $_dga | 2425 $_dga |
2404 $_dga2 | 2426 $_dga2 |
2405 $_sdldef | 2427 $_sdldef |
2406 /* defined for SDLlib with keyrepeat bugs (before 1.2.1) */ | 2428 /* defined for SDLlib with keyrepeat bugs (before 1.2.1) */ |