Fixed recently broken configure script for FreeBSD.
Found by buildbot.
parent
f64e6742bc
commit
34a5c70cf9
|
@ -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
|
||||
|
|
10
configure.in
10
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
|
||||
|
|
Loading…
Reference in New Issue