configure.in
changeset 9315 541f12d1edcd
parent 9278 8900afb78a19
child 9318 3ad27ca380f3
equal deleted inserted replaced
9314:8d826bc39a45 9315:541f12d1edcd
  2969                ;;
  2969                ;;
  2970              esac
  2970              esac
  2971         fi
  2971         fi
  2972         # Set up files for the filesystem library
  2972         # Set up files for the filesystem library
  2973         if test x$enable_filesystem = xyes; then
  2973         if test x$enable_filesystem = xyes; then
  2974             AC_DEFINE(SDL_FILESYSTEM_UNIX, 1, [ ])
  2974              case $ARCH in
  2975             SOURCES="$SOURCES $srcdir/src/filesystem/unix/*.c"
  2975                linux)
  2976             have_filesystem=yes
  2976                    AC_DEFINE(SDL_FILESYSTEM_UNIX, 1, [ ])
       
  2977                    SOURCES="$SOURCES $srcdir/src/filesystem/unix/*.c"
       
  2978                    have_filesystem=yes
       
  2979                ;;
       
  2980                android)
       
  2981                    AC_DEFINE(SDL_FILESYSTEM_ANDROID, 1, [ ])
       
  2982                    SOURCES="$SOURCES $srcdir/src/filesystem/android/*.c"
       
  2983                    have_filesystem=yes
       
  2984                ;;
       
  2985              esac
  2977         fi
  2986         fi
  2978         # Set up files for the timer library
  2987         # Set up files for the timer library
  2979         if test x$enable_timers = xyes; then
  2988         if test x$enable_timers = xyes; then
  2980             AC_DEFINE(SDL_TIMER_UNIX, 1, [ ])
  2989             AC_DEFINE(SDL_TIMER_UNIX, 1, [ ])
  2981             SOURCES="$SOURCES $srcdir/src/timer/unix/*.c"
  2990             SOURCES="$SOURCES $srcdir/src/timer/unix/*.c"