configure.in
changeset 557 0ce5a68278fd
parent 546 0009aadb3d01
child 567 969fbd4dcd4e
     1.1 --- a/configure.in	Sat Dec 07 06:51:03 2002 +0000
     1.2 +++ b/configure.in	Sat Dec 07 06:54:47 2002 +0000
     1.3 @@ -38,8 +38,7 @@
     1.4  AC_SUBST(LT_AGE)
     1.5  
     1.6  dnl Detect the canonical host and target build environment
     1.7 -AC_CANONICAL_HOST
     1.8 -AC_CANONICAL_TARGET
     1.9 +AC_CANONICAL_SYSTEM
    1.10  
    1.11  dnl Setup for automake
    1.12  AM_INIT_AUTOMAKE(SDL, $SDL_VERSION)
    1.13 @@ -2437,9 +2436,13 @@
    1.14          fi
    1.15          # Set up files for the timer library
    1.16          if test x$enable_timers = xyes; then
    1.17 -            COPY_ARCH_SRC(src/timer, mint, SDL_systimer.c)
    1.18 -            COPY_ARCH_SRC(src/timer, mint, SDL_vbltimer.S)
    1.19 -            COPY_ARCH_SRC(src/timer, mint, SDL_vbltimer_s.h)
    1.20 +            if test x$enable_threads = xyes -a x$enable_pth = xyes; then
    1.21 +                COPY_ARCH_SRC(src/timer, linux, SDL_systimer.c)
    1.22 +            else
    1.23 +                COPY_ARCH_SRC(src/timer, mint, SDL_systimer.c)
    1.24 +                COPY_ARCH_SRC(src/timer, mint, SDL_vbltimer.S)
    1.25 +                COPY_ARCH_SRC(src/timer, mint, SDL_vbltimer_s.h)
    1.26 +            fi
    1.27          fi
    1.28          # MiNT does not define "unix"
    1.29          CFLAGS="$CFLAGS -Dunix"