17 |
|
dnl Options. |
18 |
|
AC_ARG_ENABLE(jit, [ --enable-jit enable JIT compiler [default=yes]], [WANT_JIT=$enableval], [WANT_JIT=yes]) |
19 |
|
AC_ARG_ENABLE(ppc-emulator, [ --enable-ppc-emulator use the selected PowerPC emulator [default=auto]], [WANT_EMULATED_PPC=$enableval], [WANT_EMULATED_PPC=auto]) |
20 |
+ |
AC_ARG_ENABLE(fbdev-dga, [ --enable-fbdev-dga use direct frame buffer access via /dev/fb0 [default=yes]], [WANT_FBDEV_DGA=$enableval], [WANT_FBDEV_DGA=yes]) |
21 |
|
AC_ARG_ENABLE(xf86-dga, [ --enable-xf86-dga use the XFree86 DGA extension [default=yes]], [WANT_XF86_DGA=$enableval], [WANT_XF86_DGA=yes]) |
22 |
|
AC_ARG_ENABLE(xf86-vidmode, [ --enable-xf86-vidmode use the XFree86 VidMode extension [default=no]], [WANT_XF86_VIDMODE=$enableval], [WANT_XF86_VIDMODE=no]) |
23 |
|
AC_ARG_ENABLE(vosf, [ --enable-vosf enable video on SEGV signals [default=yes]], [WANT_VOSF=$enableval], [WANT_VOSF=yes]) |
123 |
|
WANT_SDL=no |
124 |
|
if [[ "x$WANT_SDL_VIDEO" = "xyes" ]]; then |
125 |
|
WANT_SDL=yes |
126 |
+ |
WANT_FBDEV_DGA=no |
127 |
|
WANT_XF86_DGA=no |
128 |
|
WANT_XF86_VIDMODE=no |
129 |
|
WANT_FBDEV_DGA=no |
207 |
|
;; |
208 |
|
esac |
209 |
|
|
210 |
+ |
dnl We use FBDev DGA if possible. |
211 |
+ |
if [[ "x$WANT_FBDEV_DGA" = "xyes" ]]; then |
212 |
+ |
AC_CHECK_HEADER(linux/fb.h, [ |
213 |
+ |
AC_DEFINE(ENABLE_FBDEV_DGA, 1, [Define if using Linux fbdev extension.]) |
214 |
+ |
], [ |
215 |
+ |
AC_MSG_WARN([Could not find Linux FBDev extension, ignoring --enable-fbdev-dga.]) |
216 |
+ |
WANT_FBDEV_DGA=no |
217 |
+ |
]) |
218 |
+ |
fi |
219 |
+ |
|
220 |
|
dnl We use XFree86 DGA if possible. |
221 |
|
if [[ "x$WANT_XF86_DGA" = "xyes" ]]; then |
222 |
|
AC_CHECK_LIB(Xxf86dga, XF86DGAQueryExtension, [ |
1179 |
|
echo SheepShaver configuration summary: |
1180 |
|
echo |
1181 |
|
echo SDL support ...................... : $SDL_SUPPORT |
1182 |
+ |
echo FBDev DGA support ................ : $WANT_FBDEV_DGA |
1183 |
|
echo XFree86 DGA support .............. : $WANT_XF86_DGA |
1184 |
|
echo XFree86 VidMode support .......... : $WANT_XF86_VIDMODE |
1185 |
|
echo Using PowerPC emulator ........... : $EMULATED_PPC |