configure: Cleaned up audio/video summaries when building for Windows.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 21 Apr 2019 21:34:14 -0400
changeset 12708f6193f829c8a
parent 12707 8703488687ca
child 12709 d268ce129edb
configure: Cleaned up audio/video summaries when building for Windows.
configure
configure.ac
     1.1 --- a/configure	Wed Apr 17 20:41:05 2019 -0300
     1.2 +++ b/configure	Sun Apr 21 21:34:14 2019 -0400
     1.3 @@ -23536,9 +23536,6 @@
     1.4  
     1.5          fi
     1.6  
     1.7 -        SUMMARY_video="${SUMMARY_video} directx"
     1.8 -        SUMMARY_audio="${SUMMARY_audio} directx"
     1.9 -
    1.10          # FIXME: latest Cygwin finds dinput headers, but we die on other win32 headers.
    1.11          # FIXME:  ...so force it off for now.
    1.12          case "$host" in
    1.13 @@ -24616,11 +24613,13 @@
    1.14  
    1.15  $as_echo "#define SDL_VIDEO_RENDER_D3D 1" >>confdefs.h
    1.16  
    1.17 +                SUMMARY_video="${SUMMARY_video} d3d9"
    1.18              fi
    1.19              if test x$enable_render_d3d = xyes -a x$have_d3d11 = xyes; then
    1.20  
    1.21  $as_echo "#define SDL_VIDEO_RENDER_D3D11 1" >>confdefs.h
    1.22  
    1.23 +                SUMMARY_video="${SUMMARY_video} d3d11"
    1.24              fi
    1.25          fi
    1.26          # Set up files for the audio library
    1.27 @@ -24628,11 +24627,13 @@
    1.28  
    1.29  $as_echo "#define SDL_AUDIO_DRIVER_WINMM 1" >>confdefs.h
    1.30  
    1.31 +            SUMMARY_audio="${SUMMARY_audio} winmm"
    1.32              SOURCES="$SOURCES $srcdir/src/audio/winmm/*.c"
    1.33              if test x$have_dsound = xyes; then
    1.34  
    1.35  $as_echo "#define SDL_AUDIO_DRIVER_DSOUND 1" >>confdefs.h
    1.36  
    1.37 +                SUMMARY_audio="${SUMMARY_audio} directsound"
    1.38                  SOURCES="$SOURCES $srcdir/src/audio/directsound/*.c"
    1.39              fi
    1.40              if test x$have_wasapi = xyes -a x$enable_wasapi = xyes; then
     2.1 --- a/configure.ac	Wed Apr 17 20:41:05 2019 -0300
     2.2 +++ b/configure.ac	Sun Apr 21 21:34:14 2019 -0400
     2.3 @@ -2973,9 +2973,6 @@
     2.4              AC_DEFINE(HAVE_XINPUT_STATE_EX, 1, [ ])
     2.5          fi
     2.6  
     2.7 -        SUMMARY_video="${SUMMARY_video} directx"
     2.8 -        SUMMARY_audio="${SUMMARY_audio} directx"
     2.9 -
    2.10          # FIXME: latest Cygwin finds dinput headers, but we die on other win32 headers.
    2.11          # FIXME:  ...so force it off for now.
    2.12          case "$host" in
    2.13 @@ -3514,17 +3511,21 @@
    2.14                                  , enable_render_d3d=yes)
    2.15              if test x$enable_render_d3d = xyes -a x$have_d3d = xyes; then
    2.16                  AC_DEFINE(SDL_VIDEO_RENDER_D3D, 1, [ ])
    2.17 +                SUMMARY_video="${SUMMARY_video} d3d9"
    2.18              fi
    2.19              if test x$enable_render_d3d = xyes -a x$have_d3d11 = xyes; then
    2.20                  AC_DEFINE(SDL_VIDEO_RENDER_D3D11, 1, [ ])
    2.21 +                SUMMARY_video="${SUMMARY_video} d3d11"
    2.22              fi
    2.23          fi
    2.24          # Set up files for the audio library
    2.25          if test x$enable_audio = xyes; then
    2.26              AC_DEFINE(SDL_AUDIO_DRIVER_WINMM, 1, [ ])
    2.27 +            SUMMARY_audio="${SUMMARY_audio} winmm"
    2.28              SOURCES="$SOURCES $srcdir/src/audio/winmm/*.c"
    2.29              if test x$have_dsound = xyes; then
    2.30                  AC_DEFINE(SDL_AUDIO_DRIVER_DSOUND, 1, [ ])
    2.31 +                SUMMARY_audio="${SUMMARY_audio} directsound"
    2.32                  SOURCES="$SOURCES $srcdir/src/audio/directsound/*.c"
    2.33              fi
    2.34              if test x$have_wasapi = xyes -a x$enable_wasapi = xyes; then