mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-06-20 11:27:55 +00:00
'dnl' whitespace tidy-up in configure.ac
This commit is contained in:
parent
d3952a8a2c
commit
33dadbf137
|
@ -244,7 +244,6 @@ case "$host" in
|
||||||
dnl Skip this on platforms where it is just simply busted.
|
dnl Skip this on platforms where it is just simply busted.
|
||||||
*-*-openbsd*)
|
*-*-openbsd*)
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
save_LDFLAGS="$LDFLAGS"
|
save_LDFLAGS="$LDFLAGS"
|
||||||
LDFLAGS="$LDFLAGS -Wl,--no-undefined"
|
LDFLAGS="$LDFLAGS -Wl,--no-undefined"
|
||||||
|
@ -319,7 +318,6 @@ if test x$enable_libc = xyes; then
|
||||||
dnl Check for defines
|
dnl Check for defines
|
||||||
AC_CHECK_DEFINE(M_PI, math.h)
|
AC_CHECK_DEFINE(M_PI, math.h)
|
||||||
|
|
||||||
dnl Checks for library functions.
|
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*-*-cygwin* | *-*-mingw*)
|
*-*-cygwin* | *-*-mingw*)
|
||||||
;;
|
;;
|
||||||
|
@ -328,6 +326,7 @@ if test x$enable_libc = xyes; then
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
dnl Checks for library functions.
|
||||||
AC_FUNC_MEMCMP
|
AC_FUNC_MEMCMP
|
||||||
if test x$ac_cv_func_memcmp_working = xyes; then
|
if test x$ac_cv_func_memcmp_working = xyes; then
|
||||||
AC_DEFINE(HAVE_MEMCMP, 1, [ ])
|
AC_DEFINE(HAVE_MEMCMP, 1, [ ])
|
||||||
|
@ -1566,7 +1565,7 @@ dnl FIXME: Do BSD and OS X need special cases?
|
||||||
wayland_client_lib=[`find_lib "libwayland-client.so.*" "$WAYLAND_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
wayland_client_lib=[`find_lib "libwayland-client.so.*" "$WAYLAND_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||||
wayland_egl_lib=[`find_lib "libwayland-egl.so.*" "$WAYLAND_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
wayland_egl_lib=[`find_lib "libwayland-egl.so.*" "$WAYLAND_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||||
if test x$wayland_egl_lib = x; then
|
if test x$wayland_egl_lib = x; then
|
||||||
dnl This works in Ubuntu 13.10, maybe others
|
# This works in Ubuntu 13.10, maybe others
|
||||||
wayland_egl_lib=[`find_lib "mesa-egl/libwayland-egl.so.*" "$WAYLAND_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
wayland_egl_lib=[`find_lib "mesa-egl/libwayland-egl.so.*" "$WAYLAND_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||||
fi
|
fi
|
||||||
wayland_cursor_lib=[`find_lib "libwayland-cursor.so.*" "$WAYLAND_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
wayland_cursor_lib=[`find_lib "libwayland-cursor.so.*" "$WAYLAND_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||||
|
@ -1834,7 +1833,6 @@ CheckX11()
|
||||||
fi
|
fi
|
||||||
have_video=yes
|
have_video=yes
|
||||||
|
|
||||||
dnl AC_CHECK_LIB(X11, XGetEventData, AC_DEFINE(SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS, 1, [Have XGenericEvent]))
|
|
||||||
AC_MSG_CHECKING([for XGenericEvent])
|
AC_MSG_CHECKING([for XGenericEvent])
|
||||||
have_XGenericEvent=no
|
have_XGenericEvent=no
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
||||||
|
@ -2674,7 +2672,6 @@ CheckInputEvents()
|
||||||
dnl See if we can use the kernel kd.h header
|
dnl See if we can use the kernel kd.h header
|
||||||
CheckInputKD()
|
CheckInputKD()
|
||||||
{
|
{
|
||||||
|
|
||||||
AC_MSG_CHECKING(for Linux kd.h)
|
AC_MSG_CHECKING(for Linux kd.h)
|
||||||
use_input_kd=no
|
use_input_kd=no
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
||||||
|
@ -4045,14 +4042,12 @@ case "$host" in
|
||||||
SDL_LIBS="-lcygwin $SDL_LIBS"
|
SDL_LIBS="-lcygwin $SDL_LIBS"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
dnl BeOS support removed after SDL 2.0.1. Haiku still works. --ryan.
|
dnl BeOS support removed after SDL 2.0.1. Haiku still works. --ryan.
|
||||||
*-*-beos*)
|
*-*-beos*)
|
||||||
AC_MSG_ERROR([
|
AC_MSG_ERROR([
|
||||||
*** BeOS support has been removed as of SDL 2.0.2.
|
*** BeOS support has been removed as of SDL 2.0.2.
|
||||||
])
|
])
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*-*-haiku*)
|
*-*-haiku*)
|
||||||
ARCH=haiku
|
ARCH=haiku
|
||||||
ac_default_prefix=/boot/system
|
ac_default_prefix=/boot/system
|
||||||
|
|
Loading…
Reference in a new issue