Fixed recently broken configure script for FreeBSD.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Mon, 26 Jan 2015 22:27:27 +0100
changeset 9318 3ad27ca380f3
parent 9317 a8350b28a05c
child 9319 ad4f430cc9f5
Fixed recently broken configure script for FreeBSD. Found by buildbot.
configure
configure.in
--- a/configure	Mon Jan 26 22:12:38 2015 +0100
+++ b/configure	Mon Jan 26 22:27:27 2015 +0100
@@ -23092,13 +23092,6 @@
         # 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 @@
                    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
--- a/configure.in	Mon Jan 26 22:12:38 2015 +0100
+++ b/configure.in	Mon Jan 26 22:27:27 2015 +0100
@@ -2972,16 +2972,16 @@
         # 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