Fixed recently broken configure script for FreeBSD.

Found by buildbot.
Philipp Wiesemann 2015-01-26 22:27:27 +01:00
parent f64e6742bc
commit 34a5c70cf9
2 changed files with 12 additions and 12 deletions

14
configure vendored
View File

@ -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

View File

@ -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