Skip to content

Commit

Permalink
Fixed recently broken configure script for FreeBSD.
Browse files Browse the repository at this point in the history
Found by buildbot.
  • Loading branch information
philippwiesemann committed Jan 26, 2015
1 parent f64e674 commit 34a5c70
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions configure
Expand Up @@ -23092,18 +23092,18 @@ $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)
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
Expand Down
10 changes: 5 additions & 5 deletions configure.in
Expand Up @@ -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
Expand Down

0 comments on commit 34a5c70

Please sign in to comment.