configure.ac
changeset 13526 2b708d63875d
parent 13389 7bcf24416ca6
child 13543 ef2d5382a887
     1.1 --- a/configure.ac	Thu Feb 13 22:58:04 2020 +0000
     1.2 +++ b/configure.ac	Thu Feb 13 20:50:47 2020 +0000
     1.3 @@ -4063,6 +4063,25 @@
     1.4              have_timers=yes
     1.5          fi
     1.6          ;;
     1.7 +    *-*-riscos*)
     1.8 +        ARCH=riscos
     1.9 +        CheckVisibilityHidden
    1.10 +        CheckDeclarationAfterStatement
    1.11 +        CheckDummyVideo
    1.12 +        CheckDiskAudio
    1.13 +        CheckDummyAudio
    1.14 +        CheckDLOPEN
    1.15 +        CheckOSS
    1.16 +        CheckPTHREAD
    1.17 +        CheckClockGettime
    1.18 +
    1.19 +        # Set up files for the timer library
    1.20 +        if test x$enable_timers = xyes; then
    1.21 +            AC_DEFINE(SDL_TIMER_UNIX, 1, [ ])
    1.22 +            SOURCES="$SOURCES $srcdir/src/timer/unix/*.c"
    1.23 +            have_timers=yes
    1.24 +        fi
    1.25 +        ;;
    1.26      *)
    1.27          AC_MSG_ERROR([
    1.28  *** Unsupported host:  Please add to configure.ac