comparison configure.in @ 471:26dafefeebb2

Date: Sat, 24 Aug 2002 22:20:01 -0600 From: "Greg Haerr" Subject: Announce: sdl-nanox-patch Sam, I've created an update patch for enhanced Nano-X support with SDL. I've created the patch against SDL-1.2.4. I'd appreciate it if you would apply it to the next SDL version. Enhancements include: 1. Small bugfixes to compile without errors 2. Support for direct client-side framebuffer access with configure option 3. Add dynamic pixel type support for hardware framebuffer; eliminating the need for compile-time configuration option. I've updated the README.NanoX file with the details. This version has been tested with Microwindows v0.89pre9 CVS and SMPEG 0.4.4. I've added multi-threading support to Microwindows to support the multi-threaded SMPEG, and all works fine. To turn on thread safety in Microwindows, use THREADSAFE=Y in the Microwindows config file. Thanks! Regards, Greg Founder, The Microwindows Project http://microwindows.org
author Sam Lantinga <slouken@libsdl.org>
date Sun, 25 Aug 2002 06:21:49 +0000
parents 3691cc3e14b3
children 22581630aab7
comparison
equal deleted inserted replaced
470:877b992f2d0c 471:26dafefeebb2
509 [ --enable-nanox-debug print debug messages [default=no]], 509 [ --enable-nanox-debug print debug messages [default=no]],
510 , enable_nanox_debug=no) 510 , enable_nanox_debug=no)
511 AC_ARG_ENABLE(nanox-share-memory, 511 AC_ARG_ENABLE(nanox-share-memory,
512 [ --enable-nanox-share-memory use share memory [default=no]], 512 [ --enable-nanox-share-memory use share memory [default=no]],
513 , enable_nanox_share_memory=no) 513 , enable_nanox_share_memory=no)
514 514 AC_ARG_ENABLE(nanox_direct_fb,
515 AC_ARG_WITH(nanox_pixel_type, 515 [ --enable-nanox-direct-fb use direct framebuffer access [default=no]],
516 [ --with-nanox-pixel-type=[rgb/0888/888/565/555/332/pal]]) 516 , enable_nanox_direct_fb=no)
517 517
518 if test x$enable_video = xyes -a x$enable_video_nanox = xyes; then 518 if test x$enable_video = xyes -a x$enable_video_nanox = xyes; then
519 if test x$enable_nanox_debug = xyes; then 519 if test x$enable_nanox_debug = xyes; then
520 CFLAGS="$CFLAGS -DENABLE_NANOX_DEBUG" 520 CFLAGS="$CFLAGS -DENABLE_NANOX_DEBUG"
521 fi 521 fi
522 522
523 if test x$enable_nanox_share_memory = xyes; then 523 if test x$enable_nanox_share_memory = xyes; then
524 CFLAGS="$CFLAGS -DNANOX_SHARE_MEMORY" 524 CFLAGS="$CFLAGS -DNANOX_SHARE_MEMORY"
525 fi 525 fi
526 526
527 case "$with_nanox_pixel_type" in 527 if test x$enable_nanox_direct_fb = xyes; then
528 rgb) CFLAGS="$CFLAGS -DNANOX_PIXEL_RGB" ;; 528 CFLAGS="$CFLAGS -DENABLE_NANOX_DIRECT_FB"
529 0888) CFLAGS="$CFLAGS -DNANOX_PIXEL_0888" ;; 529 fi
530 888) CFLAGS="$CFLAGS -DNANOX_PIXEL_888" ;;
531 565) CFLAGS="$CFLAGS -DNANOX_PIXEL_565" ;;
532 555) CFLAGS="$CFLAGS -DNANOX_PIXEL_555" ;;
533 332) CFLAGS="$CFLAGS -DNANOX_PIXEL_332" ;;
534 pal) CFLAGS="$CFLAGS -DNANOX_PIXEL_PAL" ;;
535 *) AC_MSG_ERROR([Invalid nanox_pixel_type]);;
536 esac
537 530
538 CFLAGS="$CFLAGS $X_CFLAGS -DENABLE_NANOX" 531 CFLAGS="$CFLAGS $X_CFLAGS -DENABLE_NANOX"
539 SYSTEM_LIBS="$SYSTEM_LIBS -lnano-X" 532 SYSTEM_LIBS="$SYSTEM_LIBS -lnano-X"
540 VIDEO_SUBDIRS="$VIDEO_SUBDIRS nanox" 533 VIDEO_SUBDIRS="$VIDEO_SUBDIRS nanox"
541 VIDEO_DRIVERS="$VIDEO_DRIVERS nanox/libvideo_nanox.la" 534 VIDEO_DRIVERS="$VIDEO_DRIVERS nanox/libvideo_nanox.la"