comparison configure.in @ 687:91400ecf307d

Date: Mon, 11 Aug 2003 22:49:06 +0100 From: Peter Naulls Subject: RISC OS patches This patch includes a patch to configure.in for RISC OS cross compiling which was somehow missed from last time. It also corrects BPP setting and checking behaviour.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 11 Aug 2003 22:28:13 +0000
parents 9dcfc694a1e4
children b87d8d4c205d
comparison
equal deleted inserted replaced
686:505086775d3c 687:91400ecf307d
2487 fi 2487 fi
2488 fi 2488 fi
2489 # MiNT does not define "unix" 2489 # MiNT does not define "unix"
2490 CFLAGS="$CFLAGS -Dunix" 2490 CFLAGS="$CFLAGS -Dunix"
2491 ;; 2491 ;;
2492 *-*-riscos)
2493 ARCH=riscos
2494 JOYSTICK_SUBDIRS="$JOYSTICK_SUBDIRS riscos"
2495 JOYSTICK_DRIVERS="$JOYSTICK_DRIVERS riscos/libjoystick_riscos.la"
2496 COPY_ARCH_SRC(src/timer, riscos, SDL_systimer.c)
2497 COPY_ARCH_SRC(src/main, linux, SDL_main.c)
2498 VIDEO_SUBDIRS="$VIDEO_SUBDIRS riscos"
2499 VIDEO_DRIVERS="$VIDEO_DRIVERS riscos/libvideo_riscos.la"
2500 AUDIO_SUBDIRS="$AUDIO_SUBDIRS riscos"
2501 AUDIO_DRIVERS="$AUDIO_DRIVERS riscos/libaudio_riscos.la"
2502
2503 if test x$enable_cdrom = xyes; then
2504 CDROM_SUBDIRS="$CDROM_SUBDIRS dummy"
2505 CDROM_DRIVERS="$CDROM_DRIVERS dummy/libcdrom_dummy.la"
2506 fi
2507
2508 CFLAGS="$CFLAGS -DDISABLE_THREADS -DENABLE_RISCOS -DDRENDERER_SUPPORT"
2509
2510 SYSTEM_LIBS="$SYSTEM_LIBS -ljpeg -ltiff -lpng -lz"
2511 ;;
2492 *) 2512 *)
2493 AC_MSG_ERROR(Unsupported target: Please add to configure.in) 2513 AC_MSG_ERROR(Unsupported target: Please add to configure.in)
2494 ;; 2514 ;;
2495 esac 2515 esac
2496 AC_SUBST(ARCH) 2516 AC_SUBST(ARCH)