diff --git a/configure.ac b/configure.ac index ca5be127..682d855a 100644 --- a/configure.ac +++ b/configure.ac @@ -1631,10 +1631,14 @@ int main(){ return 0; } ])], [HAVE_WIN32_WASAPI=yes], [HAVE_WIN32_WASAPI=no]) - LIBS=$OLD_LIBS + LIBS=$OLD_LIBS WIN32_WASAPI_LIBS="-lole32 -lavrt" - output_modules="$output_modules win32_wasapi" - AC_MSG_RESULT([$HAVE_WIN32_WASAPI]) + AC_MSG_RESULT([$HAVE_WIN32_WASAPI]) + if test "x$HAVE_WIN32_WASAPI" = xyes; then + output_modules="$output_modules win32_wasapi" + else + check_failed=yes + fi ;; sndio) SNDIO_LIBS=-lsndio @@ -1793,7 +1797,8 @@ if test "x$check_forced" = xyes -a "x$check_failed" = "xyes"; then fi # When you extend check_modules, you should extend this: -#for i in alsa oss coreaudio sndio sun win32 esd jack portaudio pulse sdl nas aix alib arts hp os2 sgi mint openal dummy; do echo $i; done | +#for i in alsa qsa oss coreaudio sndio sun win32 win32_wasapi esd jack portaudio pulse sdl nas aix alib arts hp os2 sgi mint openal dummy +#do echo $i; done | #perl -ne 'chomp; $big = uc($_); print <