Skip to content
Permalink
Browse files

Fixed recently broken configure script for FreeBSD.

Found by buildbot.
  • Loading branch information
philippwiesemann committed Jan 26, 2015
1 parent f64e674 commit 34a5c70cf90b51e5f4ccd00374d25af2ac5da02f
Showing with 11 additions and 11 deletions.
  1. +6 −6 configure
  2. +5 −5 configure.in
# Set up files for the filesystem library
if test x$enable_filesystem = xyes; then
case $ARCH in
linux)
android)

$as_echo "#define SDL_FILESYSTEM_UNIX 1" >>confdefs.h
$as_echo "#define SDL_FILESYSTEM_ANDROID 1" >>confdefs.h

SOURCES="$SOURCES $srcdir/src/filesystem/unix/*.c"
SOURCES="$SOURCES $srcdir/src/filesystem/android/*.c"
have_filesystem=yes
;;
android)
*)

$as_echo "#define SDL_FILESYSTEM_ANDROID 1" >>confdefs.h
$as_echo "#define SDL_FILESYSTEM_UNIX 1" >>confdefs.h

SOURCES="$SOURCES $srcdir/src/filesystem/android/*.c"
SOURCES="$SOURCES $srcdir/src/filesystem/unix/*.c"
have_filesystem=yes
;;
esac
@@ -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

0 comments on commit 34a5c70

Please sign in to comment.