Mercurial > sdl-ios-xcode
comparison configure.in @ 227:24878c14b391
Added X11 Xinerama support - fullscreen starts on screen 0
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 03 Nov 2001 17:03:16 +0000 |
parents | 0a98dba2c700 |
children | b6084de9431a |
comparison
equal
deleted
inserted
replaced
226:bb72c418a1f9 | 227:24878c14b391 |
---|---|
600 if test x$video_x11_xv = xyes; then | 600 if test x$video_x11_xv = xyes; then |
601 CFLAGS="$CFLAGS -DXFREE86_XV" | 601 CFLAGS="$CFLAGS -DXFREE86_XV" |
602 SYSTEM_LIBS="$SYSTEM_LIBS -lXv" | 602 SYSTEM_LIBS="$SYSTEM_LIBS -lXv" |
603 fi | 603 fi |
604 fi | 604 fi |
605 AC_ARG_ENABLE(video-x11-xinerama, | |
606 [ --enable-video-x11-xinerama enable X11 Xinerama support [default=yes]], | |
607 , enable_video_x11_xinerama=yes) | |
608 if test x$enable_video_x11_xinerama = xyes; then | |
609 AC_MSG_CHECKING(for X11 Xinerama support) | |
610 video_x11_xinerama=no | |
611 AC_TRY_COMPILE([ | |
612 #include <X11/Xlib.h> | |
613 #include <X11/extensions/Xinerama.h> | |
614 ],[ | |
615 XineramaScreenInfo *xinerama; | |
616 ],[ | |
617 video_x11_xinerama=yes | |
618 ]) | |
619 AC_MSG_RESULT($video_x11_xinerama) | |
620 if test x$video_x11_xinerama = xyes; then | |
621 CFLAGS="$CFLAGS -DHAVE_XINERAMA" | |
622 SYSTEM_LIBS="$SYSTEM_LIBS -lXinerama" | |
623 fi | |
624 fi | |
605 fi | 625 fi |
606 fi | 626 fi |
607 } | 627 } |
608 CheckPHOTON() | 628 CheckPHOTON() |
609 { | 629 { |