Skip to content
Permalink
Browse files
configure.ac: Fix stupid autotools errors
Apparently, recent versions of autotools will issue an error if an empty
description is supplied to AC_DEFINE(). Avoid these errors by just
adding a space in the square brackets.

Partially fixes Bugzilla #4908.
  • Loading branch information
pcercuei committed Apr 7, 2020
1 parent 0246987 commit 486f0b6c60a2dec6828cf4e22eb92e02d40fbd8d
Showing with 5 additions and 5 deletions.
  1. +5 −5 configure.ac
@@ -1333,7 +1333,7 @@ AC_HELP_STRING([--enable-arm-simd], [use SIMD assembly blitters on ARM [[default
CFLAGS="$save_CFLAGS"

if test x$have_arm_simd = xyes; then
AC_DEFINE(SDL_ARM_SIMD_BLITTERS)
AC_DEFINE(SDL_ARM_SIMD_BLITTERS, 1, [ ])
dnl SOURCES="$SOURCES $srcdir/src/video/arm/pixman-arm-simd*.c"
SOURCES="$SOURCES $srcdir/src/video/arm/pixman-arm-simd*.S"
WARN_ABOUT_ARM_SIMD_ASM_MIT="yes"
@@ -1372,7 +1372,7 @@ AC_HELP_STRING([--enable-arm-neon], [use NEON assembly blitters on ARM [[default
CFLAGS="$save_CFLAGS"

if test x$have_arm_neon = xyes; then
AC_DEFINE(SDL_ARM_NEON_BLITTERS)
AC_DEFINE(SDL_ARM_NEON_BLITTERS, 1, [ ])
dnl SOURCES="$SOURCES $srcdir/src/video/arm/pixman-arm-neon*.c"
SOURCES="$SOURCES $srcdir/src/video/arm/pixman-arm-neon*.S"
WARN_ABOUT_ARM_NEON_ASM_MIT="yes"
@@ -1928,7 +1928,7 @@ int event_type = XI_TouchBegin;
XITouchClassInfo *t;
],[
have_xinput2_multitouch=yes
AC_DEFINE([SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH], 1, [])
AC_DEFINE([SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH], 1, [ ])
SUMMARY_video_x11="${SUMMARY_video_x11} xinput2_multitouch"
])
AC_MSG_RESULT($have_xinput2_multitouch)
@@ -3095,11 +3095,11 @@ XINPUT_STATE_EX s1;

AC_CHECK_HEADER(mmdeviceapi.h, have_wasapi=yes)
if test x$have_wasapi = xyes; then
AC_DEFINE(HAVE_MMDEVICEAPI_H,1,[])
AC_DEFINE(HAVE_MMDEVICEAPI_H, 1, [ ])
fi
AC_CHECK_HEADER(audioclient.h,,have_wasapi=no)
if test x$have_wasapi = xyes; then
AC_DEFINE(HAVE_AUDIOCLIENT_H,1,[])
AC_DEFINE(HAVE_AUDIOCLIENT_H, 1, [ ])
fi

AC_ARG_ENABLE(wasapi,

0 comments on commit 486f0b6

Please sign in to comment.