comparison configure.in @ 955:d74fbf56f2f6

Date: Fri, 25 Jun 2004 13:29:15 +0100 From: "alan buckley" Subject: Modification for RISC OS version of SDL Ive attached a zip file with the changes to this email, it contains the following: The file sdldiff.txt is the output from cvs diff u. . The directory thread/riscos contains all the new files to support threading. Readme.riscos is a new readme file to add.
author Sam Lantinga <slouken@libsdl.org>
date Fri, 17 Sep 2004 13:20:10 +0000
parents ac488ad4ef1d
children 795ac5fbe260
comparison
equal deleted inserted replaced
954:3acd16ea0180 955:d74fbf56f2f6
2603 # MiNT does not define "unix" 2603 # MiNT does not define "unix"
2604 CFLAGS="$CFLAGS -Dunix" 2604 CFLAGS="$CFLAGS -Dunix"
2605 ;; 2605 ;;
2606 *-*-riscos) 2606 *-*-riscos)
2607 ARCH=riscos 2607 ARCH=riscos
2608 JOYSTICK_SUBDIRS="$JOYSTICK_SUBDIRS riscos" 2608 # Set up files for the video library
2609 JOYSTICK_DRIVERS="$JOYSTICK_DRIVERS riscos/libjoystick_riscos.la" 2609 if test x$enable_video = xyes; then
2610 COPY_ARCH_SRC(src/timer, riscos, SDL_systimer.c) 2610 VIDEO_SUBDIRS="$VIDEO_SUBDIRS riscos"
2611 VIDEO_SUBDIRS="$VIDEO_SUBDIRS riscos" 2611 VIDEO_DRIVERS="$VIDEO_DRIVERS riscos/libvideo_riscos.la"
2612 VIDEO_DRIVERS="$VIDEO_DRIVERS riscos/libvideo_riscos.la" 2612 fi
2613 AUDIO_SUBDIRS="$AUDIO_SUBDIRS riscos" 2613 # Set up files for the audio library
2614 AUDIO_DRIVERS="$AUDIO_DRIVERS riscos/libaudio_riscos.la" 2614 if test x$enable_audio = xyes; then
2615 2615 AUDIO_SUBDIRS="$AUDIO_SUBDIRS riscos"
2616 AUDIO_DRIVERS="$AUDIO_DRIVERS riscos/libaudio_riscos.la"
2617 fi
2618 # Set up files for the joystick library
2619 if test x$enable_joystick = xyes; then
2620 JOYSTICK_SUBDIRS="$JOYSTICK_SUBDIRS riscos"
2621 JOYSTICK_DRIVERS="$JOYSTICK_DRIVERS riscos/libjoystick_riscos.la"
2622 fi
2623 # Set up files for the cdrom library
2616 if test x$enable_cdrom = xyes; then 2624 if test x$enable_cdrom = xyes; then
2617 CDROM_SUBDIRS="$CDROM_SUBDIRS dummy" 2625 CDROM_SUBDIRS="$CDROM_SUBDIRS dummy"
2618 CDROM_DRIVERS="$CDROM_DRIVERS dummy/libcdrom_dummy.la" 2626 CDROM_DRIVERS="$CDROM_DRIVERS dummy/libcdrom_dummy.la"
2619 fi 2627 fi
2620 2628 # Set up files for the thread library
2621 CFLAGS="$CFLAGS -DDISABLE_THREADS -DENABLE_RISCOS -DDRENDERER_SUPPORT" 2629 if test x$enable_threads = xyes; then
2630 COPY_ARCH_SRC(src/thread, riscos, SDL_systhread.c)
2631 COPY_ARCH_SRC(src/thread, riscos, SDL_systhread_c.h)
2632 COPY_ARCH_SRC(src/thread, riscos, SDL_sysmutex.c)
2633 COPY_ARCH_SRC(src/thread, riscos, SDL_sysmutex_c.h)
2634 COPY_ARCH_SRC(src/thread, riscos, SDL_syssem.c)
2635 COPY_ARCH_SRC(src/thread, generic, SDL_syssem_c.h)
2636 COPY_ARCH_SRC(src/thread, riscos, SDL_syscond.c)
2637 COPY_ARCH_SRC(src/thread, generic, SDL_syscond_c.h)
2638 else
2639 CFLAGS="$CFLAGS -DDISABLE_THREADS"
2640 fi
2641 # Set up files for the timer library
2642 if test x$enable_timers = xyes; then
2643 COPY_ARCH_SRC(src/timer, riscos, SDL_systimer.c)
2644 fi
2645
2646 CFLAGS="$CFLAGS -DENABLE_RISCOS -DDRENDERER_SUPPORT"
2622 2647
2623 SYSTEM_LIBS="$SYSTEM_LIBS -ljpeg -ltiff -lpng -lz" 2648 SYSTEM_LIBS="$SYSTEM_LIBS -ljpeg -ltiff -lpng -lz"
2624 ;; 2649 ;;
2625 *) 2650 *)
2626 AC_MSG_ERROR(Unsupported target: Please add to configure.in) 2651 AC_MSG_ERROR(Unsupported target: Please add to configure.in)