made the wasapi configury option consistent with others.
authorOzkan Sezer <sezeroz@gmail.com>
Sun, 01 Jul 2018 19:50:00 +0300
changeset 12055bf70bfa02215
parent 12054 e604fe493d45
child 12056 523e803a0192
made the wasapi configury option consistent with others.
configure
configure.in
     1.1 --- a/configure	Sun Jul 01 17:01:04 2018 +0300
     1.2 +++ b/configure	Sun Jul 01 19:50:00 2018 +0300
     1.3 @@ -866,7 +866,7 @@
     1.4  enable_pthreads
     1.5  enable_pthread_sem
     1.6  enable_directx
     1.7 -enable_audio_wasapi
     1.8 +enable_wasapi
     1.9  enable_sdl_dlopen
    1.10  enable_clock_gettime
    1.11  enable_rpath
    1.12 @@ -1621,7 +1621,7 @@
    1.13                            [[default=yes]]
    1.14    --enable-pthread-sem    use pthread semaphores [[default=yes]]
    1.15    --enable-directx        use DirectX for Windows audio/video [[default=yes]]
    1.16 -  --enable-audio-wasapi   use the Windows WASAPI audio driver [[default=yes]]
    1.17 +  --enable-wasapi         use the Windows WASAPI audio driver [[default=yes]]
    1.18    --enable-sdl-dlopen     use dlopen for shared object loading [[default=yes]]
    1.19    --enable-clock_gettime  use clock_gettime() instead of gettimeofday() on
    1.20                            UNIX [[default=yes]]
    1.21 @@ -23233,11 +23233,11 @@
    1.22          SUMMARY_video="${SUMMARY_video} directx"
    1.23          SUMMARY_audio="${SUMMARY_audio} directx"
    1.24  
    1.25 -        # Check whether --enable-audio-wasapi was given.
    1.26 -if test "${enable_audio_wasapi+set}" = set; then :
    1.27 -  enableval=$enable_audio_wasapi;
    1.28 -else
    1.29 -  enable_audio_wasapi=yes
    1.30 +        # Check whether --enable-wasapi was given.
    1.31 +if test "${enable_wasapi+set}" = set; then :
    1.32 +  enableval=$enable_wasapi;
    1.33 +else
    1.34 +  enable_wasapi=yes
    1.35  fi
    1.36  
    1.37  
    1.38 @@ -24144,7 +24144,7 @@
    1.39  
    1.40                  SOURCES="$SOURCES $srcdir/src/audio/directsound/*.c"
    1.41              fi
    1.42 -            if test x$have_wasapi = xyes -a x$enable_audio_wasapi = xyes; then
    1.43 +            if test x$have_wasapi = xyes -a x$enable_wasapi = xyes; then
    1.44  
    1.45  $as_echo "#define SDL_AUDIO_DRIVER_WASAPI 1" >>confdefs.h
    1.46  
     2.1 --- a/configure.in	Sun Jul 01 17:01:04 2018 +0300
     2.2 +++ b/configure.in	Sun Jul 01 19:50:00 2018 +0300
     2.3 @@ -3079,9 +3079,9 @@
     2.4          SUMMARY_video="${SUMMARY_video} directx"
     2.5          SUMMARY_audio="${SUMMARY_audio} directx"
     2.6  
     2.7 -        AC_ARG_ENABLE(audio-wasapi,
     2.8 -AC_HELP_STRING([--enable-audio-wasapi], [use the Windows WASAPI audio driver [[default=yes]]]),
     2.9 -                                , enable_audio_wasapi=yes)
    2.10 +        AC_ARG_ENABLE(wasapi,
    2.11 +AC_HELP_STRING([--enable-wasapi], [use the Windows WASAPI audio driver [[default=yes]]]),
    2.12 +                                , enable_wasapi=yes)
    2.13  
    2.14          # FIXME: latest Cygwin finds dinput headers, but we die on other win32 headers.
    2.15          # FIXME:  ...so force it off for now.
    2.16 @@ -3551,7 +3551,7 @@
    2.17                  AC_DEFINE(SDL_AUDIO_DRIVER_DSOUND, 1, [ ])
    2.18                  SOURCES="$SOURCES $srcdir/src/audio/directsound/*.c"
    2.19              fi
    2.20 -            if test x$have_wasapi = xyes -a x$enable_audio_wasapi = xyes; then
    2.21 +            if test x$have_wasapi = xyes -a x$enable_wasapi = xyes; then
    2.22                  AC_DEFINE(SDL_AUDIO_DRIVER_WASAPI, 1, [ ])
    2.23                  SUMMARY_audio="${SUMMARY_audio} wasapi"
    2.24                  SOURCES="$SOURCES $srcdir/src/audio/wasapi/*.c"