'dnl' whitespace tidy-up in configure.ac

This commit is contained in:
Ozkan Sezer 2022-01-17 20:56:20 +03:00
parent d3952a8a2c
commit 33dadbf137

View file

@ -244,7 +244,6 @@ case "$host" in
dnl Skip this on platforms where it is just simply busted.
*-*-openbsd*)
;;
*)
save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -Wl,--no-undefined"
@ -319,7 +318,6 @@ if test x$enable_libc = xyes; then
dnl Check for defines
AC_CHECK_DEFINE(M_PI, math.h)
dnl Checks for library functions.
case "$host" in
*-*-cygwin* | *-*-mingw*)
;;
@ -328,6 +326,7 @@ if test x$enable_libc = xyes; then
;;
esac
dnl Checks for library functions.
AC_FUNC_MEMCMP
if test x$ac_cv_func_memcmp_working = xyes; then
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_egl_lib=[`find_lib "libwayland-egl.so.*" "$WAYLAND_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
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'`]
fi
wayland_cursor_lib=[`find_lib "libwayland-cursor.so.*" "$WAYLAND_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
@ -1834,7 +1833,6 @@ CheckX11()
fi
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])
have_XGenericEvent=no
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
@ -2674,7 +2672,6 @@ CheckInputEvents()
dnl See if we can use the kernel kd.h header
CheckInputKD()
{
AC_MSG_CHECKING(for Linux kd.h)
use_input_kd=no
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
@ -4045,14 +4042,12 @@ case "$host" in
SDL_LIBS="-lcygwin $SDL_LIBS"
fi
;;
dnl BeOS support removed after SDL 2.0.1. Haiku still works. --ryan.
*-*-beos*)
AC_MSG_ERROR([
*** BeOS support has been removed as of SDL 2.0.2.
])
;;
*-*-haiku*)
ARCH=haiku
ac_default_prefix=/boot/system