comparison configure.in @ 3274:08574b033f37

Removed outdated Nano-X support
author Sam Lantinga <slouken@libsdl.org>
date Sat, 19 Sep 2009 07:26:51 +0000
parents fb9b6b2924ba
children a4a34a511ba0
comparison
equal deleted inserted replaced
3273:e0dfba770eb7 3274:08574b033f37
941 EXTRA_CFLAGS="$EXTRA_CFLAGS $visibility_CFLAGS" 941 EXTRA_CFLAGS="$EXTRA_CFLAGS $visibility_CFLAGS"
942 fi 942 fi
943 } 943 }
944 944
945 945
946 dnl Find the nanox include and library directories
947 CheckNANOX()
948 {
949 AC_ARG_ENABLE(video-nanox,
950 AC_HELP_STRING([--enable-video-nanox], [use nanox video driver [[default=no]]]),
951 , enable_video_nanox=no)
952
953 if test x$enable_video = xyes -a x$enable_video_nanox = xyes; then
954 AC_ARG_ENABLE(nanox-debug,
955 AC_HELP_STRING([--enable-nanox-debug], [print debug messages [[default=no]]]),
956 , enable_nanox_debug=no)
957 if test x$enable_nanox_debug = xyes; then
958 EXTRA_CFLAGS="$EXTRA_CFLAGS -DENABLE_NANOX_DEBUG"
959 fi
960
961 AC_ARG_ENABLE(nanox-share-memory,
962 AC_HELP_STRING([--enable-nanox-share-memory], [use share memory [[default=no]]]),
963 , enable_nanox_share_memory=no)
964 if test x$enable_nanox_share_memory = xyes; then
965 EXTRA_CFLAGS="$EXTRA_CFLAGS -DNANOX_SHARE_MEMORY"
966 fi
967
968 AC_ARG_ENABLE(nanox_direct_fb,
969 AC_HELP_STRING([--enable-nanox-direct-fb], [use direct framebuffer access [[default=no]]]),
970 , enable_nanox_direct_fb=no)
971 if test x$enable_nanox_direct_fb = xyes; then
972 EXTRA_CFLAGS="$EXTRA_CFLAGS -DENABLE_NANOX_DIRECT_FB"
973 fi
974
975 AC_DEFINE(SDL_VIDEO_DRIVER_NANOX)
976 SOURCES="$SOURCES $srcdir/src/video/nanox/*.c"
977 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lnano-X"
978 have_video=yes
979 fi
980 }
981
982 dnl Find the X11 include and library directories 946 dnl Find the X11 include and library directories
983 CheckX11() 947 CheckX11()
984 { 948 {
985 AC_ARG_ENABLE(video-x11, 949 AC_ARG_ENABLE(video-x11,
986 AC_HELP_STRING([--enable-video-x11], [use X11 video driver [[default=yes]]]), 950 AC_HELP_STRING([--enable-video-x11], [use X11 video driver [[default=yes]]]),
2420 CheckPulseAudio 2384 CheckPulseAudio
2421 CheckARTSC 2385 CheckARTSC
2422 CheckESD 2386 CheckESD
2423 CheckNAS 2387 CheckNAS
2424 CheckX11 2388 CheckX11
2425 CheckNANOX
2426 CheckFBCON 2389 CheckFBCON
2427 CheckDirectFB 2390 CheckDirectFB
2428 CheckFusionSound 2391 CheckFusionSound
2429 CheckPS2GS 2392 CheckPS2GS
2430 CheckPS3 2393 CheckPS3