Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Removed outdated Nano-X support

  • Loading branch information
slouken committed Sep 19, 2009
1 parent 7aa0d71 commit b68af2e771a0705eec45ff2a2f3094fd3ec448f5

This file was deleted.

@@ -943,42 +943,6 @@ CheckVisibilityHidden()
}


dnl Find the nanox include and library directories
CheckNANOX()
{
AC_ARG_ENABLE(video-nanox,
AC_HELP_STRING([--enable-video-nanox], [use nanox video driver [[default=no]]]),
, enable_video_nanox=no)

if test x$enable_video = xyes -a x$enable_video_nanox = xyes; then
AC_ARG_ENABLE(nanox-debug,
AC_HELP_STRING([--enable-nanox-debug], [print debug messages [[default=no]]]),
, enable_nanox_debug=no)
if test x$enable_nanox_debug = xyes; then
EXTRA_CFLAGS="$EXTRA_CFLAGS -DENABLE_NANOX_DEBUG"
fi

AC_ARG_ENABLE(nanox-share-memory,
AC_HELP_STRING([--enable-nanox-share-memory], [use share memory [[default=no]]]),
, enable_nanox_share_memory=no)
if test x$enable_nanox_share_memory = xyes; then
EXTRA_CFLAGS="$EXTRA_CFLAGS -DNANOX_SHARE_MEMORY"
fi

AC_ARG_ENABLE(nanox_direct_fb,
AC_HELP_STRING([--enable-nanox-direct-fb], [use direct framebuffer access [[default=no]]]),
, enable_nanox_direct_fb=no)
if test x$enable_nanox_direct_fb = xyes; then
EXTRA_CFLAGS="$EXTRA_CFLAGS -DENABLE_NANOX_DIRECT_FB"
fi

AC_DEFINE(SDL_VIDEO_DRIVER_NANOX)
SOURCES="$SOURCES $srcdir/src/video/nanox/*.c"
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lnano-X"
have_video=yes
fi
}

dnl Find the X11 include and library directories
CheckX11()
{
@@ -2422,7 +2386,6 @@ case "$host" in
CheckESD
CheckNAS
CheckX11
CheckNANOX
CheckFBCON
CheckDirectFB
CheckFusionSound
@@ -256,7 +256,6 @@
#undef SDL_VIDEO_DRIVER_DUMMY
#undef SDL_VIDEO_DRIVER_FBCON
#undef SDL_VIDEO_DRIVER_GEM
#undef SDL_VIDEO_DRIVER_NANOX
#undef SDL_VIDEO_DRIVER_NDS
#undef SDL_VIDEO_DRIVER_PHOTON
#undef SDL_VIDEO_DRIVER_QNXGF
@@ -112,23 +112,6 @@ struct SDL_SysWMinfo
} info;
};

#elif defined(SDL_VIDEO_DRIVER_NANOX)
#include <microwin/nano-X.h>

/* The generic custom event structure */
struct SDL_SysWMmsg
{
SDL_version version;
int data;
};

/* The windows custom window manager information structure */
struct SDL_SysWMinfo
{
SDL_version version;
GR_WINDOW_ID window; /* The display window */
};

#elif defined(SDL_VIDEO_DRIVER_WIN32)
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
@@ -341,9 +341,6 @@ extern VideoBootStrap COCOA_bootstrap;
#if SDL_VIDEO_DRIVER_X11
extern VideoBootStrap X11_bootstrap;
#endif
#if SDL_VIDEO_DRIVER_NANOX
extern VideoBootStrap NX_bootstrap;
#endif
#if SDL_VIDEO_DRIVER_WSCONS
extern VideoBootStrap WSCONS_bootstrap;
#endif
@@ -55,9 +55,6 @@ static VideoBootStrap *bootstrap[] = {
#if SDL_VIDEO_DRIVER_X11
&X11_bootstrap,
#endif
#if SDL_VIDEO_DRIVER_NANOX
&NX_bootstrap,
#endif
#if SDL_VIDEO_DRIVER_WSCONS
&WSCONS_bootstrap,
#endif

0 comments on commit b68af2e

Please sign in to comment.