configure.ac: Fix stupid autotools errors
authorPaul Cercueil
Tue, 07 Apr 2020 13:49:19 -0400
changeset 137021463104b6302
parent 13701 3cc182fa6110
child 13703 19c4516de68d
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.
configure.ac
     1.1 --- a/configure.ac	Tue Apr 07 13:30:46 2020 -0400
     1.2 +++ b/configure.ac	Tue Apr 07 13:49:19 2020 -0400
     1.3 @@ -1333,7 +1333,7 @@
     1.4          CFLAGS="$save_CFLAGS"
     1.5          
     1.6          if test x$have_arm_simd = xyes; then
     1.7 -            AC_DEFINE(SDL_ARM_SIMD_BLITTERS)
     1.8 +            AC_DEFINE(SDL_ARM_SIMD_BLITTERS, 1, [ ])
     1.9  dnl            SOURCES="$SOURCES $srcdir/src/video/arm/pixman-arm-simd*.c"
    1.10              SOURCES="$SOURCES $srcdir/src/video/arm/pixman-arm-simd*.S"
    1.11              WARN_ABOUT_ARM_SIMD_ASM_MIT="yes"
    1.12 @@ -1372,7 +1372,7 @@
    1.13          CFLAGS="$save_CFLAGS"
    1.14          
    1.15          if test x$have_arm_neon = xyes; then
    1.16 -            AC_DEFINE(SDL_ARM_NEON_BLITTERS)
    1.17 +            AC_DEFINE(SDL_ARM_NEON_BLITTERS, 1, [ ])
    1.18  dnl            SOURCES="$SOURCES $srcdir/src/video/arm/pixman-arm-neon*.c"
    1.19              SOURCES="$SOURCES $srcdir/src/video/arm/pixman-arm-neon*.S"
    1.20              WARN_ABOUT_ARM_NEON_ASM_MIT="yes"
    1.21 @@ -1928,7 +1928,7 @@
    1.22  XITouchClassInfo *t;
    1.23                      ],[
    1.24                      have_xinput2_multitouch=yes
    1.25 -                    AC_DEFINE([SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH], 1, [])
    1.26 +                    AC_DEFINE([SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH], 1, [ ])
    1.27                      SUMMARY_video_x11="${SUMMARY_video_x11} xinput2_multitouch"
    1.28                      ])
    1.29                  AC_MSG_RESULT($have_xinput2_multitouch)
    1.30 @@ -3095,11 +3095,11 @@
    1.31  
    1.32      AC_CHECK_HEADER(mmdeviceapi.h, have_wasapi=yes)
    1.33      if test x$have_wasapi = xyes; then
    1.34 -        AC_DEFINE(HAVE_MMDEVICEAPI_H,1,[])
    1.35 +        AC_DEFINE(HAVE_MMDEVICEAPI_H, 1, [ ])
    1.36      fi
    1.37      AC_CHECK_HEADER(audioclient.h,,have_wasapi=no)
    1.38      if test x$have_wasapi = xyes; then
    1.39 -        AC_DEFINE(HAVE_AUDIOCLIENT_H,1,[])
    1.40 +        AC_DEFINE(HAVE_AUDIOCLIENT_H, 1, [ ])
    1.41      fi
    1.42  
    1.43      AC_ARG_ENABLE(wasapi,