configure.in
changeset 557 0ce5a68278fd
parent 546 0009aadb3d01
child 567 969fbd4dcd4e
equal deleted inserted replaced
556:08588ee79a67 557:0ce5a68278fd
    36 AC_SUBST(LT_CURRENT)
    36 AC_SUBST(LT_CURRENT)
    37 AC_SUBST(LT_REVISION)
    37 AC_SUBST(LT_REVISION)
    38 AC_SUBST(LT_AGE)
    38 AC_SUBST(LT_AGE)
    39 
    39 
    40 dnl Detect the canonical host and target build environment
    40 dnl Detect the canonical host and target build environment
    41 AC_CANONICAL_HOST
    41 AC_CANONICAL_SYSTEM
    42 AC_CANONICAL_TARGET
       
    43 
    42 
    44 dnl Setup for automake
    43 dnl Setup for automake
    45 AM_INIT_AUTOMAKE(SDL, $SDL_VERSION)
    44 AM_INIT_AUTOMAKE(SDL, $SDL_VERSION)
    46 
    45 
    47 dnl Check for tools
    46 dnl Check for tools
  2435         if test x$enable_threads = xyes; then
  2434         if test x$enable_threads = xyes; then
  2436             CopyUnixThreadSource
  2435             CopyUnixThreadSource
  2437         fi
  2436         fi
  2438         # Set up files for the timer library
  2437         # Set up files for the timer library
  2439         if test x$enable_timers = xyes; then
  2438         if test x$enable_timers = xyes; then
  2440             COPY_ARCH_SRC(src/timer, mint, SDL_systimer.c)
  2439             if test x$enable_threads = xyes -a x$enable_pth = xyes; then
  2441             COPY_ARCH_SRC(src/timer, mint, SDL_vbltimer.S)
  2440                 COPY_ARCH_SRC(src/timer, linux, SDL_systimer.c)
  2442             COPY_ARCH_SRC(src/timer, mint, SDL_vbltimer_s.h)
  2441             else
       
  2442                 COPY_ARCH_SRC(src/timer, mint, SDL_systimer.c)
       
  2443                 COPY_ARCH_SRC(src/timer, mint, SDL_vbltimer.S)
       
  2444                 COPY_ARCH_SRC(src/timer, mint, SDL_vbltimer_s.h)
       
  2445             fi
  2443         fi
  2446         fi
  2444         # MiNT does not define "unix"
  2447         # MiNT does not define "unix"
  2445         CFLAGS="$CFLAGS -Dunix"
  2448         CFLAGS="$CFLAGS -Dunix"
  2446         ;;
  2449         ;;
  2447     *)
  2450     *)