diff --git a/configure b/configure index 324cfae08..81e6b24b2 100755 --- a/configure +++ b/configure @@ -23092,13 +23092,6 @@ $as_echo "#define SDL_POWER_ANDROID 1" >>confdefs.h # Set up files for the filesystem library if test x$enable_filesystem = xyes; then case $ARCH in - linux) - -$as_echo "#define SDL_FILESYSTEM_UNIX 1" >>confdefs.h - - SOURCES="$SOURCES $srcdir/src/filesystem/unix/*.c" - have_filesystem=yes - ;; android) $as_echo "#define SDL_FILESYSTEM_ANDROID 1" >>confdefs.h @@ -23106,6 +23099,13 @@ $as_echo "#define SDL_FILESYSTEM_ANDROID 1" >>confdefs.h SOURCES="$SOURCES $srcdir/src/filesystem/android/*.c" have_filesystem=yes ;; + *) + +$as_echo "#define SDL_FILESYSTEM_UNIX 1" >>confdefs.h + + SOURCES="$SOURCES $srcdir/src/filesystem/unix/*.c" + have_filesystem=yes + ;; esac fi # Set up files for the timer library diff --git a/configure.in b/configure.in index 29d38bee9..a2ad20a67 100644 --- a/configure.in +++ b/configure.in @@ -2972,16 +2972,16 @@ case "$host" in # Set up files for the filesystem library if test x$enable_filesystem = xyes; then case $ARCH in - linux) - AC_DEFINE(SDL_FILESYSTEM_UNIX, 1, [ ]) - SOURCES="$SOURCES $srcdir/src/filesystem/unix/*.c" - have_filesystem=yes - ;; android) AC_DEFINE(SDL_FILESYSTEM_ANDROID, 1, [ ]) SOURCES="$SOURCES $srcdir/src/filesystem/android/*.c" have_filesystem=yes ;; + *) + AC_DEFINE(SDL_FILESYSTEM_UNIX, 1, [ ]) + SOURCES="$SOURCES $srcdir/src/filesystem/unix/*.c" + have_filesystem=yes + ;; esac fi # Set up files for the timer library